[mapserver-users] support of PostGIS PointZ

2013-12-13 Thread Kralidis,Tom [Ontario]
Hi: we are using MapServer 6.4.0 and our (PostgreSQL 8.4/PostGIS 2.0)
database models use the PointZ geometry type (we store x/y/z for our
observations).

How can we make the z values visible when doing WFS 1.1.0 output?
Currently for, say, GML3 output, MapServer returns 2d coordinates.

Cheers

..Tom
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] support of PostGIS PointZ

2013-12-13 Thread Even Rouault
Le vendredi 13 décembre 2013 22:11:20, Kralidis,Tom [Ontario] a écrit :
 Hi: we are using MapServer 6.4.0 and our (PostgreSQL 8.4/PostGIS 2.0)
 database models use the PointZ geometry type (we store x/y/z for our
 observations).
 
 How can we make the z values visible when doing WFS 1.1.0 output?
 Currently for, say, GML3 output, MapServer returns 2d coordinates.

gmlWriteGeometry_GML2() and gmlWriteGeometry_GML3() don't currently deal with 
the Z component.
The PostGIS backend only reads x and y.
So there's some work needed...

 
 Cheers
 
 ..Tom
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] [EXTERNAL] support of PostGIS PointZ

2013-12-13 Thread Smith, Michael ERDC-RDE-CRREL-NH
Tom,

You can do it with OGR Output formats. For example

http://geo.usace.army.mil/cgi-bin/wms/nldwfs?service=wfsversion=1.1.0requ
est=getfeaturetypename=leveesclosurestructurelnmaxfeatures=10outputforma
t=gml3d


You need to create an OGR outputformat (GML) which specifies the 25D
geometry type, for example ows_geomtype²  ³Geometry25D². MapServer also
needs to be compiled with USE_POINT_Z_M. See
http://mapserver.org/output/ogr_output.html#layer-metadata for the
ows_geomtype.

Mike

-- 
Michael Smith

US Army Corps
Remote Sensing GIS/Center



On 12/13/13, 1:11 PM, Kralidis,Tom [Ontario] tom.krali...@ec.gc.ca
wrote:

Hi: we are using MapServer 6.4.0 and our (PostgreSQL 8.4/PostGIS 2.0)
database models use the PointZ geometry type (we store x/y/z for our
observations).

How can we make the z values visible when doing WFS 1.1.0 output?
Currently for, say, GML3 output, MapServer returns 2d coordinates.

Cheers

..Tom
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users