GeoTools:gt-referencing模块
踩坑记录
问题记录
在使用GeoTools进行坐标系转换相关的操作时,GeoTools报错如下:
org.geotools.api.referencing.NoSuchAuthorityCodeException: No code "EPSG:4326" from authority "EPSG" found for object of type "interface org.geotools.api.referencing.crs.EngineeringCRS". at org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.noSuchAuthorityException(CartesianAuthorityFactory.java:130)
at org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.createEngineeringCRS(CartesianAuthorityFactory.java:123)
at org.geotools.referencing.factory.epsg.CartesianAuthorityFactory.createCoordinateReferenceSystem(CartesianAuthorityFactory.java:115)
at org.geotools.referencing.factory.AuthorityFactoryA