Hi,

Frederik Ramm wrote:
> 1. ask mapnik to render map
> 2. find out what geographic area mapnik has really included (as opposed 
> to what was requested)
> 3. cut the extra stuff off of the resulting bitmap
> 4. scale remainig bitmap to fill requested area

Stupid me. That procedure is not an option, since knowing that mapnik 
has given me, say, a few more degrees of latitude than I asked for, is 
not enough to know how many pixels I have to cut off and where - that 
depends on the projection. So I really have to look at the code and find 
out exactly where and how mapnik increases the area returned, and modify 
it to do the right thing instead of doctoring the results.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to