Tag Info

Hot answers tagged


You need to import the GeoJSON plugn <dependency> <groupId>org.geotools</groupId> <artifactId>gt-geojson</artifactId> <version>${geotools.version}</version> </dependency> and then call it like this (a full example is here): public String geoData() { final GeometryBuilder builder = new ...


From the GeoTools Referencing FAQ - Can I just use Referencing without the rest of GeoTools? Yes, you will need to use the metadata module, and one of the epsg modules. Along with their dependencies such as units. Then all you need to do is: CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:4326"); MathTransform transform = ...


The dataset use Pan-European mapping standard projection system - EPSG3035 If you are open to non-java tool and simplicity, you will be able to reproject the file to WGS84 using GDAL/OGR : http://www.gdal.org/, that way : ogr2ogr -f "ESRI Shapefile" path/to/NUTSV9_LEAC.shp NUTSV9_LEAC_wgs84.shp -s_srs EPSG:3035 -t_srs EPSG:4326

Only top voted, non community-wiki answers of a minimum length are eligible