gdal2tiles-leaflet
gdal2tiles-leaflet copied to clipboard
Correct Tile row and col number
After using gdal2tiles2.py to cut tiles, the row and column number of the generated image starts from 0 and 0 by default. Can I input the longitude and latitude to make the row and column number correct? At the same time, in this case, the upper left corner of the image is taken as the starting point of slice by default. However, the upper left corner of any image is not exactly located in the upper left corner of a bounding rectangle under the leaflet slicing rule. Is there any way to crack it?
In this coordinate system lat and lng are pixels. Tiles start at 0,0 from the upper left corner. I don't understand what is wrong with the numbering of the tiles? As well as I have not understood your problem you try to fix.