New answers tagged osgeo
0
The vertices_tmp table should be created by the assign_vertex_id() function, e.g.:
SELECT assign_vertex_id('ways', 0.00001, 'wkb_geometry', 'uid');
This will populate the "ways" table with vertex id for source and target ends of the road links got from the vertices_tmp table.
Should the command be run as the "postgres" user who owns the public schema ...
1
You need to create a wrapper script to achieve this
#!/bin/sh
MAPSERV="/path/to/my/mapserv"
MAPFILE="/path/to/my/mapfile.map"
if [ "${REQUEST_METHOD}" = "GET" ]; then
if [ -z "${QUERY_STRING}" ]; then
QUERY_STRING="map=${MAPFILE}"
else
QUERY_STRING="map=${MAPFILE}&${QUERY_STRING}"
fi
exec ${MAPSERV}
else
echo "Sorry, I only understand ...
Top 50 recent answers are included