Hi,
The documentation is rather outdated. And to be honest not very helpful.

https://docs.geotools.org/latest/userguide/library/referencing/index.html#references
 
<https://docs.geotools.org/latest/userguide/library/referencing/index.html#references>

At this page there is a comment that you should only choose one EPSG plugin to 
prevent conflict. As things are those jar's could easily be in the class path 
without the users knowledge.

https://docs.geotools.org/latest/userguide/library/referencing/faq.html 
<https://docs.geotools.org/latest/userguide/library/referencing/faq.html>

At the "Q: How to choose an EPSG Authority". It says that "if you have several 
EPSG jars on your class path you will get a FactoryException". That's wrong. I 
think it should've said something about, if it's possible, how to choose one 
above another. Or even better how to prevent using a factory if it's on the 
class path.

Best regards,
Roar Brænden

> 2. feb. 2022 kl. 10:05 skrev Andrea Aime <andrea.a...@geo-solutions.it>:
> 
> On Wed, Feb 2, 2022 at 9:44 AM Roar Brænden <roar.brenden...@gmail.com 
> <mailto:roar.brenden...@gmail.com>> wrote:
> Hi,
> 
> Got it!
> 
> You're both right that using URN:DEF will override the forceXY pattern.
> 
> My problem had more to it than that. In some way I had both gt-epsg-wkt and 
> gt-epsg-hsql at the class path.
> 
> No can do, it's not supposed to work: you need to have either one or the 
> other, but not both.
> I think it's documented somewhere (that you have to choose) but can't find a 
> reference right now.
> 
> Cheers
> Andrea

_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to