[mapserver-users] Rotating map makes layer disappear

Matthias Buchs matthias.buchs at ruch.ch
Thu Jul 10 07:09:33 PDT 2008


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



More information about the MapServer-users mailing list