I am not surprised that information is lost along the way. While GeoServer and GeoTools have the ability to store more than 2 dimensions, little is ever done with the third dimension.
I believe both the gml2 and gml3 encoders both assume 2d, so my impression is that where the z value is being ignored. I know Jody tried to hook up 3d support some while back but failed. Perhaps he can provide more info.
-Justin
Amr A. Alam wrote:
Hello,
I've got a WFS set up on Geoserver backed by a postgis database. In the DB i have a geometry column which is a point column with 3d coordinates.
When I send a request to the WFS, those points are returned minus the Z-value.
Yeah the guys in Sejong wanted GeoServer to serve up 3D data ... and the
only thing really stopping this is the lack of any 3D data to serve up.
I was able to modify the various GML generation code to notice if their
was 3 dimensions (by looking at the CRS and checking the dimension);
however things got bogged down when geotools / geoserver started trying
to negotiate the difference between 3D data and 2D bounding box requets.
As such we quoted them several weeks worth of work to do the QA etc...
Gabriel and Andrea know more ... but yeah you are in for some work Amr.
Jody
Justin Deoliveira wrote:
Hi Amr,
I am not surprised that information is lost along the way. While
GeoServer and GeoTools have the ability to store more than 2 dimensions,
little is ever done with the third dimension.
I believe both the gml2 and gml3 encoders both assume 2d, so my
impression is that where the z value is being ignored. I know Jody tried
to hook up 3d support some while back but failed. Perhaps he can provide
more info.
-Justin
Amr A. Alam wrote:
Hello,
I've got a WFS set up on Geoserver backed by a postgis database. In the
DB i have a geometry column which is a point column with 3d coordinates.
When I send a request to the WFS, those points are returned minus the
Z-value.
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.