Thanks for the response, Dane.

I don't know much about proj4 strings, but I don't think they'll help in my
situation, because I want to run a separate computation for each point and
recalculate its position based on some additional data I have coming out of
a database. I'd really like to just be able to call my own Python function,
pass in lat/lon and return a new lat/lon. Can I do that with the srs
parameter?

Thanks,
Drew

On Mon, Mar 29, 2010 at 4:44 PM, Dane Springmeyer <[email protected]>wrote:

> just set the map srs to the custom proj4 string you'd like to reproject
> everything into, and Mapnik+Proj4 should be able to do the rest.
>
> dane
>
>
> On Mar 29, 2010, at 11:39 AM, Drew Dara-Abrams wrote:
>
>  I'm rendering maps from OSM data (coming from Postgres; I can't get the
>> OSM plug-in to work with XML files). I'd like to run a simple Python
>> function on the OSM data to transform the coordinates each time a map is
>> rendered. This isn't a conventional projection, so I don't know if I can use
>> Proj4. Can anyone recommend a way to call a function on the data that gets
>> returned from the Postgres query?
>>
>> Thank you,
>> Drew
>> _______________________________________________
>> 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