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.

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
I think you need gt-metadata for org.geotools.metadata.iso.citation.*; What does maven think? –  iant Jan 24 '13 at 15:00

1 Answer 1

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.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.