Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};
public void multiPolygon() throws ParseException {
//Coordinate 方式创建
Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};
Polygon polygon = geometryFactory.createPolygon(linearRing, new LinearRing[]{hole});
Coordinate[] coordinates2 = new Coordinate[]{new Coordinate(650,350), new Coordinate(730,420), new Coordinate(790,380), new Coordinate(765,301), new Coordinate(650,350)};
public void geometryCollection() throws ParseException {
//Coordinate 方式创建
Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};
Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};
public void multiPolygon() throws ParseException {
//Coordinate 方式创建
Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};
Polygon polygon = geometryFactory.createPolygon(linearRing, new LinearRing[]{hole});
Coordinate[] coordinates2 = new Coordinate[]{new Coordinate(650,350), new Coordinate(730,420), new Coordinate(790,380), new Coordinate(765,301), new Coordinate(650,350)};
public void geometryCollection() throws ParseException {
//Coordinate 方式创建
Coordinate[] coordinates = new Coordinate[] {new Coordinate(450,360), new Coordinate(570,380), new Coordinate(570,310), new Coordinate(460,300), new Coordinate(450,360)};