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

I'm trying to do a simple CRS.decode to lookup a CoordinateReference system:

E.g. CoordinateReferenceSystem target_crs = CRS.decode("EPSG:4326");

However this fails with a reference to the Citations.HTTP_URI_OGC field, and an invalid field error. According to the documentation this field is introduced in v9?

Anyone else experienced this, or got an idea of what I'm doing wrong?


Rune Sørensen

share|improve this question
Are you sure you have included all correct GeoTools dependencies? For example epsg-hsql? If that doesn't solve the problem please supply more information. – Jur_ Jan 24 '13 at 14:56
I think you need gt-metadata for org.geotools.metadata.iso.citation.*; What does maven think? – iant Jan 24 '13 at 15:00

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.