[mapserver-users] Re: WMS setup

Kent Morrison KMorrison at advantrack.com
Sat May 22 16:07:59 EDT 2010


 
Turned out it was the IMAGEPATH... I had the IMAGEURL as the IMAGEPATH.. Once I corrected those two settings it worked like a charm.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of mapserver-users-request at lists.osgeo.org
Sent: Saturday, May 22, 2010 11:00 AM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 28, Issue 47

Send mapserver-users mailing list submissions to
	mapserver-users at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
	mapserver-users-request at lists.osgeo.org

You can reach the person managing the list at
	mapserver-users-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of mapserver-users digest..."


Today's Topics:

   1. RE: mapserver-users Digest, Vol 28,	Issue 46 (Re: WMS setup
      help) (Kent Morrison)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 May 2010 13:40:37 -0500
From: Kent Morrison <KMorrison at advantrack.com>
Subject: [mapserver-users] RE: mapserver-users Digest, Vol 28,	Issue
	46 (Re: WMS setup help)
To: 'Jeff McKenna' <jmckenna at gatewaygeomatics.com>,
	"'mapserver-users at lists.osgeo.org'" <mapserver-users at lists.osgeo.org>
Message-ID:
	<4DCDDD4507E4E847920443D1B98C588D1E3D8CF78D at mail1.advantrack.local>
Content-Type: text/plain; charset="us-ascii"

 
Thanks for the response Jeff. That eleminated the error but I get blank tiles. When I look at the WMS using Gaia 3.4.2 I can see the image. Using mapserver I get blank tiles for the same area.

The mapserver log shows:
[Fri May 21 18:34:32 2010].534000 CGI Request 1 on process 2928 [Fri May 21 18:34:32 2010].534000 msTileSetExtent (-10566616.570158, 3404849.205975) (-10547125.127948, 3424340.648185) [Fri May 21 18:34:32 2010].534000 msDrawMap(): Drawing Label Cache, 0.000s [Fri May 21 18:34:32 2010].534000 msDrawMap() total time: 0.000s [Fri May 21 18:34:32 2010].550000 msSaveImage() total time: 0.016s [Fri May 21 18:34:32 2010].565000 mapserv request processing time (loadmap not incl.): 0.031s

So it doesn't look like there are any errors.


Does anyone have a map file they used to access USGS WMS theat I can look at?

Thanks,
Kent


Message: 2
Date: Fri, 21 May 2010 14:07:33 -0300
From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
Subject: Re: [mapserver-users] WMS setup help
To: "'mapserver-users at lists.osgeo.org'"
	<mapserver-users at lists.osgeo.org>
Message-ID: <4BF6BDD5.2060406 at gatewaygeomatics.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello Kent,

My guess is that you are missing the EXTENT parameter at the MAP object level.  In other words, copy the EXTENT line from your LAYER object, and place it after your FONTSET line.

I hope that helps.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/




Kent Morrison wrote:
> 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/cap
> abilities_1_1_1.xml?REQUEST=capabilities&SERVICE=WMS
> <http://imsortho.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Ortho_Texas/cap
> abilities_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>
>  
> 


------------------------------



End of mapserver-users Digest, Vol 28, Issue 46
***********************************************


------------------------------

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


End of mapserver-users Digest, Vol 28, Issue 47
***********************************************


More information about the mapserver-users mailing list