I have a string representation of a point in a given CRS (namely, EPSG:3035
), such as "N10160E21266
". I'd like to parse it using GeoTools to create a DirectPosition
, or any another X/Y representation (in order to transform it from a CRS to another CRS; I have a MathTransform at hand).
Is there a parse method already implemented somewhere in GeoTools?
It's probably not difficult to create a custom one, but this may be error-prone and I'm not a GIS specialist (how to properly handle north/easting etc).