Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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.

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


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

Browse other questions tagged or ask your own question.