Dear all,
In the following inductions, I thought getting the original CRS of  the 
Featurecollection displayed on a layer :
FeatureSource fs = m_layer_sélectionnée.getFeatureSource();
FeatureType schema = fs.getSchema();
CoordinateReferenceSystem crscollection = 
schema.getDefaultGeometry().getCoordinateSystem();
 
But the result obtained is the CRS with which I am displaying the layer, 
and this changes with the projection applied.
So first question, is it normal that I am getting the CRS applied on the 
layer , and second how could I get the true CRS of the featurecollection?
This is needed afterwards to create a boundingbox to filter the 
featurecollection !
Thanks for idea,
Pierre


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to