[Mapserver-users] CCGIS WMS-Demo-Map Germany

Spalting, Hermann Kreis Lippe H.Spalting at lippe.de
Mon Nov 17 04:20:46 EST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3ACEC.1504C7C0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
=20
next thing i found out, a GetMap in the Explorer works
=20
http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map
<http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map&WMTVER=3D1.0.=
0&REQUES
T=3Dgetmap&LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORMAT=3D=
image/png>
&WMTVER=3D1.0.0&REQUEST=3Dgetmap&LAYERS=3DPostleitzahlbereiche,Staedte,B=
undeslaend
er&FORMAT=3Dimage/png=20
=20
but from a mapfile it still doesn't work.
=20
Here's my mapfile:
=20
#
# Start of map file - created Wed Jun 25 11:19:18 2003
#
MAP
NAME test
STATUS ON
#SIZE 450 300
SIZE 650 433
EXTENT 3468458.495 5736672.103 3529699.575 5787314.022
UNITS meters
SYMBOLSET 'symbols/symbset'
FONTSET 'fonts/fonts.fnt'
IMAGECOLOR 255 255 255
  PROJECTION
  "init=3Depsg:31467"
  END
=20
#
# Start of web interface definition
#
WEB
 LOG test.log
 TEMPLATE templ.html
 IMAGEPATH 'C:\Programme\Apache =
Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\'
 IMAGEURL 'http://10.10.26.17/schutzgebiete/tmp/'
 EMPTY 'http://10.10.26.17/Schutzgebiete/nothing.html'
 METADATA
  wms_title 'WMS'
  WMS_ONLINERESOURCE 'http://10.10.26.17/cgi-bin/mapserv.exe?'
  WMS_SRS 'EPSG:26915'
 END  #WEB
=20
END  #HEADER
=20
#
# Properties for the querymap
#
QUERYMAP
  SIZE 200 200
  STATUS ON #OFF
  STYLE HILITE
  COLOR 255 0 0
END
=20
#
# Start of reference map
#
REFERENCE
  STATUS ON
  IMAGE graphics/lip_ref.gif
  SIZE 120 120
#  EXTENT 3468458.495 5736672.103 3529699.575 5787314.022
   EXTENT 3468458.495 5736672.103 3529699.575 5787314.022
  COLOR -1 -1 -1
  OUTLINECOLOR 0 0 0
END  #REFERENCE
=20
#
# Start of legend
#
LEGEND
  STATUS ON
  KEYSIZE 16 8
  TEMPLATE 'legende2.html'
  LABEL
    COLOR 120 120 120
  END # ENDE LABEL
END   #LEGEND
=20
#
# Start of scalebar
#
SCALEBAR
 STATUS ON
 STYLE 0
 INTERVALS 4
 IMAGECOLOR 255 255 255
 LABEL
  COLOR 0 0 0
  SIZE SMALL
 END  #ENDE LABEL
 SIZE 300 3
 COLOR 155 155 155
 BACKGROUNDCOLOR 55 55 55
 OUTLINECOLOR 100 100 100
 UNITS KILOMETERS
END   #SCALEBAR
=20
#
# Start of layer definitions
#
=20

 LAYER
     NAME 'WMS_Test'
     GROUP 'WMS_Test'
     METADATA
       "wms_srs"   "EPSG:31467"
     END
     TYPE RASTER
     STATUS ON
     CONNECTIONTYPE WMS
     CONNECTION=20
       " http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map
<http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map&WMTVER=3D1.0.=
0&LAYERS
=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORMAT=3Dimage/png>
&WMTVER=3D1.0.0&LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORM=
AT=3Dimage
/png"
=20
   END
END  # MAPFILE




Hermann Spalting=20
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email: << mailto:h.spalting at lippe.de <mailto:h.spalting at lippe.de> >>
Tel: 05231/62-625 (oder -7827)

=20

