[Mapserver-users] msyyparse() - parse error

Möri Cédric Cedric.Moeri at bd.so.ch
Thu Mar 25 09:09:35 PST 2004


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_000_01C4128B.F2CCF910
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Steve, hi list

the code works fine and was very useful! Many thanks for the quick =
response!
That's what I love about mailing list and open source!

The error shows now like this:

msyyparse(): Expression parser error. Error is 'parse error' in =
expression
((("BS" =3D "GA") OR ("BS" =3D "GV") OR ("BS" =3D "GH") OR ("BS" =3D =
"GS")) AND ("F"
=3D "T") AND (0 > 100) AND (0 <=3D 250).

Quiet easy to see that there is one opening parenthesis too much. Sadly =
this
error belongs not to my project.

My error reads now like this:
msyyparse(): Expression parser error. Error is 'parse error' in =
expression
40 =3D foo.

This is quite useful to find the ofending layer, but I'm not =
understanding
what's wrong with it. I just see it doesn't match. My guess is, that =
the
parser dies because he got an alphanumeric and I think he's expecting a
numeric value. If this is correct I would suggest not to throw an error =
but
a simple "not matching". I use this syntax often to generate an item in =
a
legend, that I don't want to have in the map itsself.=20

I changed from the 'EXPRESSION ([COLOR] =3D 4)' to 'EXPRESSION "4"' =
with a
CLASSITEM "COLOR" and now the error doesn't pop up.

That about this parser error thing. Sadly engouh the project still =
doesn't
work.=20
The error doesn't show up but I no map at all. The error log file =
simply
shows time an ip, but no error message at all (apache log shows =
nothing). As
I mentioned in the older mails, this behaviour is rather at random.
Sometimes it works perfect and then just nothing happens.=20

I tried to convert my data from postgis to shapefiles but it didn't =
matter.

As far as we know is this error influenced by LABELCACHE ON/OFF,
POSTLABELCACHE ON/OFF, which layers are STATUS ON/OFF, order of the =
layers
in the mapfile etc.=20

Sometimes I find a set with lets say for layer off that works fine. If =
I
turn one of this layer on, it won't work. The next time I find another =
set
with just this layers on, workin without problems. Additionally most of =
this
layers are involved in other projects on the same box an they work just
fine.=20

I know, this error description is rahter confused and so I am. So any =
hint
will be helpful. I attach my mapfile to this mail, hoping some finds =
the
point, that I'm so obviously missing!

Thanks a lot to all!
best regards
C=E9dric


> -----Original Message-----
> From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
> Sent: Wednesday, March 24, 2004 7:41 PM
> To: Cedric.Moeri at bd.so.ch; mapserver-users at lists.gis.umn.edu
> Subject: RE: [Mapserver-users] msyyparse() - parse error
>=20
>=20
> I can check on the error message detail. The parser works on tokens
> and may not have access to the entire expression text.
>=20
> A quick peek tells me that we'd need to exit the msyyerror function =
at
> the bottom of maplexer.l, and then recompile.
>=20
> Try editing that function and changing:
>=20
> int msyyerror(char *s) {
>   msSetError(MS_PARSEERR, s, "msyyparse()");
>   return(0);
> }
>=20
> to
>=20
> int msyyerror(char *s) {
>   msSetError(MS_PARSEERR, "Error is '%s' in expression %s.",=20
> "msyyparse()", s, msyystring);
>   return(0);
> }
>=20
> I've not tested but this should work. Let me know if that=20
> helps debug. If so I'll make that change in CVS...
>=20
> Steve
>=20
> >>> M=F6ri C=E9dric <Cedric.Moeri at bd.so.ch> 3/24/2004 9:38:19 AM >>>
> Hi list!
>=20
> i'm still stuck on this problem. So my question for the moment is the
> following:
>=20
> Is it possible to have an error message with a little more=20
> information?
> For the moment it only tells me "msyyparse(): Expression=20
> parser error. parse
> error".=20
>=20
> It would be great to have a filename and a line/record number=20
> or at least a
> some twenty characters of the ofending data or expression. It=20
> would be much
> more easier to investigate the error.
>=20
> Is this already possible (through some debug-level or other=20
> switches I don't
> know about) or would it be a big challenge to add such a feature?
>=20
> best regards
> C=E9dric
>=20
> > -----Original Message-----
> > From: Steve Lime [mailto:steve.lime at dnr.state.mn.us]=20
> > Sent: Monday, March 22, 2004 5:38 PM
> > To: Cedric.Moeri at bd.so.ch; mapserver-users at lists.gis.umn.edu=20
> > Subject: Re: [Mapserver-users] msyyparse() - parse error
> >=20
> >=20
> > Hi there: Msyyparse() is the function that evaluates=20
> > MapServer expressions. There
> > are 3 possibilities:=20
> >=20
> > 1) There is an error in the expression you're using.
> > 2) There is something funky in your data, that breaks an =
expression.
> > 3) There is an error in the code itself.
> >=20
> > Although 1) and 3) are possible they seem unlikely. My guess=20
> > is that there is an
> > issue with certain data values and the expressions. One=20
> > example would be
> > data values containing embeded quotes. Let's say you had a=20
> place name
> > called O'Reilly and where using an expression like:
> >=20
> > ('[placename]' =3D 'foo') which would become in the case of =
O'Reilly,
> >=20
> > ('O'Reilly' =3D 'foo') and this would cause a parse error.=20
> >=20
> > Could also happen with numeric fields that didn't contain=20
> > numbers or are empty.
> > We'd really need to see your mapfile to make the call.
> >=20
> > Steve
> >=20
> > >>> M=F6ri C=E9dric <Cedric.Moeri at bd.so.ch> 3/22/2004 4:27:42 AM =
>>>
> > Hello list!
> >=20
> > we recently upgraded our systems from
> > MapServer3.6.6/postgreSQL7.2.4/postgis0.8.0 to
> > MapServer4.0.1/postgreSQL7.4.2/postgis0.8.1. The system is=20
> > running under
> > Linux RH7.2.
> >=20
> > Now i'm reciving sometimes this strange error "msyyparse():=20
> Expression
> > parser error. parse error".
> > (In the old version, everyting worked perfect!)
> >=20
> > I'm not able to reproduce this error regularly. Sometimes it=20
> > triggers when
> > i'm switching some layers on/off, sometimes it triggers when=20
> > i'm just paning
> > (same layer-set/same scale). Sometimes it triggers only one=20
> > time, othertimes
> > up to 60 times with still the same mapfile.=20
> >=20
> > I read from the archives that there might be some issue about=20
> > the querrying
> > in postgis but there is not much more.
> >=20
> > So I guess I'm stuck. Has anybody a hint for me in which=20
> > direction to go on
> > with my quest? May anybody explain what the msyyparse does,=20
> > and when it is
> > called?
> >=20
> > Any hint would be appreciated!
> > If needed I would be glad to provide further information.
> >=20
> > best regards
> > mit freundlichen Gr=FCssen
> >=20
> > C=E9dric M=F6ri
> >=20
> > ********************************************
> > Kanton Solothurn
> > Amt f=FCr Geoinformation
> > Abt. SO!GIS Koordinationsstelle=20
> > R=F6tihof
> > 4509 Solothurn
> > T:   ++41 (0)32 627 2475
> > Fax: ++41 (0)32 627 2214=20
> > http://www.sogis.so.ch=20
> > ********************************************
> >=20
> >=20
> >=20
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu=20
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=20
> >=20
>=20
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu=20
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>=20


------_=_NextPart_000_01C4128B.F2CCF910
Content-Type: application/octet-stream;
	name="strada.map"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="strada.map"

NAME STRADA=0A=
STATUS ON=0A=
#SIZE 666 594  # if the size entry is deleted, it can be set via the =
URL=0A=
SYMBOLSET =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/etc/symbols/symbols.neu"=0A=
EXTENT 590000 190000 650000 265000=0A=
UNITS METERS=0A=
SIZE 200 200=0A=
SHAPEPATH "/opt/wwwroot/sogis/daten/"=0A=
IMAGECOLOR 255 255 255=0A=
FONTSET =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/etc/fonts/fonts.list"=0A=
RESOLUTION 82=0A=
IMAGETYPE GIF=0A=
INTERLACE OFF=0A=
DATAPATTERN ".*"=0A=
TEMPLATEPATTERN ".*"=0A=
#=0A=
# Start of web interface definition=0A=
#=0A=
WEB=0A=
  HEADER =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/fr_map/header.html"=0A=
  TEMPLATE =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/fr_map/template.html"=0A=
  FOOTER =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/fr_map/footer.html"=0A=
  MINSCALE 100=0A=
  MAXSCALE 1550000=0A=
  IMAGEPATH "/opt/wwwroot/sogis/gifs/"=0A=
  IMAGEURL "/sogis/gifs/"=0A=
  LOG "/opt/wwwroot/sogis/MapServer/etc/log/MapServer.log"=0A=
#	EMPTY =
"/opt/wwwroot/sogis/develop/cmoe/MapServer/fr_map/empty.html"=0A=
#	ERROR =
"http://srsofaioi4531/sogis/develop/cmoe/MapServer/fr_map/error.html"=0A=
END=0A=
QUERYMAP=0A=
  SIZE 800 800=0A=
  STATUS ON=0A=
  STYLE selected=0A=
  COLOR 255 0 0=0A=
END=0A=
#=0A=
# Start of legend=0A=
#=0A=
LEGEND=0A=
  KEYSIZE 30 20=0A=
   LABEL=0A=
    TYPE TRUETYPE=0A=
    ANTIALIAS TRUE=0A=
    FONT arial=0A=
    COLOR 0 0 0   =0A=
    SIZE 11=0A=
  END=0A=
	TEMPLATE =
'/opt/wwwroot/sogis/develop/cmoe/MapServer/fr_map/legend_view_template.h=
tml'	=0A=
  STATUS ON=0A=
END=0A=
#=0A=
# Start of scalebar=0A=
#=0A=
SCALEBAR=0A=
  IMAGECOLOR 255 255 255=0A=
  LABEL=0A=
    COLOR 0 0 0=0A=
    SIZE SMALL=0A=
  END  #LABEL=0A=
  SIZE 200 5=0A=
  COLOR 0 0 0=0A=
  BACKGROUNDCOLOR 255 255 255=0A=
  OUTLINECOLOR 0 0 0=0A=
  UNITS meters=0A=
  INTERVALS 3=0A=
  STATUS ON=0A=
END   #SCALEBAR=0A=
=0A=
#PROJECTION=0A=
#  "init=3DEPSG:9814"=0A=
#END=0A=
 LAYER=0A=
  NAME polysearch=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION 'dbname=3Dfoo host=3Dbar user=3Dfoobar '=0A=
  DATA "dummy"=0A=
  TYPE POLYGON=0A=
  TEMPLATE ""	=0A=
  #DEBUG ON=0A=
  CLASS	=0A=
    NAME "objekt"=0A=
    OUTLINECOLOR 255 0 0=0A=
    SIZE 7=0A=
    SYMBOL 7=0A=
    LABEL=0A=
      TYPE TRUETYPE=0A=
      FONT arial=0A=
      POSITION CC=0A=
      SIZE 16=0A=
      COLOR 147 231 0    =0A=
      OUTLINECOLOR 0 0 0 =0A=
      FORCE true=0A=
      OFFSET 0 0=0A=
    END=0A=
  END=0A=
END=0A=
=0A=
## ADRESSE ####################################=0A=
LAYER=0A=
  NAME adressepoint ##=0A=
  STATUS OFF=0A=
  DATA ""=0A=
  TYPE POINT=0A=
  LABELITEM "LABEL"=0A=
  LABELCACHE ON=0A=
  POSTLABELCACHE TRUE=0A=
  CLASSITEM "PROG_ID"=0A=
  CLASS=0A=
    NAME "green"=0A=
    EXPRESSION "1"=0A=
    SYMBOL "Feature_green"=0A=
    COLOR 0 0 0=0A=
    SIZE 40=0A=
    LABEL=0A=
      COLOR 0 0 0    =0A=
      POSITION ur=0A=
      SIZE 14=0A=
      OFFSET 17 17=0A=
      TYPE truetype=0A=
      FONT arial=0A=
      ANTIALIAS TRUE=0A=
      OUTLINECOLOR 0 255 0=0A=
      BACKGROUNDCOLOR 255 255 204=0A=
    END	  =0A=
  END=0A=
  CLASS=0A=
    NAME "red"=0A=
    EXPRESSION "0"=0A=
    SYMBOL "Feature_red"=0A=
    COLOR 0 0 0=0A=
    SIZE 40=0A=
    LABEL=0A=
      COLOR 0 0 0    =0A=
      POSITION ur=0A=
      SIZE 14=0A=
      OFFSET 17 17=0A=
      TYPE truetype=0A=
      FONT arial=0A=
      ANTIALIAS TRUE=0A=
      OUTLINECOLOR 255 0 0=0A=
      BACKGROUNDCOLOR 255 255 204=0A=
    END	  =0A=
  END=0A=
  CLASS=0A=
    NAME "red_pnt"=0A=
    EXPRESSION "2"=0A=
    SYMBOL 7=0A=
    COLOR 255 0 0=0A=
    SIZE 15=0A=
  END		=0A=
  CLASS=0A=
    NAME "green_pnt"=0A=
    EXPRESSION "3"=0A=
    SYMBOL 7=0A=
    COLOR 0 255 0=0A=
    SIZE 15=0A=
  END		=0A=
END=0A=
=0A=
=0A=
 ## ORTHOFOTO #######################=0A=
  LAYER=0A=
    MINSCALE 500=0A=
    MAXSCALE 25000=0A=
    NAME Orthofoto #Orthofoto 2002=0A=
    STATUS ON=0A=
    TILEINDEX sogis/pixelkarten/ortho02_idx=0A=
    TILEITEM LOCATION=0A=
    TYPE RASTER=0A=
  END=0A=
=0A=
=0A=
=0A=
 ## HINTERGRUNDKARTE SITUATION ###################=0A=
LAYER=0A=
  NAME pk #Hintergrundkarte# #=0A=
  STATUS ON=0A=
  TYPE RASTER=0A=
  MAXSCALE 10000=0A=
  TILEINDEX sogis/pixelkarten/uep_idx=0A=
  TILEITEM LOCATION=0A=
  OFFSITE 255 255 255=0A=
END=0A=
LAYER=0A=
  NAME pk #Hintergrundkarte# #=0A=
  STATUS ON=0A=
  MINSCALE 10000=0A=
  MAXSCALE 35000=0A=
  TILEINDEX sogis/pixelkarten/pk25cm_idx.shp=0A=
  TILEITEM LOCATION=0A=
  TYPE RASTER=0A=
  CLASS=0A=
    NAME "Situation"=0A=
    EXPRESSION "6"=0A=
    COLOR 0 0 0=0A=
  END=0A=
  OFFSITE 255 255 255=0A=
END =0A=
LAYER=0A=
  NAME pk #Hintergrundkarte# #=0A=
  STATUS ON=0A=
  MINSCALE 35000=0A=
  MAXSCALE 40000=0A=
  TILEINDEX sogis/pixelkarten/pk50cm_idx.shp=0A=
  TILEITEM LOCATION=0A=
  TYPE RASTER=0A=
  CLASS=0A=
    NAME "Situation"=0A=
    EXPRESSION "7"=0A=
    COLOR 0 0 0=0A=
   END	=0A=
  OFFSITE 255 255 255=0A=
END =0A=
LAYER=0A=
  NAME pk #Hintergrundkarte# #=0A=
  STATUS ON=0A=
  MINSCALE 40000=0A=
  MAXSCALE 150000=0A=
  TILEINDEX sogis/pixelkarten/pk100cm_idx.shp=0A=
  TILEITEM LOCATION=0A=
  TYPE RASTER=0A=
  CLASS=0A=
    NAME "Situation"=0A=
    EXPRESSION "7"=0A=
   COLOR 0 0 0=0A=
  END	=0A=
  OFFSITE 255 255 255=0A=
END=0A=
=0A=
 ## GEMEINDEGRENZEN ############################## =0A=
LAYER=0A=
  NAME gemeinde #Gemeindegrenzen#Legende#=0A=
  MAXSCALE 600000=0A=
  MINSCALE 1=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS =0A=
  CONNECTION 'dbname=3Dfoo host=3Dbar user=3Dfoobar '=0A=
  DATA "wkb_geometry from geo_gemeinden"=0A=
  TYPE POLYGON=0A=
  SYMBOLSCALE 150000=0A=
  CLASS=0A=
    TEMPLATE "/opt/wwwroot/sogis/MapServer/etc/php_inc/dummy.html"=0A=
    NAME 'Gemeindegrenze'=0A=
    OUTLINECOLOR 255 0 0=0A=
    SYMBOL 7=0A=
    SIZE 2		=0A=
    MINSIZE 1=0A=
    MAXSIZE 2=0A=
  END=0A=
END =0A=
=0A=
LAYER=0A=
  NAME baukreis #Baukreise#=0A=
  # DESCRIPTION "Baukreise"=0A=
  MAXSCALE 6000000=0A=
  MINSCALE 25000=0A=
  STATUS ON=0A=
  DATA "avt/baukreise"=0A=
  TYPE POLYGON=0A=
  LABELMAXSCALE 6000000=0A=
  CLASS   =0A=
    OUTLINECOLOR 153 102 0=0A=
    LABEL=0A=
      TYPE TRUETYPE=0A=
      ANTIALIAS TRUE=0A=
      FONT arial =0A=
#      COLOR 153 102 0=0A=
      COLOR 255 255 255     =0A=
      OUTLINECOLOR 0 0 0 		 =0A=
	  SIZE 15=0A=
    END=0A=
   TEXT (Baukreis [KREIS_STR])=0A=
  END=0A=
END  =0A=
=0A=
###### ORTSPLAN ############# =0A=
## BODENBEDECKUNG ###########=0A=
LAYER=0A=
  NAME bdbed #Ortsplan#Legende=0A=
  STATUS ON=0A=
  MINSCALE 1=0A=
  MAXSCALE 15000=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from (select oid,* from kva_av_bdbed where =
archive=3D0) as foo using SRID=3D-1"=0A=
  TOLERANCE 0=0A=
  TYPE POLYGON=0A=
  #FILTER "archive=3D0"=0A=
  CLASSITEM "ART"=0A=
  CLASS=0A=
    EXPRESSION "bla"=0A=
    NAME "<table><tr><td =
colspan=3D2>=A0</td></tr><td>=A0</td><td><b>Bodenbedeckung</b></td></tr>=
</table>"=0A=
  END=0A=
#Geb=E4ude=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 0) OR ([ART] =3D 50))=0A=
    NAME "Geb=E4ude"=0A=
    COLOR 245 198 198=0A=
    OUTLINECOLOR 70 0 0=0A=
  END=0A=
#Befestigt=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 1) OR ([ART] =3D 2) OR ([ART] =3D 11) OR =
([ART] =3D 9) OR ([ART] =3D 13))=0A=
    NAME "Strassen, Wege, Geb=E4udeerschliessung"=0A=
    COLOR 255 255 228=0A=
    OUTLINECOLOR 25 25 12=0A=
  END   =0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000  =0A=
    EXPRESSION ([ART] =3D 3)=0A=
    NAME "Trottoir"=0A=
    COLOR 255 232 229=0A=
    OUTLINECOLOR 30 8 8=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 4)=0A=
    NAME "Verkehrsinsel"=0A=
    COLOR 255 241 187=0A=
    OUTLINECOLOR 50 20 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 5)=0A=
    NAME "Bahnareal"=0A=
    COLOR 234 251 209=0A=
    OUTLINECOLOR 0 70 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 6 )=0A=
    NAME "Flugplatz"=0A=
    SYMBOL 'triangle' =0A=
    SIZE 3=0A=
    COLOR 100 100 100=0A=
    BACKGROUNDCOLOR 250 250 250=0A=
    OUTLINECOLOR 30 30 30=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 12 )=0A=
    NAME "Parkplatz"=0A=
    COLOR 232 232 232=0A=
    OUTLINECOLOR 30 30 40=0A=
  END=0A=
