燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-04-27 bf27e24f68cf41a07ba0e5c4dc6ac1c086b6652d
src/main/java/com/yssh/service/impl/ExpPointServerImpl.java
@@ -7,6 +7,8 @@
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;
@@ -30,7 +32,7 @@
@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;
@@ -93,11 +95,12 @@
      
      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);*/