Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################################################
- # author: Jeff McKenna, jmckenna@gatewaygeomatics.com
- # purpose: to test MapServer's vector drawing capabilities for FOSS4G 2009
- # more info: http://wiki.osgeo.org/wiki/Benchmarking_2009
- # requires: associated processed TIGER/Line 2008 shapefiles for Texas
- # license:
- #
- # Copyright (c) 2009, Gateway Geomatics
- #
- # Permission is hereby granted, free of charge, to any person obtaining a copy of
- # this software and associated documentation files (the "Software"), to deal in the
- # Software without restriction, including without limitation the rights to use, copy,
- # modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
- # and to permit persons to whom the Software is furnished to do so, subject to the
- # following conditions:
- #
- # The above copyright notice and this permission notice shall be included in all copies
- # or substantial portions of the Software.
- #
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
- # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- # PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
- # FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- ############################################################################################
- # MapServer benchmark map file - Shapefile
- MAP
- NAME "shapefile_benchmarking"
- STATUS OFF
- EXTENT -104.268 25.864 -93.536 36.486
- UNITS DD
- SHAPEPATH "/opt/benchmarking_data/shapes"
- IMAGECOLOR 255 255 255
- FONTSET "/opt/benchmarking_data/fonts/fonts.txt"
- SYMBOLSET "/opt/benchmarking_data/icons/symbols.txt"
- IMAGETYPE PNG
- CONFIG "MS_ERRORFILE" "/tmp/ms_error.log"
- DEBUG 4
- OUTPUTFORMAT
- NAME aggpng24
- DRIVER AGG/PNG
- MIMETYPE "image/png"
- IMAGEMODE RGB
- EXTENSION "png"
- END
- #
- # Start of web interface definition
- #
- WEB
- # metadata for WMS service
- METADATA
- "ows_title" "MapServer vector benchmarking with TIGER/Line 2008 shapefiles, loaded into PostGIS"
- "ows_onlineresource" "http://mapserver.supertv.channel/cgi-bin/mapserv.fcgi?MAP=/opt/benchmarking/mapserver/postgis.map&"
- "ows_srs" "EPSG:4269 EPSG:4326"
- "ows_abstract" "This WMS is run with MapServer 5.6.5, accessing TIGER/Line 2008 shapefiles for the US state of Texas. This was setup for the Web server benchmarking."
- "ows_contactperson" "Sebastian Cruz"
- "ows_contactorganization" "SuperTVchannel"
- "ows_contactposition" "Sysadmin"
- "ows_contactelectronicmailaddress" "default50@gmail.com"
- "ows_attribution_title" "U.S. Census Bureau 2008 TIGER/Line® Shapefiles"
- "ows_attribution_onlineresource" "http://www.census.gov/geo/www/tiger/tgrshp2008/tgrshp2008.html"
- END
- IMAGEPATH "/var/www/ms_tmp"
- IMAGEURL "/ms_tmp/"
- END
- #
- # Projection of output image
- #
- PROJECTION
- "+proj=longlat +ellps=GRS80 +datum=NAD83" #EPSG: 4269
- END
- #
- # Start of layer definitions
- #
- #######################################
- # Areawater
- #######################################
- LAYER
- NAME "areawater-merged"
- # metadata for WMS service
- METADATA
- "ows_title" "Area Water (lakes)"
- "ows_srs" "EPSG:4269 EPSG:4326"
- "ows_abstract" "Area water (i.e. lakes) according to 2008 TIGER/Line® classifications."
- "ows_attribution_title" "U.S. Census Bureau 2008 TIGER/Line® Shapefiles"
- "ows_attribution_onlineresource" "http://www.census.gov/geo/www/tiger/tgrshp2008/tgrshp2008.html"
- END
- TYPE POLYGON
- STATUS OFF
- DATA "areawater_merge"
- #
- # Projection of data
- #
- PROJECTION
- "+proj=longlat +ellps=GRS80 +datum=NAD83" #EPSG: 4269
- END
- EXTENT -104.268 25.864 -93.536 36.486
- END # layer
- #######################################
- # Roads
- #######################################
- LAYER
- NAME "roads-merged"
- # metadata for WMS service
- METADATA
- "ows_title" "Road features"
- "ows_srs" "EPSG:4269 EPSG:4326"
- "ows_abstract" "Roads according to 2008 TIGER/Line® classifications."
- "ows_attribution_title" "U.S. Census Bureau 2008 TIGER/Line® Shapefiles"
- "ows_attribution_onlineresource" "http://www.census.gov/geo/www/tiger/tgrshp2008/tgrshp2008.html"
- END
- TYPE LINE
- STATUS OFF
- DATA "edges_merge"
- #
- # Projection of data
- #
- PROJECTION
- "+proj=longlat +ellps=GRS80 +datum=NAD83" #EPSG: 4269
- END
- EXTENT -104.268 25.864 -93.536 36.486
- END # Layer
- #######################################
- # Roads (labelled)
- #######################################
- LAYER
- NAME "roads-merged-labelled"
- # metadata for WMS service
- METADATA
- "ows_title" "Road features (labelled)"
- "ows_srs" "EPSG:4269 EPSG:4326"
- "ows_abstract" "Roads according to 2008 TIGER/Line® classifications."
- "ows_attribution_title" "U.S. Census Bureau 2008 TIGER/Line® Shapefiles"
- "ows_attribution_onlineresource" "http://www.census.gov/geo/www/tiger/tgrshp2008/tgrshp2008.html"
- END
- TYPE LINE
- STATUS OFF
- DATA "edges_merge"
- #
- # Projection of data
- #
- PROJECTION
- "+proj=longlat +ellps=GRS80 +datum=NAD83" #EPSG: 4269
- END
- EXTENT -104.268 25.864 -93.536 36.486
- END # Layer
- #######################################
- # Named Point Features
- #######################################
- LAYER
- NAME "gnis_names"
- # metadata for WMS service
- METADATA
- "ows_title" "Named Point Features"
- "ows_srs" "EPSG:4269 EPSG:4326"
- "ows_abstract" "Named point features, according to the USGS"
- "ows_attribution_title" "USGS Geographic Names"
- "ows_attribution_onlineresource" "http://geonames.usgs.gov/domestic/download_data.htm"
- END
- TYPE POINT
- STATUS OFF
- DATA "gnis_names09"
- #
- # Projection of data
- #
- PROJECTION
- "+proj=longlat +ellps=GRS80 +datum=NAD83" #EPSG: 4269
- END
- EXTENT -104.268 25.864 -93.536 36.486
- END # layer
- # End of map file
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement