Hi list,

Trying to get 3D coordinates out of the GeoServer WFS. We're using GeoServer 2.1.3. What I've learned:

* Geographic 3D CRSes aren't supported yet because they can't be encoded in WKT. They can't be encoded in WKT because there's only one spot for a unit of measure in the syntax, whereas a Geographic 3D CRS can have two different units (e.g. degrees and meters).

* Because of this, EPSG:4979, the CRS used in the systems we interact with, isn't supported.

* GeoServer/GeoTools support EPSG:4327 (how?), but that appears to be in DMS instead of degrees.

* Using PostGIS, GeoServer can answer WFS 1.0 queries with 3D coordinates if EPSG:4327 is chosen.

* GeoServer encounters this error when trying to answer WFS 1.1 queries:

java.lang.ClassCastException: org.geotools.referencing.operation.transform.ProjectiveTransform cannot be cast to org.opengis.referencing.operation.MathTransform2D at org.geotools.data.crs.ReprojectFeatureIterator.<init>(ReprojectFeatureIterator.java:80)

* ...but if you add srsname=EPSG:4327, GeoServer gives the following somewhat funny answer:

<gml:Point srsDimension="3" srsName="http://www.opengis.net/gml/srs/epsg.xml#4327";><gml:pos>0.0 0.0</gml:pos></gml:Point>

So my questions are:

1. What's the current state of 3D coordinate support?

2. If it's supported, how do I do it correctly? If it's not there yet, is there any way I can hack it? I can provide patches if need be.

3. Is there a CRS with lat/lon in degrees and height above ellipsoid in meters that GeoServer supports out of the box?

--
Dustin Parker - Forward Slope, Inc.
Cell: 619 277 2591

ADZWZ FWZ AGO MCQRJ OX ZQYWNLACOQ:
ADOJZ ADFA WZHECWZ ADZ IOVZWQTZQA AO
EJZ KWEAZ XOWYZ AO KWZFM NOEW MZN,
FQR ADOJZ ADFA WZHECWZ ADZ IOVZWQTZQA
AO EJZ KWEAZ XOWYZ AO KWZFM NOE.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to