hholzgra / ocitysmap

Fork of ocitysmap repository at savannah.nongnu.org
Other
35 stars 12 forks source link

Render errors when crossing the 180th meridian #17

Open hholzgra opened 6 years ago

hholzgra commented 6 years ago

With a bounding box crossing the antimeridian only the part left of it is rendered correctly, the part beyond 180° is just filled with the background colour.

To render things correctly we'd probably have to split the rendering area in two parts vertically along the 180° line and render things up to 180°, and starting at -180°, separately.

hholzgra commented 6 years ago

test-base-cartoosm-png

hholzgra commented 1 year ago

See also eg:

https://github.com/mapnik/mapnik/issues/847