Our WKT parser has lots of alias support to read non-standard "well known" text ...
For example see EsriNamedIdentifierAliasestest.java <https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/test/java/org/geotools/referencing/operation/projection/EsriNamedIdentifierAliasesTest.java> -- Jody Garnett On Wed, 25 Mar 2020 at 13:19, <nickg+geoto...@catalyst.net.nz> wrote: > Hi list, > > First of all, a big virtual hug to you all suffering through this crazy > time. I wish you all the very best as we struggle through the months > ahead. > > And now the mundane... > > We've been seeing a lot of .prj sidecar files from users from Arc > Desktop that isn't WKT [1]. I've found a reference to it at - > > https://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/esri-grid-format.htm > - It seems to be referred to as an 'ASCII PRJ' file. But there's not > much else on the web to go on. > > Anyway, the ArcGridFormat reader doesn't understand it or seem to cope > with it, and I think it logs an error and reads the .asc without setting > the CRS. But before I investigated a patch or a workaround , I was > wondering if there was some prior art I could use for decoding these > files, or some wisdom about how I could go about it. > > > Cheers, > Nick > > -- > > > 1 - An example .prj file... > > Projection TRANSVERSE > Datum AI_NZGD00 > Spheroid GRS80 > Units METERS > Zunits NO > Xshift 0.0 > Yshift 0.0 > Parameters > 0.9996 /* scale factor at central meridian > 173 0 0.0 /* longitude of central meridian > 0 0 0.0 /* latitude of origin > 1600000.0 /* false easting (meters) > 10000000.0 /* false northing (meters) > > -- > Nick Griffiths > > Catalyst IT - Open Source Technologists > +64 22 411 0587 | ni...@catalyst.net.nz | www.catalyst.net.nz > > > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users