#Humusiert=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 14) OR ([ART] =3D 15) OR ([ART] =3D 19) OR =
([ART] =3D 24))=0A=
    NAME "Acker, Wiese, Weide, Garten, =FCbrige"=0A=
    COLOR 252 244 218=0A=
    OUTLINECOLOR 0 70 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 16 )=0A=
    NAME "Reben"=0A=
    SYMBOL 'reben'=0A=
    SIZE 1=0A=
    COLOR 10 70 0=0A=
    BACKGROUNDCOLOR 225 255 175=0A=
    OUTLINECOLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 17 )=0A=
    NAME "Obstkultur"=0A=
    SYMBOL 'obst'=0A=
    SIZE 1 =0A=
    COLOR 0 50 0=0A=
    BACKGROUNDCOLOR 225 255 175=0A=
    OUTLINECOLOR 0 50 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 18 )=0A=
    NAME "=FCbrige Intensivkultur"=0A=
    SYMBOL 'circle' =0A=
    COLOR 0 50 0=0A=
    BACKGROUNDCOLOR 225 255 175=0A=
    OUTLINECOLOR 0 50 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 23 )=0A=
    NAME "Hoch-, Flachmoor"=0A=
    SYMBOL 'moor'=0A=
    SIZE 9=0A=
    COLOR 10 70 0=0A=
    OUTLINECOLOR 0 70 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 7) OR ([ART] =3D 25) OR ([ART] =3D 26))=0A=
    NAME "Gew=E4sser"=0A=
    COLOR 209 252 255=0A=
    OUTLINECOLOR 0 0 160=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 27)=0A=
    NAME "Schilfg=FCrtel"=0A=
    SYMBOL 'schilf'=0A=
    SIZE 8=0A=
    COLOR 12 12 12=0A=
    BACKGROUNDCOLOR 195 230 255=0A=
    OUTLINECOLOR 0 0 85=0A=
  END=0A=
