Angus -

Take a look at http://bitbucket.org/dodobas/haosbuilder/wiki/Home

You may find it helpful with regard to mapnik/wx integration. I've used it,
and it simple while complete enough to be useful.

Nino

On Mon, Sep 27, 2010 at 10:02 AM, Angus Dickey <[email protected]> wrote:

> Noli,
>
> Thanks for the info. I saw that sqlite/spatialite was supported by Mapnik
> but I have to admit the "WARNING: highly uber experimental !" at the top of
> the page put me off a bit. I will definitely try if out though; is it more
> stable than the docs let on?
>
> You are right about the mapcanvas, having that would be really convenient.
> In wxPython it looks like I will have to build something that would allow me
> to display the map generated by Mapnik with basic /zoom/pan/measure/query
> tool functionality from scratch.
>
> Drawing the map is pretty easy I think. I can just draw the Mapnik produced
> bitmap right on a wx.Panel, the trick will be creating some basic tools and
> having them support geographic & projected coordinate systems.
>
> Thanks again for your help, I will check out the quantumnik and look for
> that sample using pyQT without the QGIS mapcanvas.
>
> Angus
>
>
>
> --- On Thu, 9/23/10, Noli Sicad <[email protected]> wrote:
>
> > From: Noli Sicad <[email protected]>
> > Subject: Re: [Mapnik-users] Mapnik for desktop applications
> > To: "Angus Dickey" <[email protected]>
> > Cc: [email protected]
> > Received: Thursday, September 23, 2010, 4:43 PM
> > 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
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to