Forum

Author Topic: adding new export options for orthomosaic  (Read 3212 times)

Ramadnio

  • Newbie
  • *
  • Posts: 17
    • View Profile
adding new export options for orthomosaic
« 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

jinha

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: adding new export options for orthomosaic
« Reply #1 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.
« Last Edit: July 09, 2017, 08:59:39 AM by jinha »

jinha

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: adding new export options for orthomosaic
« Reply #2 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.

ashalota

  • Jr. Member
  • **
  • Posts: 93
  • Forest orthomosaics, long transects (300m agl)
    • View Profile
    • NASA: G-LiHT (Public orthomosaics)
Re: adding new export options for orthomosaic
« Reply #3 on: July 11, 2018, 08:52:05 PM »
If you still have that code, would be great to see it!