[geotk] comparing CRS
Philippe Kruschitz
kruschitz at grid-it.at
Thu Jun 24 04:10:26 EDT 2010
Hi Johann,
Thanks for the fast reply. I'll try it out.
Philippe
Am 24.06.2010 10:02, schrieb sorel:
> Hello,
>
> You can always make use of the equal method on CRS.
> But 98% of the time we don't want to check equality on the crs metadatas.
>
> So what I recommande to use :
> CRS.equalsIgnoreMetadata(crs1, crs2);
> This way, two different crs even if they dont have the exact same
> definition will be
> consider equal if there "mathematic" part is the same.
> That's exactly what we want when we need to know if we must reproject
> something or not.
>
>
> johann
>
>
More information about the Geotoolkit
mailing list