#Wald=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 28) OR ([ART] =3D 30) OR ([ART] =3D 31))=0A=
    NAME "Wald, Hecken, =FCbrige Bestockte"=0A=
    SYMBOL 'baumsymbol'=0A=
    COLOR 90 230 50=0A=
    OUTLINECOLOR 51 102 51   =0A=
    BACKGROUNDCOLOR 255 255 0=0A=
  END=0A=
#Fels, Abbau, Deponie=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 32)=0A=
    NAME "Fels"=0A=
    SYMBOL 'fels'=0A=
    SIZE 9=0A=
    COLOR 60 60 60=0A=
    BACKGROUNDCOLOR 240 240 240=0A=
    OUTLINECOLOR 50 50 50   =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 34)=0A=
    NAME "Steinbruch"=0A=
    SYMBOL 1=0A=
    SIZE 4=0A=
    COLOR 138 128 118=0A=
    BACKGROUNDCOLOR 247 243 229=0A=
    OUTLINECOLOR 78 43 33=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 33) OR ([ART] =3D 35) OR ([ART] =3D 36) OR =
([ART] =3D 37))=0A=
    NAME "Ger=F6ll, Sand, Kiesgrube, Deponie, =FCbriger Abbau"=0A=
    SYMBOL 7=0A=
    COLOR 153 113 102=0A=
    BACKGROUNDCOLOR 248 240 232=0A=
    OUTLINECOLOR 53 13 2  =0A=
  END=0A=
