Hot answers tagged mapserver
3
The answer to your question is subjective (a matter of opinion) so it might be voted down (-1). Since your new to this site, I will go ahead and answer -- mapserver, open layers and postgis sql would be a very good combination for an open source solution. Geoserver is also an option instead of mapserver -- it is java based. There are also other javascript ...
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 ...
1
In the end I decided to avoid the issue by making my OL layers multitiled (singleTile: false) with the appropriate maxExtent to prevent requests outside of the appropriate area. This way, since my layers are around Hawaii and never actually cross the date line, I won't have issues with OL making bad requests with respect to the IDL.
The only downside is ...
Only top voted, non community-wiki answers of a minimum length are eligible