Layer doesn't work in 5.0

Jørn Vegard Røsnes jorn at SPACETEC.NO
Thu Oct 18 07:08:20 EDT 2007


Hi,

it seems that TRANSPARENCY _must_ be larger than 0 in v5.0.
In v4.9 it works ok, e.g. my layer is visible with TRANSPARENCY=0.

cheers
Jørn Vegard


On Tuesday 16 October 2007 15:38, Jørn Vegard Røsnes wrote:
> 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/MIGRA
>TION_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