locationtech / rasterframes

Geospatial Raster support for Spark DataFrames
http://rasterframes.io
Apache License 2.0
243 stars 46 forks source link

Refine CRS WKT parsing error message and test #439

Closed vpipkt closed 4 years ago

vpipkt commented 4 years ago

Related to #438

Adds some additional keywords that are supported under the geotrellis.proj4.io.wkt parsing module.

The implementations under the hood here are quite strict to the exact expression of the WKT string, for instance it seems the names have to be exactly equal, though in practice the names seem to vary by different sources giving otherwise equivalent CRS.

In general the user would be best served to use an EPSG code if known, or proj string if that's appropriate.