Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Diogo

Pages: [1]
1
Python and Java API / Re: Set Shape as Boundary Type "Outer"
« on: October 27, 2023, 01:38:12 PM »
The function you've described
Code: [Select]
chunk.importKML doesn't exist. Use
Code: [Select]
chunk.importShapes(path=file_path, boundary_type=Metashape.BoundaryType.OuterBoundary) instead.

2
Yes, if you compare to the GUI, Build Point Cloud refers to buildDepthMaps and buildPointCloud from the script. So any parameters you'll choose for depth maps generation will influence your point cloud generation.

3
Bug Reports / Re: Geoid heights and tiled model
« on: July 04, 2023, 02:45:03 PM »
On our projects we've been able to showcase them on the Viewer by still having the right coordinates.

In order to do so, we've exported them in the same crs including geoid. It is important that when you want to open it on the viewer, that the geoid tiff file can also be found in the Viewer geoids folder (on windows
Code: [Select]
C:\Program Files\Agisoft\Viewer\geoids). Any export to the ellipsoidal crs will perform a transformation and the height coordinates will be wrong.

4
Python and Java API / Re: Automatic way via python to add gcps ?
« on: March 29, 2023, 10:26:11 AM »
Hi Sokratis

If you've usen the targets provided by Metashape you can easily run
Code: [Select]
detectMarkers(). If your GSD is high enough then it should be able to detect your markers and you can then import your gcps by using
Code: [Select]
importReference(ignore_labels=True).

By using cross Targets or any other kind it is very difficult to find them and i've been rarely able to match them via metashape functions.

Best
Diogo

5
I have the same problem with another crs. Running it in the API from start to beginning, everything works fine. But once I open an aleady processed part the I get the Vertical Daum Missing error. Even when doing the Metashape.CoordinateSystem.addGeoid() command. If I open it via GUI, I can also process the whole project without a problem. Any other sugestions?

Edit
Found out what the problem was:

Metashape.CoordinateSystem.addGeoid() had to be done before opening an older project and after initiating Metashape.document()

6
Python and Java API / Re: Command python - Detect Power lines
« on: August 23, 2022, 12:39:13 PM »
Thats great! Thanks.

7
General / Re: Define Processing Area By Shapefile?
« on: August 22, 2022, 04:39:35 PM »
This feature would also be of interest for us. In version 1.8.4 changelog there is only a new areaFitted() feature for shapefiles where the area is calculated.

8
Python and Java API / Detect Powerlines missing in Python API
« on: August 19, 2022, 04:00:04 PM »
Hi all,

I've been looking for the detect Powerlines function in the Python API, but it appears to be not in the manual. Is the function not available in the API?

Pages: [1]