[mapserver-users] Mapserver shows all nodes on a GeometryCollection
Jörg Thomsen
jt at mapmedia.de
Tue Apr 15 00:30:47 PDT 2014
Hello,
correct. MapServer does not check the geometry-type, you can visualize a
polygon-layer as points showing the vertices for example.
If you only want to show the points of your geometry-colletcion, you
have to select the points of your geometry only:
select ST_CollectionExtract(geom, 1) as geom ...
Regards, Jörg
Am 15.04.2014 08:56, schrieb drobins:
> Hello,
>
> I am loading a point LAYER in mapserver which requests data from a
> geometrycollection table from my PostGIS database.
> The table has point, line and polygon objects.
>
> Whenever I enable my point layer, it also displays all nodes from the lines
> and polygons.
> When loading the same table into QGIS, these nodes don't show.
>
> I am using Mapserver version 6.4.1 and PostgreSQL version 9.1.12
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapserver-shows-all-nodes-on-a-GeometryCollection-tp5135064.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list