Alberto,

An OGR plugin would be an excellent feature.

I wonder whether it would be equally useful in the short-term (and  
easier to implement), an extension of mapnik's memory_datasource to  
support line and polygon geometries (single and multi). Currently,  
based on lwu's patch 
(https://lists.berlios.de/pipermail/mapnik-devel/2008-September/000710.html 
), PointDatasource() can be used to dynamically feed in geometries and  
attributes. I've used GeoDjango to produce these, since GeoDjango  
already offers an excellent python interface to all ogr formats, but  
the native python bindings of gdal/ogr would likely work well too.

What do you think?  Have you rebuilt yet with Lwu's patch?

Dane


On Sep 22, 2008, at 9:16 AM, Alberto Giménez E. wrote:

> Hello list,
>
> Has anyone thought about a GDAL/OGR pluggin for mapnik? Should it be  
> feasible to write a pluggin like this?
> The GDAL/OGR library should provide a very useful abstraction  
> feature for reading formats like SQLite, MySQL, GeoJSON, GML, etc...
>
> I'm looking forward to get my hands on this ... and also write an  
> GDAL/OGR driver for OSM like format.
>
> -- 
> Alberto Giménez E.
> _______________________________________________
> Mapnik-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-devel

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

Reply via email to