[Mapserver-users] Adding a WMS Layer from terraservice.net

Matthew Perry mtperry78 at sbcglobal.net
Fri Jun 4 15:20:52 EDT 2004


Robert,
  I noticed two things that might be worth checking.
For your layer's metadata, try:

"wms_name" "DOQ"
"wms_layers" "drg"

Let me know if this works... good luck.

- matt


--- Robert Aldridge <bamarob55 at yahoo.com> wrote:
> I'm attempting to show a DOQ from terraservice.net
> via
> mapserver.  I've read through the howto's and
> archives
> of this list, but to no avail.  It appears to be
> working, but I just get a blank image.  Could
> someone
> post a simple mapfile that displays a DOQ from
> terraserver, or take a look at my mapfile to see if
> you can identify my problem?
> 
> Here's my (simple) mapfile:
> 
> #begin mapfile
> NAME "wms_test"
> SIZE 600 400
> STATUS ON
> EXTENT 430400 3750400 435200 3753600
> UNITS METERS
> IMAGETYPE PNG
> LAYER
>   NAME ortho
>   METADATA
>         "wms_title"             "USGS Digital
> Ortho-Quadrangles"
>         "wms_srs"               "EPSG:26916" #NAD83
> UTM Zone 16N
>         "wms_name"              "ortho"
>         "wms_server_version"    "1.1.1"
>         "wms_formatlist"       
> "image/png,image/jpeg,image/gif"
>         "wms_format"            "image/png"
>   END
>   OFFSITE 255 255 255
>   STATUS DEFAULT
>   TYPE RASTER
>   CONNECTIONTYPE WMS
>   CONNECTION "http://terraservice.net/ogcmap.ashx?"
>   DEBUG ON
> END
> END
> END
> #end mapfile
> 
> I'm viewing it by typing the following URL:
> 
>
http://myserver/cgi-bin/mapserv?map=/var/www/mapping/wms.map&mode=map
> 
> It returns a 600x400 PNG image, but it's blank (all
> white).
> 
> Thanks,
> 
> Robert
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
>
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list