sql script

24 views
Skip to first unread message

nse

unread,
Sep 2, 2011, 4:27:45 PM9/2/11
to Mapnik to GeoTools Style Conversion
The sql script generates many "create table" statements. It could be
usefull to add "drop table if exist" before in case of update of the
map.

David Winslow

unread,
Sep 2, 2011, 4:41:25 PM9/2/11
to nse, Mapnik to GeoTools Style Conversion
This is a good point!  I've created a ticket on the github issue tracker for the issue.  It should be a quick fix if you care to submit a patch, otherwise I will probably not get to it until after FOSS4G.

https://github.com/dwins/mapnik2geotools/issues/14

On the topic of PostGIS, I've been working on some improvements in preparation for FOSS4G (where I'll be presenting on Mapnik2GeoTools) and have a few enhancements in the pipeline.  While working on them I've been thinking hard about how it would be useful to include the PostGIS driver with Mapnik2GeoTools so it can connect directly to your database and create the tables it needs (and also allow you to use VIEWS instead, which are slower but can be created much more quickly.)

--
David Winslow
OpenGeo - http://opengeo.org/
Reply all
Reply to author
Forward
0 new messages