[postgis-users] Programmatically generate maps zoomed to extent of shapes?

John Poole jlpoole56 at gmail.com
Fri Sep 24 14:47:26 PDT 2010


Yup... I've just installed Mapnik about two hours ago on my Gentoo AMD
Phenom box after grappling with a lot of dependencies (which
regrettably Gentoo's emerge system did not automatically set up for
me) and found the Google code project for nik2img.  Now reading up on
Mapnik trying to get to the essence since I already have my database
set up and simply want to pull whatever out to.  Mapnik's servers are
impaired currently, they are running out of [disk?] space and I guess
the server guy is at the pub, went onto the irc.freenode.net #mapnik
chat to report.

Thank you Rob and Martin.  I'll report back my findings and perhaps a
quick howto with an existing database.

Thank you for the

On Fri, Sep 24, 2010 at 2:18 PM, Robert Coup
<robert.coup at koordinates.com> wrote:
>
>
> On Sat, Sep 25, 2010 at 3:50 AM, Martin Davis <mbdavis at refractions.net>
> wrote:
>>
>>  Try looking at Mapnik.  This is what OpenStreetMap uses to generate its
>> tiles.  I believe it exposes an API (or at least a cmd-line interface)
>
> Yep, it certainly does. There's a command line tool that renders an XML map
> declaration to a map (nik2img), and there's the main mapnik APIs
> (C++/Python)
>
> There's also some projects that start with OSM data and produce printed
> maps. eg. with street-name indexes, mostly using mapnik for the
> map-rendering part.
> http://wiki.openstreetmap.org/wiki/OSM_on_Paper
> specifically walkingpapers, maposmatic, and townguide.
> It probably wouldn't be too hard to hack on them to use your postgis data
> instead of OSM data.
> The mapnik mailing lists are pretty friendly & helpful too.
> HTH,
> Rob :)
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>



-- 
John L. Poole

P.O. Box 6566
Napa, CA 94581-6566
707-812-1323

jlpoole56 at gmail.com



More information about the postgis-users mailing list