[mapserver-users] Rotating map makes layer disappear
Fawcett, David
David.Fawcett at state.mn.us
Thu Jul 10 08:18:26 PDT 2008
Mathias,
I see that you set a MAXSCALE of 2000. If you are zoomed out beyond
2000, the layer will not draw. Try commenting it out to see if this is
the issue. If so, then set a scale value that works for your purposes.
Also, if you are not explicitly calling the layer by name when MapServer
is called, you will need to set the LAYER STATUS to DEFAULT for it to
draw.
David.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matthias
Buchs
Sent: Thursday, July 10, 2008 9:10 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Rotating map makes layer disappear
Hello Flavio,
Thank you for your answer! I had already a projection defined for all
layers. However, I tried yours too, but with the same result: All layers
are drawn correctly (incl. rotation) except the single one, which is not
drawn. The layer definition looks as follows:
LAYER
NAME "No_parc"
TYPE ANNOTATION
MAXSCALE 2000
CONNECTIONTYPE OGR
CONNECTION "Noparc.TAB"
STATUS ON
STYLEITEM "AUTO"
CLASS
END
PROJECTION
"init=epsg:21781"
END
END
The beginning of the ogrinfo output looks as follows:
INFO: Open of `Noparc.TAB'
using driver `MapInfo File' successful.
Layer name: Noparc
Geometry: Point
Feature Count: 603
Extent: (576093.803015, 184574.105015) - (579583.217242, 186778.565010)
Layer SRS WKT: LOCAL_CS["Nonearth",
UNIT["Meter",1.0]]
ID: Integer (0.0)
OGRFeature(Noparc):1
ID (Integer) = 0
Style = LABEL(t:"518",a:0.000000,s:3.253910g,c:#ff0000,p:1,f:"Arial")
POINT (577595.99998399999 186382.12960400002)
...
What else could it be?
Regards
Matthias
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list