publiclab / mapknitter-exporter

The GDAL/ImageMagick-based exporter system from MapKnitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect cropping

jywarren opened this issue · comments

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

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.