#Anlagen=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 21)=0A=
    NAME "Sportanlage gr=FCn"=0A=
    COLOR  182 224 195=0A=
    OUTLINECOLOR 0 70 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 8)=0A=
    NAME "Sportanlage rot"=0A=
    COLOR 212 165 165=0A=
    OUTLINECOLOR 70 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION ([ART] =3D 22)=0A=
    NAME "Friedhof"=0A=
    SYMBOL 'friedhofskreuz'=0A=
    SIZE 16=0A=
    COLOR 50 50 50=0A=
    BACKGROUNDCOLOR 223 223 223=0A=
    OUTLINECOLOR 50 50 50=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 15000=0A=
    EXPRESSION (([ART] =3D 20) OR ([ART] =3D 29))=0A=
    NAME "Parkanlage, ~ bestockt"=0A=
    COLOR 205 247 187=0A=
    OUTLINECOLOR 0 70 0=0A=
  END =0A=
END=0A=
=0A=
=0A=
## FL=C4CHEN ###############################=0A=
LAYER=0A=
  NAME bdbed #Ortsplan#Legende=0A=
  MINSCALE 1=0A=
  MAXSCALE 15000=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from (select oid,* from kva_av_eopoly where =
archive=3D0) as foo using SRID=3D-1"=0A=
  TYPE POLYGON=0A=
  #FILTER "archive=3D0"=0A=
  CLASSITEM "Art" =0A=
=0A=
  CLASS=0A=
    EXPRESSION "bla"=0A=
    NAME "<table><tr><td =
colspan=3D2>=A0</td></tr><td>=A0</td><td><b>Einzelobjekte =
Fl=E4chen</b></td></tr></table>"=0A=
  END=0A=
