WMS layer in 4.4.1

Howard Butler hobu at IASTATE.EDU
Thu Feb 17 15:45:50 EST 2005


Can you define a "wms_extent" member in the METADATA?  There is a bug in 
4.4 where if that member isn't defined, the raster machinery tries to 
"open" the layer to find the extent.

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1118

Howard

At 02:38 PM 2/17/2005, Brian Fischer wrote:
>This is a multi-part message in MIME format.
>
>------_=_NextPart_001_01C51530.B0F6D891
>Content-Type: text/plain;
>         charset="US-ASCII"
>Content-Transfer-Encoding: quoted-printable
>
>I was wondering if anyone else had this problem.  I was using MapServer
>CGI 4.2.1 binary I downloaded from the MapServer site and my WMS layer
>worked fine.
>
>=20
>
>I tried to upgrade to the MapServer 4.4.1 binary on
>http://hobu.stat.iastate.edu/mapserver/ and now my WMS layer doesn't
>show up.  It doesn't give me any errors either.  I did a mapserv.exe -v
>command on the binary and it says it has WMS Client Support.  It's
>creating an 110867242220280.img.tmp file in my temporary images folder,
>but it is 0 bytes.  Has something changed in 4.4.1?  Or is the binary
>possibly bad?  Everything else seems to work fine.
>
>=20
>
>Here is my layer definition:
>
>LAYER
>
>    NAME aerialphoto
>
>    METADATA
>
>      "wms_title" "USGS Digital Ortho-Quadrangles"
>
>      "wms_srs"   "EPSG:26914" #NAD83 UTM zone 14N
>
>      LYRNAME "DOQs (orthophotos)"
>
>      LINK
>"http://terraserver.microsoft.com/about.aspx?n=3DAboutTerraServiceOvervie=
>w"
>
>    END
>
>    STATUS ON
>
>    TYPE RASTER
>
>    MINSCALE 1500
>
>    MAXSCALE 80000
>
>    CONNECTIONTYPE WMS
>
>    CONNECTION
>"http://terraservice.net/ogcmap.ashx?VERSION=3D1.1.1&SERVICE=3Dwms&LAYERS=
>=3DDO
>Q&FORMAT=3Dpng&styles=3D"
>
>END
>
>=20
>
>Thanks for any help,
>
>Brian
>
>
>------_=_NextPart_001_01C51530.B0F6D891
>Content-Type: text/html;
>         charset="US-ASCII"
>Content-Transfer-Encoding: quoted-printable
>
>I was wondering if anyone else had this = problem.  I was using MapServer 
>CGI 4.2.1 binary I downloaded from the MapServer site = and my WMS layer 
>worked fine.
>
>
>
>I tried to upgrade to the MapServer 4.4.1 binary on = 
><3d.htm>http://hobu.stat.iastate= .edu/mapserver/ and now my WMS layer 
>doesn’t show up.  It doesn’t give = me any errors either.  I did a 
>mapserv.exe –v command on the binary = and it says it has WMS Client 
>Support.  It’s creating an = 110867242220280.img.tmp file in my temporary 
>images folder, but it is 0 bytes.  Has = something changed in 4.4.1?  Or 
>is the binary possibly bad?  Everything else = seems to work fine.
>
>
>
>Here is my layer = definition:
>
>LAYER
>
>    NAME aerialphoto
>
>    = METADATA
>
>      "wms_title" "USGS Digital = Ortho-Quadrangles"
>
>      "wms_srs"   "EPSG:26914" #NAD83 UTM zone = 14N
>
>      LYRNAME "DOQs (orthophotos)"
>
>      LINK = 
> "http://terraserver.microsoft.com/about.aspx?n=3DAboutTerraServiceOv= erview"
>
>    = END
>
>    STATUS = ON
>
>    TYPE = RASTER
>
>    = MINSCALE 1500
>
>    = MAXSCALE 80000
>
>    = CONNECTIONTYPE WMS
>
>    = CONNECTION 
> "http://terraservice.net/ogcmap.ashx?VERSION=3D1.1.1&SERVICE=3Dw= 
> ms&LAYERS=3DDOQ&FORMAT=3Dpng&styles=3D"
>
>END
>
>
>
>Thanks for any = help,
>
>Brian
>
>------_=_NextPart_001_01C51530.B0F6D891--



More information about the mapserver-users mailing list