(Note: reposting this since I accidentally hit replay instead of replay to all:)
On Sat, Feb 6, 2010 at 23:13, Rahkonen Jukka <[email protected]> wrote:
> Hi,
>
> EPSG:900913 is having meters as a unit.  For example bounding box that hold 
> all the OSM motorways of Finland is
> bbox(1795035.9102178386,8402459.259925343,3696374.0218113307,9864708.395856721)
>
> It is possible that Mapnik works OK, but there may be nothing to render 
> inside the less than 100 x 100 metre boxes you gave.  You can check 
> coordinates around the area that interests you with a map at:
> http://spatialreference.org/ref/epsg/3785/
>
> EPSG:3785 is the official code for this projection, but the self-made 900913 
> is probably still more popular.
>
> -Jukka-

Thanks for getting me on the right track but still no luck.

So, again for reference, the following works:
?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=countries&STYLES=population&BBOX=0,-90,66.513194,0&WIDTH=256&HEIGHT=256&CRS=EPSG:4326&FORMAT=image%2fpng

But this doesn't:
?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=countries&STYLES=population&BBOX=0,0,6261721,6044022&WIDTH=256&HEIGHT=256&CRS=EPSG:900913&FORMAT=image%2fpng

This is at the end of my /usr/share/proj/epsg:
<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgri...@null +wktext  +no_defs  <>

And ogcserver.conf:
allowedepsgcodes=4326,3857,900913,3785

Mapnik reports no error in the output - it just returns an empty image.

Hrvoje
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to