Layer doesn't work in 5.0
Jørn Vegard Røsnes
jorn at SPACETEC.NO
Tue Oct 16 06:38:12 PDT 2007
Hi all,
I've just tried to migrate from FWTools1.3.7 / MS 4.9 to FWTools1.3.9 / MS
5.0.
The problem is that my PostGIS layer doesn't want to show up in 5.0.
My layer conf is below.
I've read the migration guide, but can't find the problem.
http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT
Does anyone else see the problem?
cheers
Jørn Vegard
LAYER
NAME "layer_20071005_141040"
CONNECTIONTYPE POSTGIS
CONNECTION "user=postgres dbname=db host=hostname port=5432"
DATA "poly from feature using SRID=4326"
TYPE point
STATUS ON
TRANSPARENCY 0
DEBUG ON
CLASS
TEXT (oil-[oid]-[acquisition_time])
EXPRESSION ('[timestamp]' == '20071005_141040' AND [threshold] >= 0
AND [threshold] < 100)
LABEL
FONT arial
TYPE TRUETYPE
SIZE 8
MINDISTANCE 10000
POSITION UR
ANGLE 30
COLOR 0 0 0
END
STYLE
COLOR 224 64 0
END
END
PROJECTION
"init=epsg:4326"
END
END
More information about the MapServer-users
mailing list