=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "7"=0A=
    NAME "Brunnen"=0A=
    COLOR 196 196 196=0A=
    OUTLINECOLOR 50 50 50=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "9"=0A=
    NAME "Pfeiler"=0A=
    SYMBOL 'circle'=0A=
    COLOR 50 50 50=0A=
    BACKGROUNDCOLOR 251 251 251=0A=
    OUTLINECOLOR 50 50 50=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION (([Art] =3D 13) OR ([Art] =3D 14))=0A=
    NAME "Denkmal, Mast_Antenne"=0A=
    SYMBOL 'Mast - Antenne'=0A=
    SIZE 8=0A=
    COLOR 0 0 0=0A=
    BACKGROUNDCOLOR 245 245 245=0A=
    OUTLINECOLOR 50 50 50=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "17"=0A=
    NAME "Schwelle"=0A=
    SYMBOL 'li unten re unten'=0A=
    SIZE 2=0A=
    COLOR 0 0 0=0A=
    BACKGROUNDCOLOR 245 245 245=0A=
    OUTLINECOLOR 50 50 50=0A=
  END=0A=
   CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
     EXPRESSION (([ART] =3D 28) OR ([ART] =3D 30) OR ([ART] =3D 31))=0A=
     NAME "bestockte Fl=E4che"=0A=
#     SYMBOL 10=0A=
     COLOR 205 247 187=0A=
     OUTLINECOLOR 50 190 15=0A=
   END=0A=
   CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
     EXPRESSION (([ART] =3D 2) OR ([ART] =3D 11))=0A=
     NAME "schmaler Weg"=0A=
#   SYMBOL 10=0A=
     COLOR 255 255 228=0A=
     OUTLINECOLOR 220 220 90=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 1000=0A=
    EXPRESSION ([Art] =3D 8)=0A=
    NAME "Reservoir" =0A=
    SYMBOL 'li unten re unten'=0A=
    SIZE 4=0A=
    COLOR 0 0 255=0A=
    OUTLINECOLOR 0 0 255=0A=
  END=0A=
 CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 1000=0A=
    EXPRESSION ([Art] =3D 3)  =0A=
    NAME "Eingedoltes Gew=E4sser" =0A=
    COLOR 209 252 255=0A=
    OUTLINECOLOR 102 204 255=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION (([Art] =3D 0) OR ([Art] =3D 11) OR ([Art] =3D 12) OR  =
([Art] =3D 15) OR ([Art] =3D 19))=0A=
    NAME "Geb=E4ude"=0A=
    COLOR 245 198 198=0A=
    OUTLINECOLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION (([Art] =3D 2) OR ([Art] =3D 10))  =0A=
    NAME "Geb=E4udeteil, Unterstand" =0A=
    SYMBOL 'li unten re unten'=0A=
    SIZE 2=0A=
    COLOR 0 0 0=0A=
    OUTLINECOLOR 0 0 0=0A=
  END=0A=
=0A=
END=0A=
=0A=
LAYER=0A=
  NAME bdbed #Ortsplan#Legende=0A=
  STATUS ON=0A=
  MINSCALE 1=0A=
  MAXSCALE 15000=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from (select oid,* from kva_av_eopoly where =
archive=3D0) as foo using SRID=3D-1"=0A=
  TYPE LINE=0A=
  #FILTER "archive=3D0"=0A=
  CLASSITEM "Art" =0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "6" =0A=
    NAME "Br=FCcke" =0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "5" =0A=
    NAME "Tunnel" =0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 1000=0A=
    EXPRESSION "1" =0A=
    NAME "unterirdisches Geb=E4ude" =0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 0 0 0=0A=
  END =0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 1000=0A=
    EXPRESSION "4" =0A=
    NAME "Treppe" =0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    COLOR 140 140 140=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1000=0A=
    MAXSCALE 5000=0A=
    EXPRESSION ([Art] =3D 1) =0A=
    NAME "unterirdisches Geb=E4ude" =0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1000=0A=
    MAXSCALE 5000=0A=
    EXPRESSION ([Art] =3D 8) =0A=
#    NAME "Reservoir" =0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 0 0 255=0A=
  END=0A=
 CLASS=0A=
    MINSCALE 1000=0A=
    MAXSCALE 5000=0A=
    EXPRESSION ([Art] =3D 3)  =0A=
#    NAME "Eingedoltes Gew=E4sser" =0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 102 204 255=0A=
    OUTLINECOLOR 102 204 255=0A=
  END=0A=
=0A=
END=0A=
=0A=
 =0A=
=0A=
## LINIEN ########################### =0A=
LAYER=0A=
  NAME bdbed #Ortsplan#Legende=0A=
  MINSCALE 1=0A=
  MAXSCALE 15000=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from (select oid,* from kva_av_eoline where =
archive=3D0) as foo using SRID=3D-1"=0A=
  TYPE LINE=0A=
  #FILTER "archive=3D0"=0A=
  CLASSITEM "ART"=0A=
  CLASS=0A=
    EXPRESSION "bla"=0A=
    NAME "<table><tr><td =
colspan=3D2>=A0</td></tr><td>=A0</td><td><b>Einzelobjekte =
Linien</b></td></tr></table>"=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "28"=0A=
    NAME "Luftseilbahn"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 70 175 225=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "29"=0A=
    NAME "Gondel-, Sesselbahn"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 155 108 205 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "30"=0A=
    NAME "Materialseilbahn"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 200 82 82 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "31"=0A=
    NAME "Skilift"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 165 42 42=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "32"=0A=
    NAME "F=E4hre"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 20 40 200=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "34"=0A=
    NAME "Achse"=0A=
    SYMBOL 'Eisenbahn/ Seilbahn/ Skilift'=0A=
    COLOR 0 0 0 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 5000=0A=
    MAXSCALE 15000=0A=
    EXPRESSION "27"=0A=
#    NAME "Bahngeleise"=0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    SIZE 2=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 2500=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "27"=0A=
#    NAME "Bahngeleise"=0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    SIZE 2=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 2500=0A=
    EXPRESSION "27"=0A=
    NAME "Bahngeleise"=0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    SIZE 4=0A=
    COLOR 0 0 0=0A=
    OVERLAYSYMBOL 'bahnlinie overlay'=0A=
    OVERLAYSIZE 3=0A=
    OVERLAYCOLOR 255 255 255=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "3"=0A=
    NAME "eingedoltes Gew=E4sser"=0A=
    SYMBOL 'unterirdische Bauten'=0A=
    COLOR 0 0 250 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "4"=0A=
    NAME "Treppe"=0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    COLOR 140 140 140=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "14"=0A=
    NAME "Mast_Antenne"=0A=
    SYMBOL 'uebriger Gebaeudeteil'=0A=
    COLOR 120 120 120=0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "23"=0A=
    NAME "Rinnsal"=0A=
    SYMBOL 'Gebaeude/ Mauern'=0A=
    COLOR 0 0 250 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "24"=0A=
    NAME "schmaler Weg"=0A=
    SYMBOL 'Abgrenzung der Bodenbedeckung'=0A=
    COLOR 0 0 0 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "25"=0A=
    NAME "Hochspannungsfreileitung"=0A=
    SYMBOL 'Oel-, Gaspipeline'=0A=
    COLOR 0 0 0 =0A=
  END=0A=
  CLASS=0A=
    MINSCALE 1=0A=
    MAXSCALE 5000=0A=
    EXPRESSION "26"=0A=
    NAME "Druckleitung"=0A=
    SYMBOL 'Oel-, Gaspipeline'=0A=
    COLOR 130 80 180=0A=
  END=0A=
