New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"print this map" service #94

Closed
jywarren opened this Issue Mar 1, 2012 · 4 comments

Comments

Projects
None yet
1 participant
@jywarren

This comment has been minimized.

Show comment
Hide comment
@jywarren

jywarren Mar 9, 2012

Owner

OK, we could try to prompt people to enter a title, and we could also by default display the longitude/latitude of the map. But otherwise, this seems to be working!

OH, wait - this is related to another issue. The JPEG is unprojected, meaning latitude and longitude are 1:1, which isn't really how the earth is shaped. This makes the maps look "smushed" especially far from the equator. We could set up GDAL to reproject jpgs in spherical mercator...

Owner

jywarren commented Mar 9, 2012

OK, we could try to prompt people to enter a title, and we could also by default display the longitude/latitude of the map. But otherwise, this seems to be working!

OH, wait - this is related to another issue. The JPEG is unprojected, meaning latitude and longitude are 1:1, which isn't really how the earth is shaped. This makes the maps look "smushed" especially far from the equator. We could set up GDAL to reproject jpgs in spherical mercator...

jywarren added a commit that referenced this issue Mar 9, 2012

@jywarren

This comment has been minimized.

Show comment
Hide comment
@jywarren

jywarren Mar 21, 2012

Owner

still not at 100%, need to make jpg (spherical mercator) output with a white background instead of black. Harder than it looks...

http://gis.stackexchange.com/questions/120/make-the-nodata-area-of-a-resampled-orthophoto-overview-white
http://www.jasonbirch.com/nodes/2009/08/11/290/fwtools-ftw-gdal/

Owner

jywarren commented Mar 21, 2012

still not at 100%, need to make jpg (spherical mercator) output with a white background instead of black. Harder than it looks...

http://gis.stackexchange.com/questions/120/make-the-nodata-area-of-a-resampled-orthophoto-overview-white
http://www.jasonbirch.com/nodes/2009/08/11/290/fwtools-ftw-gdal/

@jywarren

This comment has been minimized.

Show comment
Hide comment
@jywarren

jywarren May 10, 2012

Owner

See some variations on this here: http://publiclaboratory.org/wiki/gdal-commands

but still haven't figured out how to get a spherical mercator JPG with a white background using only a GDAL or ImageMagick command. Ug.

Owner

jywarren commented May 10, 2012

See some variations on this here: http://publiclaboratory.org/wiki/gdal-commands

but still haven't figured out how to get a spherical mercator JPG with a white background using only a GDAL or ImageMagick command. Ug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment