I'm not so sure. If you look in the stack trace in the original report
it includes:
org.geotools.data.postgis.PostGISDialect.getGeometrySRID(PostGISDialect.java:386)
at
org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:291)
This implies that the exception was thrown at:
srid = dialect.getGeometrySRID( ...
so
crs = dialect.createCRS(srid, cx);
is never called and crs is null when
ab.setCRS(crs);
is called. I think this might result in the geometries having no CRS.
On 25/05/11 16:11, Andrea Aime wrote:
> It seems we're confusing a real exception with a warning.
> The thing was logged, it was not thrown, it did not stop the inspection
> of the geometry_columns table.
>
> May 24, 2011 2:55:14 PM org.geotools.jdbc.JDBCFeatureSource buildFeatureType
> WARNING: Error occured determing srid for ssc06aaust_region.wkb_geometry
> org.postgresql.util.PSQLException: ERROR: permission denied for relation
> geography_columns
--
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users