Hi,

Nice to know that Frederic had success. I gave up my mission to produce 
something out in Finnish projections in March, but now I suppose I will make 
another try.

Like Frederik I would also like to be able to request projected maps in a more 
simple way some day.  Two sets of parameters should be enough:
- map extents given in projected system and
- either the resolution of the resulting map (size of the map in pixels would 
be calcutaled automatically to suit this)
- or the size of the resulting map in pixels (pixel size in x and y directions 
would be calculated automatically to suit).

In addition I would like to get resulting maps georeferened in some way. World 
files would do fine, of GeoTIFF output option. Possibility to give extents in 
projected system partly makes this unnecessary if only Mapnik respects the 
given extents accurately.

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: [EMAIL PROTECTED] puolesta: Frederik Ramm
Lähetetty: la 17.5.2008 12:51
Vastaanottaja: Dave Stubbs
Kopio: [email protected]
Aihe: Re: [Mapnik-users] Mapnik reprojection - how?
 
Hi,

Dave Stubbs wrote:
> You have the postgis inputs with the srs set to latlong, but you also
> have the estimate_extent off, and extent hardcoded to the (spherical)
> mercator coordinates... 

I *knew* I was being stupid ;-)

Now it works, thanks a lot. (Also down again from 20 sec to 1 sec... the 
old extent was probably the whole world which made things a bit slow.)

I have one more question though. Specifying a geographic bbox *and* a 
projection *and* a width/height is more than required I believe. Chances 
are that if the result matches my projection and my geo bbox and the 
specified width, it will not have the specified height (or vice versa). 
Does mapnik deal with that in a well-defined way or should I make sure 
that the width/height I request always matches the projection and bbox?

Cheers
Frederik

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

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

Reply via email to