Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

A kind of branching of this question.

Soon I will need to handle GML Coordinate Reference Sysyem definitions in a Java servlet. Links:

I know that GeoTools library can parse GML, and I can see in http://docs.geotools.org/latest/userguide/library/xml/geometry.html some good documentation regarding Geometry features.

I'd like to know whether I will be able to parse such definitions, and maybe translate them to WKT.

Thanks.

share|improve this question
    
can you clarify? what do you want to do with the CRS, if you just need to identify the projection of the data then GT should be able to handle it fine. –  iant Apr 27 '12 at 12:59
    
@iant: Parse the definitions of compound or derived CRS to e.g. understand which dimensions are involved and in which order, then use them to create CoordinateReferenceSystem instances (org.geotools.referencing.CRS class has a parseWKT() method, but not a parseGML() equivalent) –  Campa Apr 27 '12 at 14:20
    
I suspect not then - best place to ask is the user list –  iant Apr 27 '12 at 14:41
    
I did that, I'll report any possible hint/answer in case this question remains open. –  Campa May 7 '12 at 21:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.