Layer order
Eijnden, B. van den (Bart)
b.vdeijnden at AGI.RWS.MINVENW.NL
Tue Jan 24 01:00:29 PST 2006
When you put it at the end, make sure you put it before the last END (which
marks the END of the root MAP object). I am guessing you placed it too deep
(after the last END), so then the LAYER is not interpreted anymore by
Mapserver since the MAP file has ended already.
Bart
-----Oorspronkelijk bericht-----
Van: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU]Namens Ruiter E. de (Erik)
Verzonden: dinsdag 24 januari 2006 10:00
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: [UMN_MAPSERVER-USERS] Layer order
Hi list,
I've a small problem with my mapfile..
I want to have the layer 'verblijfsobjecten' always on top. When I place
the layer at the end of my mapfile I get this error:
msWMSLoadGetMapParams(): Invalid layer(s) given in the LAYERS parameter.
When I have the layer like in my mapfile below it does work but the
layer is not on top....
Anyone can help me with this?
Greets,
Erik.
#-----------------------------------------------------------------------
----------
# MAPFILE Spinoffice
#-----------------------------------------------------------------------
----------
#============ MAIN MAP
===========================================================
MAP
NAME "Spinoffice"
SIZE 400 200
EXTENT 123161.184000 425974.862000 130445.273000 430555.785000
IMAGECOLOR 255 255 255
IMAGETYPE png
SHAPEPATH "shapes"
SYMBOLSET "symbols35.sym"
WEB
TEMPLATE "../html/mapserver.html"
IMAGEPATH '/ms4w/tmp/ms_tmp/'
IMAGEURL '/ms_tmp/'
END
PROJECTION
"init=epsg:28992"
END
#============ LAYERS
=======================================================
LAYER
NAME Gebouwen
TYPE POLYGON
STATUS ON
CONNECTIONTYPE oraclespatial
CONNECTION "bag/bag at maatwerk"
DATA "N0320 FROM GEBOUW USING SRID 90112"
PROCESSING "CLOSE_CONNECTION=DEFER"
PROJECTION
"init=epsg:28992"
END
CLASS
NAME "gebouw"
SIZE 1
STYLE
COLOR 255 0 0
OUTLINECOLOR 32 32 32
END
END
END
LAYER
NAME GBKG
TYPE LINE
STATUS OFF
DATA gbkg_l
PROJECTION
"init=epsg:28992"
END
CLASS
NAME "gbkg"
STYLE
COLOR 190 190 190
OUTLINECOLOR 190 190 190
END
END
END
LAYER
NAME Buurten
TYPE LINE
STATUS OFF
DATA buurten
PROJECTION
"init=epsg:28992"
END
CLASS
NAME "buurten"
STYLE
COLOR 0 0 0
OUTLINECOLOR 100 100 100
END
END
END
LAYER
NAME Wegvakken
TYPE LINE
STATUS OFF
DATA wegvakken
PROJECTION
"init=epsg:28992"
END
CLASS
NAME "wegvakken"
STYLE
COLOR 190 190 190
OUTLINECOLOR 100 100 100
END
END
END
LAYER
NAME Verblijfsobjecten
TYPE POINT
STATUS ON
CONNECTIONTYPE oraclespatial
CONNECTION "bag/bag at maatwerk"
DATA "A5620 FROM VERBLIJFSOBJECT USING SRID 90112"
PROCESSING "CLOSE_CONNECTION=DEFER"
PROJECTION
"init=epsg:28992"
END
SYMBOLSCALE 10000
CLASS
NAME "verblijfsobject"
STYLE
SYMBOL "circle"
COLOR 0 0 0
OUTLINECOLOR 32 32 32
# SIZE 7
MAXSIZE 20
MINSIZE 1
END
END
END
LAYER
NAME Ligplaatsen
TYPE POINT
STATUS OFF
CONNECTIONTYPE oraclespatial
CONNECTION "bag/bag at maatwerk"
DATA "A5820 FROM LIGPLAATS"
PROJECTION
"init=epsg:28992"
END
CLASS
NAME "ligplaats"
SIZE 1
STYLE
COLOR 0 0 255
OUTLINECOLOR 32 32 32
END
END
END
LAYER
NAME Panden
TYPE POLYGON
STATUS OFF
CONNECTIONTYPE oraclespatial
CONNECTION "bag/bag at maatwerk"
DATA "A5520 FROM PAND USING SRID 90112"
PROCESSING "CLOSE_CONNECTION=DEFER"
CLASS
NAME "pand"
SIZE 1
COLOR 255 100 100
OUTLINECOLOR 32 32 32
END
END
END
END
[DISCLAIMER]
Dit e-mail bericht is vertrouwelijk. Het is uitsluitend bestemd voor de
geadresseerde.
Indien u niet de geadresseerde bent, verzoeken we u dringend ons direct te
informeren en om dit bericht en eventuele bijlage(n) te verwijderen, zonder
het te kopieren, door te zenden of op enige andere wijze te openbaren of te
gebruiken. ARCADIS is niet aansprakelijk voor welke schade dan ook als
gevolg van communicatie per e-mail en verzending van documenten en gegevens.
This e-mail is confidential and may also be privileged. It is intended for
use by the addressee only.
If you are not the intended addressee, we request that you notify us
immediately and delete this e-mail, and any attachment(s), without copying,
forwarding, disclosing or using it in any other way. ARCADIS will not be
liable for damage relating to the communication by e-mail of data or
documents.
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te
informeren. Wij adviseren u om bij twijfel over de juistheid of de
volledigheid van de mail contact met afzender op te nemen.
This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************
More information about the MapServer-users
mailing list