Agisoft Metashape

Agisoft Metashape => Feature Requests => Topic started by: Ramadnio on April 02, 2017, 05:17:08 PM

Title: adding new export options for orthomosaic
Post by: Ramadnio on April 02, 2017, 05:17:08 PM
hi

i looking for adding new export options for orthomosaic like TMS tiles for ex..

thank u
Title: Re: adding new export options for orthomosaic
Post by: jinha on July 09, 2017, 08:56:37 AM
+1. I would like to export orthomosaic in TMS format so that I can easily couple it with leaflet for example.
Title: Re: adding new export options for orthomosaic
Post by: jinha on July 09, 2017, 09:44:32 AM
I did some quick research and found out that TMS export option should be very straight forward to implement. Current version export Google Map Tiles as <root_dir>/{z}/{x}/{y}.png format, and all we need to change is {y} value to make it compatible with TMS format using below formula.

{y} for TMS = (2^{z} - 1) - {y} (from Google Map Tile)

I tested this with my own Python program and confirmed that it works great.
I will be more than happy to share my code if that helps implementing TMS orthomosaic output capability.
Title: Re: adding new export options for orthomosaic
Post by: ashalota on July 11, 2018, 08:52:05 PM
If you still have that code, would be great to see it!