Hi Carmen:  

Nobody has gotten back to you; in part because the 52N developers do not play 
an active part in the GeoTools project; and in part because I am not exactly 
sure what version of GeoTools they are using.

You are welcome to go through the code with respect to encoding elements 
(thanks for the notes on EPSG:4936 etc… it is a very complete description).

You may also consider making a bug report with a test case and placing it into 
Jira; it really helps the developers reproduce the problem.

Finally if you are a 52N customer perhaps they can persue this issue in greater 
detail for you?

As an aside I am keen to hear about the WPS you are working on :-)  

--  
Jody Garnett


On Tuesday, 17 January 2012 at 7:39 PM, Carmen Caballero wrote:

> Hi,
>  
> I'm developing a WPS with 52North libraries and there is this class 
> org.n52.wps.io.datahandler.parser.GML3BasicParser.java that parses the GML 
> input into a FeatureCollection using geotools libraries (exactly the parse 
> method in org.geotools.xml.Parser). The problem is that the input GML has 
> Points with 3 dimensional coordinates and the Z-ordinate is lost after using 
> the parse method, well is set to NaN.   
>  
> As an example, a GML input that I've used:
>  
>  <gml:FeatureCollection xmlns:gml="http://www.opengis.net/gml";
> xmlns:n52="http://www.52north.org/11cad8bd-a957-4ee2-a2fd-87e02639470f";
> xsi:schemaLocation="http://www.opengis.net/gml
> http://schemas.opengis.net/gml/3.1.1/base/feature.xsd
> http://www.52north.org/11cad8bd-a957-4ee2-a2fd-87e02639470f
> http://localhost:8080/wps/schemas/11cad8bd-a957-4ee2-a2fd-87e02639470f.xsd";
> srsName="EPSG:4936"><gml:featureMembers
> srsName="EPSG:4936"><n52:Feature-11cad8bd-a957-4ee2-a2fd-87e02639470f
> gml:id="ID0" srsName="EPSG:4936"><n52:GEOMETRY
> srsName="EPSG:4936"><gml:MultiPoint srsName="EPSG:4936"><gml:pointMember
> srsName="EPSG:4936"><gml:Point srsName="EPSG:4936"><gml:pos
> dimension="3">4839482.173 15265.210
> 4142713.260 
> (tel:4142713.260)</gml:pos></gml:Point></gml:pointMember></gml:MultiPoint></n52:GEOMETRY></n52:Feature-11cad8bd-a957-4ee2-a2fd-87e02639470f></gml:featureMembers></gml:FeatureCollection>
>   
>  
> Thanks for your help,
>  
> Carmen
> PS: EPSG:4936 has 3 axis
>  
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>  
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>  
>  


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to