PostGIS and POINT layer problem solved!

Marco Marsella m.marsella at ITWORKS.IT
Wed Feb 23 11:17:48 EST 2005


Paul, the CVS version fixed the problem!

Thank you for the prompt reply and the great work on PostGIS!

Ciao

Marco


On 23 Feb 2005, at 16:37, Paul Ramsey wrote:

> 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