=0A=
END=0A=
=0A=
=0A=
=0A=
## PUNKTE ###############################=0A=
LAYER=0A=
  NAME bdbed #Ortsplan#Legende=0A=
  MINSCALE 1=0A=
  MAXSCALE 5000=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from (select oid,* from kva_av_eopnt where =
archive=3D0) as foo using SRID=3D-1"=0A=
  TYPE POINT=0A=
  #FILTER "archive=3D0"=0A=
  SYMBOLSCALE 2400=0A=
  CLASSITEM "ART"=0A=
  CLASS=0A=
    EXPRESSION "bla"=0A=
    NAME "<table><tr><td =
colspan=3D2>=A0</td></tr><td>=A0</td><td><b>Einzelobjekte =
Punkte</b></td></tr></table>"=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "13" =0A=
    NAME "Denkmal" =0A=
    SYMBOL 'Denkmal'=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "14" =0A=
    NAME "Mast_Antenne" =0A=
    SYMBOL 'Mast - Antenne'=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 16=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "21" =0A=
    NAME "Fels" =0A=
    SYMBOL 'Fels'=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "33" =0A=
    NAME "Grotte, H=F6hleneingang" =0A=
    SYMBOL 'Grotte'=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "35" =0A=
    NAME "Einzelbaum" =0A=
    SYMBOL 'Einzelbaum'=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "36" =0A=
    NAME "Bildstock, Kruzifix" =0A=
    SYMBOL "Kruzifix"=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
  CLASS=0A=
    EXPRESSION "37" =0A=
    NAME "Quelle" =0A=
    SYMBOL "Quelle"=0A=
    SIZE 10=0A=
    MINSIZE 5=0A=
    MAXSIZE 18=0A=
    COLOR 0 0 0=0A=
  END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME labels #Bezugspunkt-Beschriftung# #=0A=
  # DESCRIPTION "Bezugspunkt-Beschriftung"=0A=
  MAXSCALE 10005=0A=
  MINSCALE 100=0A=
  SYMBOLSCALE 5000=0A=
  STATUS ON=0A=
  DATA avt/labelbox_centers=0A=
  TYPE POINT=0A=
  LABELMAXSCALE 6000000=0A=
  LABELITEM "RPT_CK"=0A=
  LABELANGLEITEM "ROTATION"  =0A=
  CLASS=0A=
		LABEL=0A=
     	TYPE TRUETYPE=0A=
     	ANTIALIAS TRUE=0A=
     	FONT arial =0A=
     	COLOR 0 0 0    =0A=
			FORCE true =0A=
			SIZE 14=0A=
		END=0A=
  END=0A=
END    =0A=
=0A=
LAYER=0A=
  NAME labels #Bezugspunkt-Beschriftung# #=0A=
  # DESCRIPTION "Bezugspunkt-Beschriftung"=0A=
  MAXSCALE 10005=0A=
  MINSCALE 100=0A=
  STATUS ON=0A=
  DATA avt/labelboxes=0A=
  TYPE POLYGON=0A=
  CLASS=0A=
    COLOR 255 255 204=0A=
	  OUTLINECOLOR 0 0 0=0A=
    SYMBOL 'hellgelb transparent'=0A=
  END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME axe #Axen# #=0A=
  MAXSCALE 600000=0A=
  STATUS ON=0A=
  DATA avt/axe=0A=
  TYPE LINE=0A=
  SYMBOLSCALE 25000=0A=
  CLASS=0A=
    COLOR 153 255 0=0A=
    SYMBOL 7=0A=
    SIZE 1=0A=
  END=0A=
END =0A=
=0A=
LAYER=0A=
  NAME axequery =0A=
	MAXSCALE 6000000=0A=
  STATUS OFF=0A=
  DATA avt/axe=0A=
  TYPE LINE=0A=
  SYMBOLSCALE 25000=0A=
  CLASS=0A=
		COLOR 255 0 0=0A=
		SYMBOL 7=0A=
		SIZE 4=0A=
	END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME axe #Axen# #=0A=
	MINSCALE 100=0A=
  MAXSCALE 35000=0A=
  STATUS ON=0A=
  DATA avt/axe=0A=
  TYPE LINE=0A=
  SYMBOLSCALE 25000=0A=
  CLASS=0A=
    COLOR 153 255 0=0A=
    SYMBOL 7=0A=
    SIZE 1=0A=
  END=0A=
END=0A=
=0A=
## AXENBESCHRIFTUNG ###################=0A=
LAYER=0A=
  NAME axeo #Axen-Beschriftung#=0A=
  MAXSCALE 25000=0A=
  STATUS ON=0A=
  DATA avt/axe=0A=
  TYPE LINE=0A=
  LABELITEM "AXE_CK"=0A=
  SYMBOLSCALE 10000=0A=
  LABELMAXSCALE 600000=0A=
  CLASS=0A=
    LABEL=0A=
      TYPE TRUETYPE=0A=
      ANTIALIAS true=0A=
      FONT arial=0A=
      COLOR 153 255 0    =0A=
      OUTLINECOLOR 0 0 0=0A=
      SIZE 8=0A=
	  MINSIZE 4=0A=
	  MAXSIZE 80=0A=
	  MINDISTANCE 300=0A=
      ANGLE AUTO=0A=
      POSITION CC=0A=
      MINFEATURESIZE AUTO    =0A=
    END=0A=
  END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME restrict #Beschr=E4nkungen#Legende #=0A=
	MAXSCALE 100000=0A=
  STATUS ON=0A=
  DATA avt/restrict/restrict_begin=0A=
  TYPE POINT=0A=
  SYMBOLSCALE 25000=0A=
#	QUERYITEM "Nr"=0A=
#	CLASSITEM "Nr"=0A=
	LABELITEM "Nr"=0A=
	LABELCACHE OFF=0A=
  CLASS=0A=
    LABEL=0A=
      TYPE TRUETYPE=0A=
      ANTIALIAS TRUE=0A=
      FONT arial=0A=
		 MINFEATURESIZE 6=0A=
		 MINSIZE 7=0A=
      MINDISTANCE 2=0A=
		 COLOR 255 255 255    =0A=
      SIZE 3=0A=
      POSITION AUTO=0A=
		 FORCE TRUE=0A=
		 BUFFER 1=0A=
		 BACKGROUNDCOLOR 255 0 0=0A=
    END	  =0A=
	END	=0A=
