I would expect so, try removing it, or grab a replacement definition from http://spatialreference.org/ref/epsg/4326/prettywkt/
-- Jody Garnett On 27 July 2015 at 10:35, Hai Jin <jinhai...@gmail.com> wrote: > Hi All, > > I'm using CRS.parseWKT() to read a .prj file: > > > GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433],METADATA["World",-180.0,-90.0,180.0,90.0,0.0,0.0174532925199433,0.0,1262]] > > It throws an exception: > Error in "GEOGCS": Parameter "METADATA" was not expected. > > Is it possible to just ignore unexpected parameters instead of throwing an > exception? > I'm using Geotools 13.1. Thanks! > > Best, > > Hai > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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