agisoft-llc / metashape-scripts

Python scripts for Metashape (former PhotoScan)
MIT License
364 stars 203 forks source link

Get Footprint from DEM or OrthoMOsaic in Ortho Tab #48

Closed kaichand9 closed 2 years ago

kaichand9 commented 2 years ago

Hi, here is a script named as "footprints_to_shapes.py". It given footprint of camera opened in chunk. Is there a way that this script, can provides the precise footprint boundary of the raster in Ortho tab using DEM or OrthoMosaic generated i.e. See below image as example _Footprint to Raster Capture11111Metashape

PolarNick239 commented 2 years ago

Hi,

sadly, no, footprints_to_shapes.py can't provide the precise footprint boundary of the raster, because it just project 4 corners of each photo on the surface.

PeterBetlem commented 1 year ago

Would this be in the pipeline? A similar function must already be available through the Area() functions. It would be great if it were accessible as an API call, e.g. resulting in a multipolygon shape.

PolarNick239 commented 1 year ago

Hi, Peter.

Currently this feature is not in the development. You can post this feature-request on forum - https://www.agisoft.com/forum/index.php?board=11.0 - in such way it will be possible to discuss it with other users and it will be simpler for us to track feature ideas.

PeterBetlem commented 1 year ago

Now that DEM editing has become a thing with the 2.x.x releases, any chance this could be added? I tried the official forums, but traffic there is lower than here 😅