| | |
| | | import java.util.List; |
| | | import java.util.concurrent.atomic.AtomicInteger; |
| | | |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.geotools.geojson.geom.GeometryJSON; |
| | | import org.locationtech.jts.geom.Coordinate; |
| | | import org.locationtech.jts.geom.Geometry; |
| | |
| | | @Service |
| | | public class ExpPointServerImpl implements IExpPointServer { |
| | | |
| | | protected final Logger logger = LoggerFactory.getLogger(this.getClass()); |
| | | protected final Log logger = LogFactory.getLog(this.getClass()); |
| | | |
| | | @Autowired |
| | | private ExpPointMapper expPointMapper; |
| | |
| | | |
| | | int numPoints = geo.getNumPoints(); |
| | | |
| | | List<Coordinate> cs = new ArrayList<>(Arrays.asList(geo.getCoordinates())); |
| | | /*List<Coordinate> cs = new ArrayList<>(Arrays.asList(geo.getCoordinates())); |
| | | cs.forEach(c -> { |
| | | System.out.println(c.getY() + " " + c.getX() + " " + c.getZ()); |
| | | }); |
| | | });*/ |
| | | System.out.println(numPoints); |
| | | |
| | | /*String text = union.toText(); |
| | | System.out.println(text);*/ |
| | | |