END=0A=
=0A=
LAYER=0A=
  NAME restrict #Beschr=E4nkungen#Legende #=0A=
	MAXSCALE 50000=0A=
  STATUS ON=0A=
	TOLERANCE 10=0A=
  DATA avt/restrict/restrict=0A=
  TYPE LINE=0A=
  SYMBOLSCALE 12000=0A=
#	QUERYITEM "Nr"=0A=
#	CLASSITEM "Nr"=0A=
=0A=
  CLASS=0A=
  TEMPLATE =
"/opt/wwwroot/sogis/MapServer/projekte/avt/strada/qry_tpl.html"=0A=
   NAME "Beschr=E4nkungen"=0A=
		SYMBOL 7=0A=
		SIZE 6=0A=
		COLOR 255 0 0		=0A=
		OVERLAYSYMBOL 7=0A=
		OVERLAYCOLOR 255 255 255=0A=
		OVERLAYSIZE 0.2=0A=
	END=0A=
END=0A=
=0A=
# dieser Layer ist nur vorhanden, weil das Ursprungsdatum zu kurz =
ist=0A=
# ab Massstab 100125 wird die Linie kleiner als Pixel und deshalb nicht =
mehr dargestellt=0A=
# Workaround: in diesem neuen Layer wird f=FCr den entsprechenden Punkt =
ein inline-feature=0A=
# erstellt!=0A=
LAYER =0A=
  NAME restrict #Beschr=E4nkungen#Legende #=0A=
  MAXSCALE 600000=0A=
  MINSCALE 100125=0A=
  STATUS ON=0A=
  TOLERANCE 10=0A=
  DATA avt/restrict/restrict=0A=
  TYPE POINT=0A=
  SYMBOLSCALE 25000=0A=
  FEATURE=0A=
	  POINTS=0A=
	    600689 227525=0A=
	  END=0A=
	END=0A=
  CLASS =0A=
  TEMPLATE =
"/opt/wwwroot/sogis/MapServer/projekte/avt/strada/qry_tpl.html"=0A=
    SYMBOL 7=0A=
    SIZE 80=0A=
    COLOR 255 0 0=0A=
  END =0A=
END=0A=
=0A=
LAYER=0A=
  NAME restrict #Beschr=E4nkungen#Legende #=0A=
	MAXSCALE 600000=0A=
	MINSCALE 50001=0A=
  STATUS ON=0A=
	TOLERANCE 10=0A=
  DATA avt/restrict/restrict=0A=
  TYPE LINE=0A=
  SYMBOLSCALE 25000=0A=
  CLASS=0A=
  TEMPLATE =
"/opt/wwwroot/sogis/MapServer/projekte/avt/strada/qry_tpl.html"=0A=
		SYMBOL 7=0A=
		SIZE 80=0A=
		COLOR 255 0 0		=0A=
	END=0A=
END=0A=
=0A=
#layer restrictbold wird nicht im /MapServer/ verwendet, sondern nur =
f=FCr die Standalone-Applikation des AVT=0A=
LAYER=0A=
  NAME restrictbold =0A=
  STATUS OFF=0A=
	TOLERANCE 20=0A=
  DATA avt/restrict/restrict=0A=
  TYPE POINT=0A=
#	CLASSITEM "nr"=0A=
  CLASS=0A=
  TEMPLATE =
"/opt/wwwroot/sogis/MapServer/projekte/avt/strada/qry_tpl.html"=0A=
		NAME "Beschr=E4nkungen"=0A=
		SYMBOL 7=0A=
		SIZE 4=0A=
		COLOR 255 0 0		=0A=
	END=0A=
END=0A=
=0A=
## ZUSTAND-RCO1400 ################################=0A=
LAYER=0A=
  NAME rco1400 #Zustand rco-1400#Legende #=0A=
  # DESCRIPTION "Zustand RCO-1400"=0A=
  MAXSCALE 10005=0A=
  MINSCALE 100=0A=
  STATUS ON=0A=
  DATA avt/themes/rco-1400=0A=
  TYPE POLYGON=0A=
  LABELMAXSCALE 6000000=0A=
  #CLASSITEM "VALUE1"=0A=
  CLASS=0A=
    EXPRESSION ([VALUE1] >=3D 0 and [VALUE1] < 2)=0A=
    NAME "0 - 2"=0A=
    COLOR 255 0 0=0A=
    OUTLINECOLOR 0 0 0=0A=
  END  =0A=
  CLASS=0A=
    EXPRESSION ([VALUE1] >=3D 2 and [VALUE1] < 3)=0A=
    NAME "2 - 3"=0A=
    COLOR 255 153 153=0A=
    OUTLINECOLOR 0 0 0=0A=
  END  =0A=
  CLASS=0A=
    EXPRESSION ([VALUE1] >=3D 3 and [VALUE1] < 4)=0A=
    NAME "3 - 4"=0A=
    COLOR 255 153 51=0A=
    OUTLINECOLOR 0 0 0=0A=
  END  =0A=
  CLASS=0A=
    EXPRESSION ([VALUE1] >=3D 4 and [VALUE1] < 5)=0A=
    NAME "4 - 5"=0A=
    COLOR 0 153 51=0A=
    OUTLINECOLOR 0 0 0=0A=
  END =0A=
