Hello All, I'm getting a NoSuchIdentifierException: No transform for classification "Equirectangular" exception in trying to create a Plate Carree or Equirectangular projected coordinate system. I thought "Plate_Carree" was a valid EPSG identifier, but I'm certain that "Equirectangular" is. Can anyone tell me what I'm doing wrong in the code below. Full stack trace at the end of the message. RSFactory crsFactory = FactoryFinder.getCRSFactory(null); String wkt = "PROJCS[\"World_Plate_Carree\", " + "GEOGCS[\"WGS84\", " + "DATUM[\"WGS84\", " + "SPHEROID[\"WGS84\", 6378137.0, 298.257223563]], " + "PRIMEM[\"Greenwich\", 0.0], " + "UNIT[\"degree\",0.017453292519943295]], " + "PROJECTION[\"Equirectangular\"], " + "PARAMETER[\"false_easting\", 0.0], " + "PARAMETER[\"false_northing\", 0.0], " + "PARAMETER[\"central_meridian\", -180.0], " + "UNIT[\"meter\",1.0]]"; CoordinateReferenceSystem targetCRS = crsFactory.createFromWKT(wkt); Thanks! -- john Stack trace: org.opengis.referencing.NoSuchIdentifierException: No transform for classification "Equirectangular". at org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:265) at org.geotools.referencing.operation.DefaultMathTransformFactory.getDefaultParameters(DefaultMathTransformFactory.java:292) at org.geotools.referencing.wkt.Parser.parseProjection(Parser.java:569) at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:865) at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:269) at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:250) at org.geotools.referencing.factory.GeotoolsFactory.createFromWKT(GeotoolsFactory.java:1126) at com.jccartwright.ProjectionTest.transform(ProjectionTest.java:88) at com.jccartwright.ProjectionTest.main(ProjectionTest.java:40) |
- [Geotools-gt2-users] problem creating Plate Carree Co... John Cartwright
- RE: [Geotools-gt2-users] problem creating Plate C... John Grange
- Re: [Geotools-gt2-users] problem creating Pla... Martin Desruisseaux
- RE: [Geotools-gt2-users] problem creating Plate C... John Grange
- Re: [Geotools-gt2-users] problem creating Pla... Martin Desruisseaux
- Re: [Geotools-gt2-users] problem creating... Rueben Schulz
- Re: [Geotools-gt2-users] problem crea... Martin Desruisseaux
- Re: [Geotools-gt2-users] problem... Rueben Schulz
- Re: [Geotools-gt2-users] problem crea... Martin Desruisseaux
- Re: [Geotools-gt2-users] problem creating... Rueben Schulz
