[mapserver-users] Draw Postgis sql query

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Apr 15 07:43:14 EDT 2008


Hans Castorp wrote:
 
 >   I have some sql queries over a Postgis table (points). How can I
draw the results of these queries over the map?
 
Have a look at for example these documents first:
http://mapserver.gis.umn.edu/docs/reference/vector_data/postgis 
http://postgis.refractions.net/docs/ch04.html#id2624379
 
Depending on your case you can
- insert your query directly inside the DATA sentence
- create a PostGIS view with your query
- in you want to get something more dynamic, use run-time substitution
inside DATA
http://mapserver.gis.umn.edu/docs/howto/runsub gives some hints about
run-time substitution.
 
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080415/daa2ac2f/attachment.html


More information about the mapserver-users mailing list