Hello César
Le 20/02/2018 à 18:27, César Martínez Izquierdo a écrit :
> I've tried with IdentifiedObjects.newFinder, setting
> finder.setIgnoringAxes(true), but I still could not find the
> equivalent EPSG code.
> String esri4326wkt = "(…snip…) DATUM[\"D_WGS_1984\" (…snip…)
>
This come from the datum name. If you replace "D_WGS_1984" by
"D_WGS_84", it works. Apache SIS usually ignores object names, but datum
names are an exception because I'm not aware of another way to tell if
two datums are the same or different. We need a list of aliases for
supporting situations like "D_WGS_1984" versus "D_WGS_84", but the only
aliases we currently use are the one defined in EPSG database, ignoring
cases, spaces, underscores and "D_" prefix. The EPSG aliases can be seen
there (click on "Aliases" for expanding the node):
http://epsg-registry.org/?display=entity&urn=urn:ogc:def:datum:EPSG::6326
So based on this list, SIS currently recognizes only (ignoring "D_" etc.):
* World Geodetic System 1984
* WGS 84
Expanding this list of aliases is a legitimate request. This is the
topic of https://issues.apache.org/jira/browse/SIS-145
Martin