commenthol / gdal2tiles-leaflet

Generate raster image tiles for use with leaflet.
https://commenthol.github.io/leaflet-rastercoords/
MIT License
478 stars 130 forks source link

Alignment changes when zooming #13

Closed d33tah closed 2 years ago

d33tah commented 5 years ago

I'm trying to render a map of a Hilbert curve - basically a flat 2D image. Here's one zoom level:

image

And here's the same image zoomed in:

image

Please let me know where could I upload the input file - it's pretty big (167M):

out.png: PNG image data, 65536 x 65536, 8-bit/color RGB, non-interlaced

And the command was:

/usr/bin/python gdal2tiles.py -l -p raster out.png outdir

Used latest git checkout on master.

d33tah commented 5 years ago

Interesting... this doesn't seem to happen when I didn't specify -l.