[Mapserver-users] WMS

Ed McNierney ed at topozone.com
Tue Mar 11 09:20:24 EST 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2E7D9.5B2448C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Stefan -
=20
We don't know what your data are, so we can't tell whether the metadata =
(the projection in particular) are correct - you need to check that.  =
You also need to be requesting map extents (the WMS BBox) in coordinates =
that match both the projection of your map and the extents of your data.
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Stefan Schwarzer [mailto:stefan.schwarzer at grid.unep.ch]
Sent: Tuesday, March 11, 2003 9:11 AM
To: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] WMS


Hi all,

thanks for the input. Right, after setting an environment variable the =
ugly warning disappeared.

But I have still the problem that the WMS layer is not showing up. Any =
hints into this direction? Are the Metadata in the Layer definition =
correct? Do I have to define anything else in the mapfile? [I am working =
with MapScript, v3.5]

Thanks,

Stefan




Stefan -
=20
Marc's response is correct; you will find information about this problem =
in the "FAQ / Common Problems" section of the WMS Server page at =
http://mapserver.gis.umn.edu/doc/wms-server-howto.html
=20
    - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20


-----Original Message-----


From: Stefan Schwarzer [ mailto:stefan.schwarzer at grid.unep.ch]


Sent: Tuesday, March 11, 2003 4:09 AM


To: mapserver-users at lists.gis.umn.edu


Subject: [Mapserver-users] WMS



Hi all,



after spending quite some time on this WMS query subject, I am getting a =
bit frustrated. I read (almost?) all info on this subject. But still I =
don't succeed.=20



In the moment my computer is nerving me with this message:



Warning: MapServer Error in msProcessProjection(): no system list, =
errno: 2 in e:\inetpub\wwwroot\geo_map\map.php on line 275=20




Ok, I know, this is related to the projection list. But: all my other =
services (local and WMS-server) are running quite well. So I don't =
understand why it's coming up with this message. Below the Layer =
definition I use. Any ideas?



Stefan




LAYER


        NAME "test"


        METADATA


                "wms_title" "test"


                "wms_srs" "epsg:4326"


                "wms_connectiontimeout" "1000"


        END


        TYPE RASTER


        STATUS ON


        CONNECTIONTYPE WMS


        CONNECTION " =
http://xxx.xx.xxx.xx/cgi-bin/mapserv_client?map=3De%3A%5Cinetpub%5Cwwwroo=
t%5Cip%5Cdemo.map =
<http://xxx.xx.xxx.xx/cgi-bin/mapserv_client?map=3De%3A%5Cinetpub%5Cwwwro=
ot%5Cip%5Cdemo.map&WMTVER=3D1.0.0&LAYERS=3Dpeople&FORMAT=3DPNG&TRANSPAREN=
T=3DTRUE> =
&WMTVER=3D1.0.0&LAYERS=3Dpeople&FORMAT=3DPNG&TRANSPARENT=3DTRUE"


END



        _______________________________________



        Stefan Schwarzer


        Consultant on GEO



        UNEP/DEWA/GRID-Geneva


        Chemin des Anemones 11


        CH - 1219 Chatelaine


        Switzerland



        Tel: (+41) 22.917.83.49


        Fax: (+41) 22.917.80.29



        Email: stefan.schwarzer at grid.unep.ch


        Internet: http://geodata.grid.unep.ch/


        _______________________________________=20





        _______________________________________

        Stefan Schwarzer
        Consultant on GEO

        UNEP/DEWA/GRID-Geneva
        Chemin des Anemones 11
        CH - 1219 Chatelaine
        Switzerland

        Tel: (+41) 22.917.83.49
        Fax: (+41) 22.917.80.29

        Email: stefan.schwarzer at grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        _______________________________________=20


------_=_NextPart_001_01C2E7D9.5B2448C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D812171914-11032003><FONT face=3DArial color=3D#0000ff =
size=3D2>Stefan=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D812171914-11032003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D812171914-11032003><FONT face=3DArial color=3D#0000ff =
size=3D2>We=20
don't know what your data are, so we can't tell whether the metadata =
(the=20
projection in particular) are correct - you need to check that.&nbsp; =
You also=20
need to be requesting map extents (the WMS BBox) in coordinates that =
match both=20
the projection of your map and the extents of your =
data.</FONT></SPAN></DIV>
<DIV><SPAN class=3D812171914-11032003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D812171914-11032003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D812171914-11032003>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Stefan Schwarzer=20
  [mailto:stefan.schwarzer at grid.unep.ch]<BR><B>Sent:</B> Tuesday, March =
11, 2003=20
  9:11 AM<BR><B>To:</B> =
mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> RE:=20
  [Mapserver-users] WMS<BR><BR></FONT></DIV><FONT size=3D3>Hi =
all,<BR><BR>thanks=20
  for the input. Right, after setting an environment variable the ugly =
warning=20
  disappeared.<BR><BR>But I have still the problem that the WMS layer is =
not=20
  showing up. Any hints into this direction? Are the Metadata in the =
Layer=20
  definition correct? Do I have to define anything else in the mapfile? =
[I am=20
  working with MapScript, =
v3.5]<BR><BR>Thanks,<BR><BR>Stefan<BR><BR><BR></FONT>
  <BLOCKQUOTE class=3Dcite cite=3D"" type=3D"cite"><FONT face=3Darial =
color=3D#0000ff=20
    size=3D2>Stefan -</FONT><FONT size=3D3><BR>&nbsp;<BR></FONT><FONT =
face=3Darial=20
    color=3D#0000ff size=3D2>Marc's response is correct; you will find =
information=20
    about this problem in the "FAQ / Common Problems" section of the WMS =
