Benoît Thiébault ha scritto: > Hi everyone, > > I'm trying to retrieve the domain of validity of the projection CRS > I'm using (in order to prevent conversion errors if my data is > outside the range). How do I get that information ? I tryed > myCRS.getDomainOfValidity(), but it returns null when the CRS is > World Mercator, for instance
The domain of validity is known only for a subset of projections, and it's not available at all if you force the CRS to lon/lat order due to a bug in GeoTools that nobody had the time to fix so far (it's been opened for a long time) Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
