Координаты шейп-файла находятся в EPSG3035, и мне нужно читать их в обычных длинных координатах.
Как я могу сделать это с помощью Geotools?
Мой код без преобразования на данный момент:
ShapefileDataStore dataStore = new ShapefileDataStore(file.toURL());
ContentFeatureSource featureSource = dataStore.getFeatureSource();
ContentFeatureCollection featureCollection = featureSource.getFeatures();
SimpleFeatureIterator iterator = featureCollection.features();
while (iterator.hasNext()) {
SimpleFeature feature = iterator.next();
Collection<Property> properties = feature.getProperties();
etc...
}
Спасибо!