publiclab / mapknitter-exporter

The GDAL/ImageMagick-based exporter system from MapKnitter
GNU General Public License v3.0
5 stars 4 forks source link

Incorrect cropping #26

Open jywarren opened 5 years ago

jywarren commented 5 years ago

I noticed this simple export test showed incorrect cropping:

Compare:

image

Output:

image

We can try again and pull the logs -- it's possible the dimensions submitted (somewhere? from the MapKnitter rails app?) were wrong?

Original image:

w130-example

jywarren commented 5 years ago

Also potentially reversed order! We can check https://github.com/publiclab/Leaflet.DistortableImage/ to be sure it returns the images in the displayed order, OR we can just reverse the order to compensate. Not a big deal.