END  =0A=
=0A=
=0A=
## BEZUGSPUNKTE ###################=0A=
LAYER=0A=
  NAME svt_reference_ps #Bezugspunkte#Legende #=0A=
  # DESCRIPTION "Bezugspunkte"=0A=
  MAXSCALE 10005=0A=
  MINSCALE 100=0A=
  SYMBOLSCALE 5000=0A=
  STATUS ON=0A=
  DATA avt/svt_reference_ps=0A=
  TYPE POINT=0A=
  LABELMAXSCALE 6000000=0A=
  CLASSITEM "RPT_SEGMT_"=0A=
  CLASS=0A=
    EXPRESSION "0"=0A=
    NAME "Zwischenpunkt"=0A=
    COLOR 255 255 204=0A=
	OUTLINECOLOR 0 0 0=0A=
	BACKGROUNDCOLOR 255 255 204 =0A=
	SYMBOL 4=0A=
	SIZE 9=0A=
  END    =0A=
  CLASS=0A=
    EXPRESSION "1"=0A=
    NAME "Axensegment Anfang"=0A=
    COLOR 255 255 204=0A=
	OUTLINECOLOR 0 0 0=0A=
	BACKGROUNDCOLOR 255 255 204 =0A=
	SYMBOL 7=0A=
	SIZE 11		=0A=
  END    =0A=
  CLASS=0A=
    EXPRESSION "2"=0A=
    NAME "Axensegment Ende"=0A=
    COLOR 255 255 204=0A=
	OUTLINECOLOR 0 0 0=0A=
	BACKGROUNDCOLOR 255 255 204 =0A=
	SYMBOL 7=0A=
	SIZE 11	=0A=
  END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME netz #Netz =F6ffentlicher Verkehr#Legende #=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from avt_oev_netz using SRID=3D-1"=0A=
  TYPE LINE=0A=
  CLASSITEM "TYP"=0A=
  MAXSCALE 50000=0A=
	CLASS=0A=
	  NAME "Bus"=0A=
	  EXPRESSION "1"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 0 0 255=0A=
	END=0A=
	CLASS=0A=
	  NAME "Bahn"=0A=
	  EXPRESSION "2"=0A=
	  SYMBOL 'Gebaeude/ Mauern'=0A=
    SYMBOL 250000=0A=
	  SIZE 4=0A=
    COLOR 0 0 0=0A=
    OVERLAYSYMBOL 'bahnlinie overlay'=0A=
    OVERLAYSIZE 3=0A=
    OVERLAYCOLOR 0 220 0=0A=
	END=0A=
END=0A=
LAYER=0A=
  NAME netz #Netz =F6ffentlicher Verkehr#Legende #=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dfoo host=3Dbar user=3Dfoobar "=0A=
  DATA "wkb_geometry from avt_oev_netz using SRID=3D-1"=0A=
  TYPE LINE=0A=
  MINSCALE 50001=0A=
  CLASSITEM "TYP"=0A=
	CLASS=0A=
	  NAME "Bus"=0A=
	  EXPRESSION "1"=0A=
	  SIZE 1=0A=
	  SYMBOL 7=0A=
	  COLOR 0 0 255=0A=
	END=0A=
	CLASS=0A=
	  NAME "Bahn"=0A=
	  EXPRESSION "2"=0A=
	  SYMBOL 'Gebaeude/ Mauern'=0A=
    SYMBOL 250000=0A=
	  SIZE 4=0A=
    COLOR 0 0 0=0A=
    OVERLAYSYMBOL 'bahnlinie overlay'=0A=
    OVERLAYSIZE 3=0A=
    OVERLAYCOLOR 0 220 0=0A=
	END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME klassierung #Strassenklassierung#Legende #=0A=
  STATUS ON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION "dbname=3Dcmoe host=3Dsrsofaioi4531 user=3Dpublic =
port=3D6543"=0A=
  DATA "wkb_geometry from avt_strassenklassierung using SRID=3D-1"=0A=
  TYPE LINE=0A=
  CLASSITEM "COLOR"=0A=
  #MAXSCALE 50001=0A=
	CLASS=0A=
	  NAME "<b>Achtung: Der genaue Strassenverlauf dieses Layers deckt =
sich nicht mit STRADA!</b>"=0A=
	  EXPRESSION "foo"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 255 255 255=0A=
	END=0A=
	CLASS=0A=
	  NAME "Kategorie A<br>regionale Bedeutung, Belastung gering"=0A=
	  EXPRESSION "4"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 0 255 255=0A=
	END=0A=
	CLASS=0A=
	  NAME "Kategorie B<br>regionale Bedeutung, Belastung hoch"=0A=
	  EXPRESSION "5"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 100 0 255=0A=
	END=0A=
	CLASS=0A=
	  NAME "Kategorie C<br>kantonale Bedeutung, Belastung gering"=0A=
	  EXPRESSION "40"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 255 140 0=0A=
	END=0A=
	CLASS=0A=
	  NAME "Kategorie D<br>kantonale Bedeutung, Belastung hoch"=0A=
	  EXPRESSION "1"=0A=
	  SIZE 3=0A=
	  SYMBOL 7=0A=
	  COLOR 255 50 0=0A=
	END=0A=
	CLASS=0A=
	  NAME "Passstrassen"=0A=
	  EXPRESSION "6"=0A=
	  SIZE 3=0A=
	  SYMBOL 'bahnlinie overlay'=0A=
	  #SYMBOL 7=0A=
	  COLOR 255 0 255=0A=
	END=0A=
END=0A=
=0A=
LAYER=0A=
  NAME messstellen #Z=E4hlstellen#=0A=
  MAXSCALE 100005=0A=
  MINSCALE 100=0A=
  STATUS ON=0A=
  TOLERANCE 20=0A=
  DATA "avt/veza/messstellen"=0A=
  TYPE POINT=0A=
  LABELMAXSCALE 6000000=0A=
  #CLASSITEM "Nr_string"=0A=
  LABELITEM "Nr_string"=0A=
  CLASS=0A=
    TEMPLATE =
"/opt/wwwroot/sogis/MapServer/projekte/avt/strada/qry_tpl.html"=0A=
    STYLE=0A=
      SYMBOL "Zaehlstelle"=0A=
      COLOR 0 0 0=0A=
      SIZE 22=0A=
    END=0A=
    LABEL=0A=
      TYPE TRUETYPE=0A=
      ANTIALIAS TRUE=0A=
      FORCE TRUE=0A=
      FONT arial =0A=
      COLOR 0 0 0    =0A=
      SIZE 11=0A=
      POSITION CC=0A=
     END  =0A=
  END    =0A=
END =0A=
=0A=
LAYER=0A=
  NAME liegen #Parzellen#=0A=
  MINSCALE 1=0A=
  MAXSCALE 55000=0A=
  STATUS OFF=0A=
  TYPE POLYGON=0A=
  CONNECTIONTYPE POSTGIS=0A=
  CONNECTION 'dbname=3Dfoo host=3Dbar user=3Dfoobar '=0A=
  DATA "wkb_geometry from (select oid,wkb_geometry from kva_av_liegen =
where archive=3D0) as foo using SRID=3D-1"=0A=
  CLASS=0A=
     NAME "Liegenschaften"=0A=
    OUTLINECOLOR 40 40 40=0A=
  END=0A=
END=0A=
=0A=
END=0A=

------_=_NextPart_000_01C4128B.F2CCF910--



More information about the MapServer-users mailing list