[Mapserver-users] CCGIS WMS-Demo-Map Germany
Spalting, Hermann Kreis Lippe
H.Spalting at lippe.de
Mon Nov 17 01:20:46 PST 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> </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> </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&WM=
TVER=3D1.0.0&REQUEST=3Dgetmap&LAYERS=3DPostleitzahlbereiche,Stae=
dte,Bundeslaender&FORMAT=3Dimage/png">http://wms.ccgis.de/umn/bin/ma=
pserv.exe?map=3Dgermany.map&WMTVER=3D1.0.0&REQUEST=3Dgetmap&=
LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORMAT=3Dimage/p=
ng</A> </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
face=3DArial size=3D2></FONT> </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> </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> </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> PROJECTION<BR> "init=3Depsg:31467"<BR> =20
END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of web=20
interface definition<BR>#<BR>WEB<BR> LOG =
test.log<BR> TEMPLATE=20
templ.html<BR> IMAGEPATH 'C:\Programme\Apache=20
Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\'<BR> IMAGEURL=20
'http://10.10.26.17/schutzgebiete/tmp/'<BR> EMPTY=20
'http://10.10.26.17/Schutzgebiete/nothing.html'<BR> METADATA<BR>&nb=
sp;=20
wms_title 'WMS'<BR> WMS_ONLINERESOURCE=20
'http://10.10.26.17/cgi-bin/mapserv.exe?'<BR> WMS_SRS=20
'EPSG:26915'<BR> END #WEB</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>END =20
#HEADER</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Properties=20
for the querymap<BR>#<BR>QUERYMAP<BR> SIZE 200 200<BR> =
STATUS ON=20
#OFF<BR> STYLE HILITE<BR> COLOR 255 0 =
0<BR>END</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
reference map<BR>#<BR>REFERENCE<BR> STATUS ON<BR> IMAGE=20
graphics/lip_ref.gif<BR> SIZE 120 120<BR># EXTENT =
3468458.495=20
5736672.103 3529699.575 5787314.022<BR> EXTENT 3468458.495=20
5736672.103 3529699.575 5787314.022<BR> COLOR -1 -1 -1<BR> =20
OUTLINECOLOR 0 0 0<BR>END #REFERENCE</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
legend<BR>#<BR>LEGEND<BR> STATUS ON<BR> KEYSIZE 16 =
8<BR> =20
TEMPLATE 'legende2.html'<BR> LABEL<BR> COLOR =
120 120=20
120<BR> END # ENDE LABEL<BR>END =
#LEGEND</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D392181309-17112003><FONT face=3DArial =
size=3D2>#<BR># Start of=20
scalebar<BR>#<BR>SCALEBAR<BR> STATUS ON<BR> STYLE =
0<BR> INTERVALS=20
4<BR> IMAGECOLOR 255 255 255<BR> LABEL<BR> COLOR 0 0 =
0<BR> =20
SIZE SMALL<BR> END #ENDE LABEL<BR> SIZE 300 =
3<BR> COLOR 155=20
155 155<BR> BACKGROUNDCOLOR 55 55 55<BR> OUTLINECOLOR 100 100 =
100<BR> UNITS KILOMETERS<BR>END =
#SCALEBAR</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV><SPAN=20
class=3D392181309-17112003><FONT face=3DArial size=3D2>
<DIV><BR> LAYER<BR> NAME=20
'WMS_Test'<BR> GROUP=20
'WMS_Test'<BR> =20
METADATA<BR> "wms_srs" =20
"EPSG:31467"<BR> =
END<BR> TYPE=20
RASTER<BR> STATUS =
ON<BR> =20
CONNECTIONTYPE WMS<BR> CONNECTION=20
<BR> "<A=20
href=3D"http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map&WM=
TVER=3D1.0.0&LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&=
;FORMAT=3Dimage/png">http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgerma=
ny.map&WMTVER=3D1.0.0&LAYERS=3DPostleitzahlbereiche,Staedte,Bund=
eslaender&FORMAT=3Dimage/png</A>"</DIV>
<DIV> </DIV>
<DIV> END</DIV>
<DIV>END # 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><<<A=20
href=3D"mailto:h.spalting at lippe.de">mailto:h.spalting at lippe.de</A>>&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> </DIV></BODY></HTML>
------_=_NextPart_001_01C3ACEC.1504C7C0--
More information about the MapServer-users
mailing list