[Mapserver-DE] UMN
Dominik Lüpker
Luepker at systemtechnik.net
Mit Okt 4 11:09:35 CEST 2006
Hallo an alle,
habe nen kleines Prob, und zwar wird mir einfach incht meine
Hintergrundkarte im Mapviewer angezeigt? Kann mir einer nen tipp geben wie
ich das hinkriege?
Hier kommt der Code des Mapfiles…
MAP
NAME "TEST"
STATUS ON
# EXTENT 2563656.19 5653434.84 2578176.50 5663259.19
EXTENT 2563656.19 5653434.84 2578176.50 5663259.19
SIZE 400 300
SHAPEPATH "../shp/TEST/"
# SHAPEPATH "../data"
SYMBOLSET "../etc/symbols.sym"
FONTSET "../etc/fonts.txt"
IMAGECOLOR 255 255 255
UNITS METERS
WEB
# MINSCALE 2000000
# MAXSCALE 50000000
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END
REFERENCE
STATUS ON
IMAGE "images/stadtplanfarbe16.png"
SIZE 155 200
EXTENT 3397495.4395 5717133.1604 3411895.4395 5726956.6104
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END
QUERYMAP
STATUS ON
COLOR 255 0 0
STYLE HILITE
END
SCALEBAR
STATUS ON
COLOR 255 255 255
OUTLINECOLOR 100 100 100
BACKGROUNDCOLOR 0 0 0
IMAGECOLOR 255 255 255
UNITS KILOMETERS
INTERVALS 3
SIZE 300 5
LABEL
SIZE SMALL
COLOR 0 0 0
END
END
LAYER
NAME "Stadtplan"
STATUS ON
DATA "manfort.TIF"
TYPE RASTER
MINSCALE 1
MAXSCALE 200000
METADATA
"wms_title" "Uebersichtskarte"
END
END
LAYER
NAME "PLAN"
STATUS DEFAULT
DATA "3404_5724.tif"
TYPE RASTER
MINSCALE 1
MAXSCALE 200000
METADATA
"wms_title" "PLAN"
END
END
LAYER
NAME "tabschacht"
STATUS ON
DATA "TABSCHACHT.dbf"
TYPE POINT
CLASSITEM "SCHTYP"
LABELITEM "SAMNAME"
MINSCALE 1
MAXSCALE 5000
SYMBOLSCALE 3000
LABELMINSCALE 1
LABELMAXSCALE 3000
TOLERANCE 5
HEADER "templates/popplace_header.html"
FOOTER "templates/popplace_footer.html"
TEMPLATE "templates/popplace.html"
METADATA
"wms_title" "Schacht"
"wms_img" "images/leg_park.gif"
"Result_Fields" "E_ID NAME STRASSE ENTWAESSER ORTSTEIL"
END
CLASS
NAME "SCHTYP"
EXPRESSION "SCHTYP"
TEMPLATE "templates/parks.html"
LABEL
TYPE TRUETYPE
FONT "Arial"
SIZE 4
MINSIZE 1
MAXSIZE 5000
POSITION AUTO
COLOR 0 0 255
PARTIALS FALSE
END
STYLE
SYMBOL 7
COLOR 0 0 255
OUTLINECOLOR 0 0 0
SIZE 5
END
END
CLASS
NAME "NORMALSCHACHT"
EXPRESSION "NORMALSCHACHT"
TEMPLATE "templates/parks.html"
LABEL
TYPE TRUETYPE
FONT "fritqat"
SIZE 4
MINSIZE 1
MAXSIZE 5000
POSITION AUTO
COLOR 255 115 248
PARTIALS FALSE
END
STYLE
SYMBOL 7
COLOR 255 115 248
OUTLINECOLOR 0 0 0
SIZE 5
END
END
END
LAYER
NAME "tableitung"
STATUS ON
DATA "tableitung.dbf"
TYPE LINE
CLASSITEM "SK"
MAXSCALE 10000
TOLERANCE 5
HEADER "templates/popplace_header.html"
FOOTER "templates/popplace_footer.html"
TEMPLATE "templates/popplace.html"
METADATA
"wms_title" "Leitungen"
"wms_img" "images/leg_park.gif"
"Result_Fields" "E_ID NAME SK KANALART STRASSE ORTSTEIL"
END
CLASS
NAME "Regenwasser"
EXPRESSION "Regenwasser"
TEMPLATE "templates/parks.html"
LABEL
TYPE truetype
FONT "fritqat-italic"
SIZE 4
POSITION AUTO
COLOR 0 0 250
OUTLINECOLOR 0 0 250
PARTIALS FALSE
END
STYLE
SYMBOL 2
COLOR 0 0 255
SIZE 3
END
END
CLASS
NAME "Mischwasser"
EXPRESSION "Mischwasser"
TEMPLATE "templates/parks.html"
LABEL
TYPE truetype
FONT "fritqat-italic"
SIZE 4
POSITION AUTO
COLOR 255 115 248
OUTLINECOLOR 255 115 248
PARTIALS FALSE
END
STYLE
SYMBOL 2
COLOR 255 115 248
SIZE 3
END
END
CLASS
NAME "Schmutzwasser"
EXPRESSION "Schmutzwasser"
TEMPLATE "templates/parks.html"
LABEL
TYPE truetype
FONT "fritqat-italic"
SIZE 4
POSITION AUTO
COLOR 187 94 23
OUTLINECOLOR 179 143 0
PARTIALS FALSE
END
STYLE
SYMBOL 2
COLOR 187 94 23
SIZE 3
END
END
END
END
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.intevation.de/pipermail/mapserver-de/attachments/20061004/5d540364/attachment.html
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)