Hi Angus,

I think you can use spatialite for datasouce.

http://trac.mapnik.org/wiki/SQLite

http://code.google.com/p/pyspatialite/

I think the challenge is how to create a mapcanvas in wxpython or pyqt
without use of qgis mapcanvas to render mapnik and various layer.

Have a look at quantumnik as well.
http://bitbucket.org/springmeyer/quantumnik/wiki/Home

There is already sample program using PyQt with mapnik without Qgis mapcanvas.

Have look at the archive. Right now, I can find the exact URL to download it.
http://www.mail-archive.com/search?l=mapnik-users%40lists.berlios.de&q=feverzsj+simple+map

Noli




On 9/24/10, Angus Dickey <[email protected]> wrote:
> Hi,
>
> I am new to Mapnik and was thinking about using Mapnik as the mapping
> solution for a desktop GIS application. My initial thoughts were to use:
>
> - Python
> - wxPython
> - Mapnik
>
> With other packages (OGR/GDAL, Shapely, pyproj, etc.) if needed.
>
> I have looked at the Mapnik samples and API and I know it can make a great
> looking map, what I am not sure about is the ability to add a
> temporary/dynamic layer. What I would like to be able to do is have Mapnik
> set up with static background mapping data and add markup (or temp layers)
> to Mapnik made up of geometry (points/lines/polys) calculated elsewhere. Is
> this possible in Mapnik? I see there are some provisions for a "Memory
> Datasource" but it looks like it only supports points?
>
> Anyone have any thoughts on how this might be done? I thought about having a
> text based OGR layer (GeoJSON?) added to Mapnik and changing this file on
> disk; doesn't really seem like a good idea though...
>
> Any info or thoughts are appreciated.
>
> Thanks,
>
> ~Angus
>
>
>
>
>
>
> _______________________________________________
> 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