Help with PostGIS and POINT layer, please
Paul Ramsey
pramsey at REFRACTIONS.NET
Wed Feb 23 07:37:05 PST 2005
There are some interop problems with the last postgis 'rc' releases and
mapserver. See if the current cvs snapshot works better for you. A new
rc should be out shortly, hopefully your problem is gone in the cvs
version of postgis.
Paul
On 23-Feb-05, at 6:57 AM, Marco Marsella wrote:
> Hi list,
>
> I am going crazy about a simple (or so I thought...) POINT layer. The
> map file fragment is as follows:
>
> LAYER
> NAME "acstats"
> TYPE POINT
> STATUS DEFAULT
> CONNECTIONTYPE POSTGIS
> CONNECTION "user=guest password=guest dbname=asiacover
> host=localhost
> port=5432"
> DATA "the_geom from asiacover.stations"
> CLASS
> OUTLINECOLOR 255 0 0
> COLOR 10 10 10
> SYMBOL 'circle'
> SIZE 10
> END
> PROJECTION "init=epsg:4326" END
> EXTENT 41.82 -20.15 100.4 22.85
> END
>
> SYMBOL
> NAME 'circle'
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> END
>
> The query is executed and 55 points are returned (I tried it manually
> copying from the Postgres log) but nothing gets drawn on the map. The
> table content, exported as a shapefile, draws nicely with the same
> CLASS. But I cannot find any way to make those 55 points show up on my
> map!
>
> I must be missing something obvious, please help!
>
> TIA
>
> Marco
More information about the MapServer-users
mailing list