Server=20
    page at <A=20
    =
href=3D"http://mapserver.gis.umn.edu/doc/wms-server-howto.html">http://ma=
pserver.gis.umn.edu/doc/wms-server-howto.html</A></FONT><FONT=20
    size=3D3><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; </FONT><FONT face=3Darial=20
    color=3D#0000ff size=3D2>- Ed</FONT><FONT =
size=3D3><BR><BR></FONT><FONT size=3D2>Ed=20
    McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / Maps a =
la carte,=20
    Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, MA&nbsp; =

    01863<BR>ed at topozone.com<BR>(978) 251-4242 <BR></FONT>
    <DL>
      <DD><FONT face=3Dtahoma size=3D2>-----Original Message-----<BR>
      <DD>From:</B> Stefan Schwarzer [<A=20
      href=3D"mailto:stefan.schwarzer at grid.unep.ch"=20
      eudora=3D"autourl">mailto:stefan.schwarzer at grid.unep.ch</A>]<BR>
      <DD>Sent:</B> Tuesday, March 11, 2003 4:09 AM<BR>
      <DD>To:</B> mapserver-users at lists.gis.umn.edu<BR>
      <DD>Subject:</B> [Mapserver-users] WMS<BR><BR></FONT>
      <DD><FONT size=3D3>Hi all,<BR><BR>
      <DD>after spending quite some time on this WMS query subject, I am =
getting=20
      a bit frustrated. I read (almost?) all info on this subject. But =
still I=20
      don't succeed. <BR><BR>
      <DD>In the moment my computer is nerving me with this =
message:<BR><BR>
      <DD>Warning</B>: MapServer Error in msProcessProjection(): no =
system list,=20
      errno: 2 in e:\inetpub\wwwroot\geo_map\map.php</B> on line 275</B> =

      <BR><BR><BR>
      <DD>Ok, I know, this is related to the projection list. But: all =
my other=20
      services (local and WMS-server) are running quite well. So I don't =

      understand why it's coming up with this message. Below the Layer=20
      definition I use. Any ideas?<BR><BR>
      <DD>Stefan<BR><BR><BR>
      <DD>LAYER<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>NAME=20
      "test"<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>METADA=
TA<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB><X-TAB=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>"wms_title"=20
      "test"<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB><X-TAB=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>"wms_srs"=20
      "epsg:4326"<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB><X-TAB=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>"wms_connectiont=
imeout"=20
      "1000"<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>END<BR=
>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>TYPE=20
      RASTER<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>STATUS=
=20
      ON<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>CONNEC=
TIONTYPE=20
      WMS<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>CONNEC=
TION=20
      "<A=20
      =
href=3D"http://xxx.xx.xxx.xx/cgi-bin/mapserv_client?map=3De%3A%5Cinetpub%=
5Cwwwroot%5Cip%5Cdemo.map&amp;WMTVER=3D1.0.0&amp;LAYERS=3Dpeople&amp;FORM=
AT=3DPNG&amp;TRANSPARENT=3DTRUE"=20
      =
eudora=3D"autourl">http://xxx.xx.xxx.xx/cgi-bin/mapserv_client?map=3De%3A=
%5Cinetpub%5Cwwwroot%5Cip%5Cdemo.map&amp;WMTVER=3D1.0.0&amp;LAYERS=3Dpeop=
le&amp;FORMAT=3DPNG&amp;TRANSPARENT=3DTRUE</A>"<BR>
      <DD>END<BR><BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>______=
_________________________________<BR><BR></FONT>
      <DD><FONT=20
      =
size=3D2><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>S=
tefan=20
      Schwarzer<BR></B>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Consul=
tant=20
      on GEO<BR><BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>UNEP/D=
EWA/GRID-Geneva<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Chemin=
=20
      des Anemones 11<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>CH -=20
      1219 Chatelaine<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Switze=
rland<BR><BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Tel:=20
      (+41) 22.917.83.49<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Fax:=20
      (+41) 22.917.80.29<BR><BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Email:=
=20
      stefan.schwarzer at grid.unep.ch<BR>
      =
<DD><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>Intern=
et:=20
      <A href=3D"http://geodata.grid.unep.ch/"=20
      eudora=3D"autourl">http://geodata.grid.unep.ch/</A><BR></FONT>
      <DD><FONT=20
      =
size=3D3><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>_=
______________________________________=20
      <BR></FONT></DD></DL></BLOCKQUOTE><X-SIGSEP>
  <P></X-SIGSEP>
  <DL></DL><FONT=20
  =
size=3D3><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>_=
______________________________________<BR><BR></FONT><FONT=20
  =
size=3D2><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB><=
B>Stefan=20
  =
Schwarzer<BR></B><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<=
/X-TAB>Consultant=20
  on=20
  =
GEO<BR><BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB=
>UNEP/DEWA/GRID-Geneva<BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;</X-TAB>Chemin=20
  des Anemones=20
  =
11<BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>CH =
- 1219=20
  =
Chatelaine<BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-=
TAB>Switzerland<BR><BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;</X-TAB>Tel:=20
  (+41)=20
  =
22.917.83.49<BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</=
X-TAB>Fax:=20
  (+41)=20
  =
22.917.80.29<BR><BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;</X-TAB>Email:=20
  =
stefan.schwarzer at grid.unep.ch<BR><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;</X-TAB>Internet:=20
  <A href=3D"http://geodata.grid.unep.ch/"=20
  eudora=3D"autourl">http://geodata.grid.unep.ch/</A><BR></FONT><FONT=20
  =
size=3D3><X-TAB>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</X-TAB>_=
______________________________________</FONT>=20
</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2E7D9.5B2448C0--



More information about the mapserver-users mailing list