Maybe some precisions:
I have a WPS intersection process that input 2 GML (GML2 - from WFS
request / v 1.0.0)
I set a control to check that both GML have same CRS. The problem,
decoding the GML data does not set any CoordinateReferenceSystem to the
FeatureCollection feature type(null), so does not look to the GML /srsName/.
I tried the different possibilities mentioned in the documentation
http://docs.geotools.org/latest/userguide/library/xml/geometry.html ,
i.e. GML utility class, SAX and XDO...
Does anyone have an idea of how I could retrieve SRS from both GML inputs.
Thanks in advance
Kind regards,
Emmanuel
Le 01/06/2012 14:01, Emmanuel Blondel a écrit :
Dear all,
I am currently working on a WPS process and get a FeatureCollection
from a GML (geoserver output).
I am using the GML utility class (geotools 2.7.4), but it seems that
the CRS is not decoded by the /decodeFeatureCollection /method, so the
FeatureCollection I obtain does not have CRS.
Does anybody know an easy solution to bypass this problem?
Thanks in advance,
Best regards,
Emmanuel
--
*Emmanuel Blondel*
GIS Consultant
Geographic Information Systems
in Agronomy - Environment -Fisheries
Email: [email protected] - [email protected]
Phone: +33 6 45 97 87 52
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users