类的使用
org.meteoinfo.geometry.io.geojson.Geometry
-
使用Geometry的程序包 程序包 说明 org.meteoinfo.geometry.io.geojson -
-
org.meteoinfo.geometry.io.geojson中Geometry的使用
org.meteoinfo.geometry.io.geojson中Geometry的子类 修饰符和类型 类 说明 classGeometryCollectionclassLineStringclassMultiLineStringclassMultiPointclassMultiPolygonclassPointclassPolygon返回Geometry的org.meteoinfo.geometry.io.geojson中的方法 修饰符和类型 方法 说明 static GeometryGeoJSONUtil. fromShape(PolygonShape polygonShape)Convert PolygonShape to GeoJSON Polygon or MultiPolygonstatic GeometryGeoJSONUtil. fromShape(PolylineShape polylineShape)Convert PolylineShape to GeoJSON LineString or MultiLineStringstatic GeometryGeoJSONUtil. fromShape(Shape shape)Convert shape to GeoJSON geometryGeometry[]GeometryCollection. getGeometries()GeometryFeature. getGeometry()参数类型为Geometry的org.meteoinfo.geometry.io.geojson中的方法 修饰符和类型 方法 说明 static ShapeTypesGeoJSONUtil. getShapeType(Geometry geometry)Get shape type from GeoJSON geometrystatic ShapeGeoJSONUtil. toShape(Geometry geometry)Convert GeoJSON geometry to shape参数类型为Geometry的org.meteoinfo.geometry.io.geojson中的构造器 构造器 说明 Feature(Object id, Geometry geometry, Map<String,Object> properties)Feature(Geometry geometry, Map<String,Object> properties)GeometryCollection(Geometry[] geometries)
-