[mapserver-users] Problems rendering postgis points layer

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sat Jan 21 08:00:48 EST 2012


Hi,

Perhaps this CLASS that is not ended can make some trouble.

  		CLASS
           		EXPRESSION "cnt>=2"
          		STYLE
            			SYMBOL "circle"
            			SIZE 5
            			COLOR 0 255 0
          		END
    		CLASS

-Jukka Rahkonen-
________________________________________
Dave Potts wrote:

> Hi

> I am having problems getting Mapserv 6.0.1 to render a points layer from a
postgres 8.4.10 database.  The same table renders correctly in qgis.

> Mapserv can load and render a data of type 'LINE' from a postgis table.

> It just seems to have problems with the 'POINT' data.

> Turning the debug information on, its possible to mapserv loading my
layers streets and  one_way_from, but there is not trace of an attempt to
points layer.
> So mapserver can see postgis, the post gis has the right data in, does
anybody have any idea what the problem is?
------------------------------------------------------
[Sat Jan 21 09:25:53 2012].480878 msPostGISLayerOpen called: the_geom from
(select route_id, the_geom from route_table) as foo using SRID=3857 using
unique route_id
[Sat Jan 21 09:25:53 2012].480885 msPostGISLayerOpen: No connection in
pool, creating a fresh one.
[Sat Jan 21 09:25:53 2012].491702 msConnPoolRegister(streets,user=demo
dbname=route-example host=127.0.0.1 port=5432,0x21364a0)
[Sat Jan 21 09:25:53 2012].498141 msPostGISLayerOpen: Got PostGIS version
10500.
[Sat Jan 21 09:25:53 2012].498163 msPostGISLayerFreeItemInfo called.



--


More information about the mapserver-users mailing list