------_=_NextPart_001_01C3ACEC.1504C7C0
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.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D392181309-17112003>Hi=20
all,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D392181309-17112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D392181309-17112003>next =
thing i found=20
out, a GetMap in the Explorer works</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D392181309-17112003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D392181309-17112003><A=20
href=3D"http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map&amp;WM=
TVER=3D1.0.0&amp;REQUEST=3Dgetmap&amp;LAYERS=3DPostleitzahlbereiche,Stae=
dte,Bundeslaender&amp;FORMAT=3Dimage/png">http://wms.ccgis.de/umn/bin/ma=
pserv.exe?map=3Dgermany.map&amp;WMTVER=3D1.0.0&amp;REQUEST=3Dgetmap&amp;=
LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&amp;FORMAT=3Dimage/p=
ng</A>&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial size=3D2>but =
from a mapfile=20
it still doesn't work.</FONT></SPAN></DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>Here's my=20
mapfile:</FONT></SPAN></DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of map=20
file - created Wed Jun 25 11:19:18 2003<BR>#<BR>MAP<BR>NAME =
test<BR>STATUS=20
ON<BR>#SIZE 450 300<BR>SIZE 650 433<BR>EXTENT 3468458.495 5736672.103=20
3529699.575 5787314.022<BR>UNITS meters<BR>SYMBOLSET=20
'symbols/symbset'<BR>FONTSET 'fonts/fonts.fnt'<BR>IMAGECOLOR 255 255=20
255<BR>&nbsp; PROJECTION<BR>&nbsp; "init=3Depsg:31467"<BR>&nbsp;=20
END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of web=20
interface definition<BR>#<BR>WEB<BR>&nbsp;LOG =
test.log<BR>&nbsp;TEMPLATE=20
templ.html<BR>&nbsp;IMAGEPATH 'C:\Programme\Apache=20
Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\'<BR>&nbsp;IMAGEURL=20
'http://10.10.26.17/schutzgebiete/tmp/'<BR>&nbsp;EMPTY=20
'http://10.10.26.17/Schutzgebiete/nothing.html'<BR>&nbsp;METADATA<BR>&nb=
sp;=20
wms_title 'WMS'<BR>&nbsp; WMS_ONLINERESOURCE=20
'http://10.10.26.17/cgi-bin/mapserv.exe?'<BR>&nbsp; WMS_SRS=20
'EPSG:26915'<BR>&nbsp;END&nbsp; #WEB</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>END&nbsp;=20
#HEADER</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Properties=20
for the querymap<BR>#<BR>QUERYMAP<BR>&nbsp; SIZE 200 200<BR>&nbsp; =
STATUS ON=20
#OFF<BR>&nbsp; STYLE HILITE<BR>&nbsp; COLOR 255 0 =
0<BR>END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
reference map<BR>#<BR>REFERENCE<BR>&nbsp; STATUS ON<BR>&nbsp; IMAGE=20
graphics/lip_ref.gif<BR>&nbsp; SIZE 120 120<BR>#&nbsp; EXTENT =
3468458.495=20
5736672.103 3529699.575 5787314.022<BR>&nbsp;&nbsp; EXTENT 3468458.495=20
5736672.103 3529699.575 5787314.022<BR>&nbsp; COLOR -1 -1 -1<BR>&nbsp;=20
OUTLINECOLOR 0 0 0<BR>END&nbsp; #REFERENCE</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
legend<BR>#<BR>LEGEND<BR>&nbsp; STATUS ON<BR>&nbsp; KEYSIZE 16 =
8<BR>&nbsp;=20
TEMPLATE 'legende2.html'<BR>&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp; COLOR =
120 120=20
120<BR>&nbsp; END # ENDE LABEL<BR>END&nbsp;&nbsp; =
#LEGEND</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
scalebar<BR>#<BR>SCALEBAR<BR>&nbsp;STATUS ON<BR>&nbsp;STYLE =
0<BR>&nbsp;INTERVALS=20
4<BR>&nbsp;IMAGECOLOR 255 255 255<BR>&nbsp;LABEL<BR>&nbsp; COLOR 0 0 =
0<BR>&nbsp;=20
SIZE SMALL<BR>&nbsp;END&nbsp; #ENDE LABEL<BR>&nbsp;SIZE 300 =
3<BR>&nbsp;COLOR 155=20
155 155<BR>&nbsp;BACKGROUNDCOLOR 55 55 55<BR>&nbsp;OUTLINECOLOR 100 100 =

100<BR>&nbsp;UNITS KILOMETERS<BR>END&nbsp;&nbsp; =
#SCALEBAR</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
layer definitions<BR>#</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV><SPAN=20
class=3D392181309-17112003><FONT face=3DArial size=3D2>
<DIV><BR>&nbsp;LAYER<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME=20
'WMS_Test'<BR>&nbsp;&nbsp;&nbsp;&nbsp; GROUP=20
'WMS_Test'<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "wms_srs"&nbsp;&nbsp;=20
"EPSG:31467"<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
END<BR>&nbsp;&nbsp;&nbsp;&nbsp; TYPE=20
RASTER<BR>&nbsp;&nbsp;&nbsp;&nbsp; STATUS =
ON<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
CONNECTIONTYPE WMS<BR>&nbsp;&nbsp;&nbsp;&nbsp; CONNECTION=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "<A=20
href=3D"http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map&amp;WM=
TVER=3D1.0.0&amp;LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&amp=
;FORMAT=3Dimage/png">http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgerma=
ny.map&amp;WMTVER=3D1.0.0&amp;LAYERS=3DPostleitzahlbereiche,Staedte,Bund=
eslaender&amp;FORMAT=3Dimage/png</A>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; END</DIV>
<DIV>END&nbsp; # MAPFILE<BR></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
<P><I><FONT face=3DArial color=3D#000080 size=3D2>Hermann =
Spalting</FONT></I><FONT=20
face=3D"Times New Roman"> </FONT><BR><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>Kreis Lippe</FONT></I><FONT=20
face=3D"Times New Roman"><BR></FONT><I></I><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>FG 4.4</FONT></I><BR><I></I><I></I><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>Felix-Fechenbach-Stra=DFe 5</FONT></I><FONT=20
face=3D"Times New Roman"><BR></FONT><I></I><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>32756 Detmold</FONT></I><FONT=20
face=3D"Times New Roman"><BR></FONT><I></I><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>email:</FONT><U></U><U></U><U><FONT face=3D"Times New =
Roman"></FONT> <FONT=20
face=3DArial color=3D#0000ff size=3D2>&lt;&lt;<A=20
href=3D"mailto:h.spalting at lippe.de">mailto:h.spalting at lippe.de</A>&gt;&g=
t;</FONT></U></I><FONT=20
face=3D"Times New Roman"><BR></FONT><I></I><I><FONT face=3DArial =
color=3D#000080=20
size=3D2>Tel: 05231/62-625 (oder -7827)</FONT></I></P>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C3ACEC.1504C7C0--



More information about the mapserver-users mailing list