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

Robert Aldridge bamarob55 at yahoo.com
Mon Jun 7 10:29:10 PDT 2004


I'm still not having any luck with this.  The
browser's busy indicator spins for ~60 seconds and
then I get a solid white, 600x400 PNG returned.  Could
someone please post a complete mapfile (not just the
layer section) that successfully renders a map of a
DOQ from terraservice.

It would be much appreciated.

Thanks,

Robert

--- Dylan Keon <keon at nacse.org> wrote:
> On 6/4/2004 1:15 PM, Robert Aldridge wrote:
> 
> > Matthew,
> > 
> > Thanks for the reply.  I'm still getting the same
> > results (a 600x400, solid white PNG).  Here's my
> > updated mapfile:
> > 
> > [begin mapfile]
> > MAP
> >   NAME "wms_test"
> >   SIZE 600 400
> >   STATUS ON
> >   EXTENT 430400 3750400 435200 3753600
> >   UNITS METERS
> >   IMAGETYPE PNG
> >   #"init=epsg:26916"
> >   LAYER
> >     NAME DOQ
> >     METADATA
> >         "wms_title"             "USGS Digital
> > Ortho-Quadrangles"
> >         "wms_srs"               "EPSG:26916"
> #NAD83
> > UTM Zone 16N
> >         "wms_name"              "DOQ"
> >         "wms_layers"            "doq"
> >         "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 mapfile]
> 
> 
> This layer definition is currently working for me:
> 
> LAYER
>    NAME ortho
>    METADATA
>      "wms_title" "USGS Digital Ortho-Quadrangles"
>      "wms_srs"   "EPSG:26910" #NAD83 UTM zone 10N
>    END
>    GROUP "BASE DATA"
>    STATUS OFF
>    TYPE RASTER
>    MINSCALE 1500
>    MAXSCALE 80000
>    CONNECTIONTYPE WMS
>    CONNECTION 
>
"http://terraservice.net/ogcmap.ashx?VERSION=1.1.1&SERVICE=wms&LAYERS=DO
> Q&FORMAT=jpeg&styles="
>    PROJECTION
>      "init=epsg:26910" #NAD83 UTM zone 10N
>    END
> END



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the MapServer-users mailing list