I'm following the GeoTools documentation and found this:
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(null);
Coordinate coord = new Coordinate(45, 15);
Point point = geometryFactory.createPoint(coord);
When I put it in intellij IDE, for each class there are several suggested imports to use. What import I need to select?
Alternative way (with same issue) is:
GeometryBuilder builder = new GeometryBuilder(DefaultGeographicCRS.WGS84);
Point point = builder.createPoint(45, 15);