[mapserver-users] WMS setup help
Kent Morrison
KMorrison at advantrack.com
Fri May 21 09:37:26 PDT 2010
I'm trying to get a map file configured to produce tiles using a WMS source (http://imsortho.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Ortho_Texas/capabilities_1_1_1.xml?REQUEST=capabilities&SERVICE=WMS)
I get the following error:
[Fri May 21 16:33:36 2010].698000 CGI Request 1 on process 3172
[Fri May 21 16:33:36 2010].698000 mapserv(): Web application error. No way to generate map extent.
[Fri May 21 16:33:36 2010].698000 msCalculateScale(): General error message. Invalid image extent, minx=-1.000000, miny=-1.000000, maxx=-1.000000, maxy=-1.000000.
[Fri May 21 16:33:36 2010].698000 msTileSetExtent (-10613123.724549, 3475749.327014) (-10610687.294272, 3478185.757290)
[Fri May 21 16:33:36 2010].698000 msDrawMap(): Drawing Label Cache, 0.000s
[Fri May 21 16:33:36 2010].698000 msDrawMap() total time: 0.000s
[Fri May 21 16:33:36 2010].745000 msSaveImage() total time: 0.047s
My map file is:
MAP
IMAGETYPE AGG
SIZE 256 256
IMAGECOLOR 255 255 255
TRANSPARENT ON
FONTSET "../../fonts/fonts.list"
CONFIG PROJ_LIB "c:\ms4w\proj\nad\"
CONFIG MS_ERRORFILE "c:\ms4w\tmp\errors2.txt"
DEBUG 3
WEB
IMAGEPATH "/tmp/ms_tmp/"
END #Web
PROJECTION
"init=epsg:4326"
END
OUTPUTFORMAT
NAME 'AGG'
DRIVER AGG/PNG
IMAGEMODE RGB
END #Outputformat
LAYER
DEBUG ON
NAME "SatImage"
TYPE RASTER
STATUS ON
CONNECTION "http://imsortho.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Texas?"
CONNECTIONTYPE WMS
EXTENT -95.9342769159 28.7882994499 -94.9791444433 29.1916672087
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Houston-GalvestonTX_1.0ft_Color_Dec_2007_08"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"wms_latlonboundingbox" "-95.9342769159 28.7882994499 -94.9791444433 29.1916672087"
END #METADATA
END #Layer
END #Map
I have ms4w tools installed.
What am I missing?
Thanks
Kent W. Morrison
Software Development Manager
Advanced Tracking Technologies, Inc.
6001 Savoy, Suite 600, Houston Texas 77036
(W) 713-353-6065 (C) 832-434-8175
<mailto:kmorrison at advantrack.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100521/bac0cd65/attachment.htm>
More information about the MapServer-users
mailing list