tilemill icon indicating copy to clipboard operation
tilemill copied to clipboard

Export SVG Error when trying to offset bounding box

Open glenpike opened this issue 12 years ago • 2 comments

If I try to export to SVG (400 x 399) and change the bounding area to the following coordinates:

-179,-85.0511,181,85.0511

I get the following error:

Error: Number is greater then the required maximum value (bbox)

It seems if I enter values >180 degrees (right-hand-side) or <-180 (left-hand-side) for the bounding box, I get a max / min error.

I would like to be able to offset my map view, which does not seem like an unreasonable thing.

Version 0.10.1 (v0.10.1)

glenpike avatar Feb 04 '14 16:02 glenpike

For a finer level of control over SVG I recommend exporting the Mapnik XML for your project and scripting SVG creation with Mapnik directly.

springmeyer avatar Feb 19 '14 20:02 springmeyer

Thanks, sorry haven't managed to look into the Mapnik XML method. Feel free to close if you think it's not relevant.

glenpike avatar Sep 19 '16 19:09 glenpike