I am using  GeoTools 11.3

I’ve reworked my code to always use CRS.decode(“urn:ogc:def:crs:EPSG::” +
espgCode);
in order to overcome hellish reprojections issues with 2193

All of a sudden I started getting null pointer exceptions.

Upon investigation I’ve found the following:

if
crs = CRS.decode("EPSG:27200”);
or
                        crs = CRS.decode("urn:ogc:def:crs:EPSG:27200”);
then
CRS.getEnvelope(crs) != null


but if
crs = CRS.decode(“urn:ogc:def:crs:EPSG::27200”);
CRS.getEnvelope(crs) == null

What gives?
Gaby




------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to