I forgot to say that I'm using geotools 2.5.8 giovanni
2010/1/9 G. Allegri <[email protected]>: > I have a problem with getting the CRS from my postgis postgis feature > type schema. > I've simply used the following code: > > PostgisDataStore ds = (PostgisDataStore) DataStoreFinder.getDataStore(params); > FeatureSource fs = ds.getFeatureSource("cssim_cube"); > CoordinateReferenceSystem dataCRS = > fs.getSchema().getCoordinateReferenceSystem(); > > but I receive null for dataCRS. My CRS is correctly set inside the > geometry_columns in Postgis, so what could be the problem? > > Thanks in advance, > giovanni > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
