Hello Martin sounds good in to accept the two different "coding" styles for the authority parameter. Would you change the Parser code or should i create an issue an attach a patch? Thanks so far,
Frank > > Frank Gasdorf a écrit : > > But I got a ParseExcpetion for the AUTHORITY Parameter: > > > > java.text.ParseException: Error in "AUTHORITY": Parameter "code" is missing. > > at org.geotools.referencing.wkt.Element.pullString(Element.java:419) > > at org.geotools.referencing.wkt.Parser.parseAuthority(Parser.java:338) > > at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:883) > > at > > org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:222) > > at > > org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:201) > > > > within the wkt-string the AUTHORITY section looks like : > > > > AUTHORITY["ESRI",102018] > > The code must be between quote, like: > > AUTHORITY["ESRI","102018"] > > However I realize that the error message was confusing. We could change the > WKT > parser so that it accepts unquoted integers as well. > > Martin > ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel