所有类
-
所有类 接口概要 类概要 类 说明 Feature 要素 包含properties和geometryFeatureCollection FeatureCollectionGeoJsonFeatureConverter feature与geojson互转 线程安全GeoJsonObject geojson对象GeoJsonObject.Feature GeoJsonObject.FeatureCollection GeoJsonObject.Geometry GeoJsonObject.GeometryCollection GeoJsonObject.LineString GeoJsonObject.MultiLineString GeoJsonObject.MultiPoint GeoJsonObject.MultiPolygon GeoJsonObject.Point GeoJsonObject.Polygon ProtoFeature ProtoFeature.Feature Feature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用ProtoFeature.Feature.Builder Feature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用ProtoFeature.FeatureCollection FeatureCollectionProtoFeature.FeatureCollection.Builder FeatureCollectionProtoFeature.FeatureCollectionOrBuilder ProtoFeature.FeatureOrBuilder ProtoFeature.Geometry geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空ProtoFeature.Geometry.Builder geometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空ProtoFeature.GeometryCollection GeometryCollection 注意 GeometryCollection允许嵌套ProtoFeature.GeometryCollection.Builder GeometryCollection 注意 GeometryCollection允许嵌套ProtoFeature.GeometryCollectionOrBuilder ProtoFeature.GeometryOrBuilder ProtoFeature.LineString LineString 包含线段上各个点的x y z坐标,z可选。ProtoFeature.LineString.Builder LineString 包含线段上各个点的x y z坐标,z可选。ProtoFeature.LineStringOrBuilder ProtoFeature.Map 属性 支持的属性类型 double float sint32 sint64 bool string bytes subProperty 属性使用keyId-value或keyId-valueId格式来存储 sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后: FeatureCollection { keys = ['id','name','age'],//所有的key收集到keys中 sint32Values = [4,5],//所有的int value收集到sint32Values中 stringValues = ['tom','jerry'],//所有的string value收集到stringValues中 //其它类型的属性也是类似的方式收集为key value propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储 {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0} {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1} ] }ProtoFeature.Map.Builder 属性 支持的属性类型 double float sint32 sint64 bool string bytes subProperty 属性使用keyId-value或keyId-valueId格式来存储 sint64、string等可能占用4字节及以上的对象,用valueId(int32)取代value来存储以减少体积 value本身则存放到FeatureCollection中 示例 [{id:4,name:'tom'},{id:5,name:'jerry',age:4}]转换后: FeatureCollection { keys = ['id','name','age'],//所有的key收集到keys中 sint32Values = [4,5],//所有的int value收集到sint32Values中 stringValues = ['tom','jerry'],//所有的string value收集到stringValues中 //其它类型的属性也是类似的方式收集为key value propertiess = [//具体的属性用keyId-value或keyId-valueId格式来存储 {sint32KeyIds=[0], sint32ValueIds=[0], stringKeyIds=[1], stringValueIds=[0]},//tom的属性 {0:0, 1:0} {sint32KeyIds=[0,2], sint32ValueIds=[1,0], stringKeyIds=[1], stringValueIds=[1]}//jerry的属性 {0:1, 1:1, 2:1} ] }ProtoFeature.MapOrBuilder ProtoFeature.MultiLineString MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。ProtoFeature.MultiLineString.Builder MultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。ProtoFeature.MultiLineStringOrBuilder ProtoFeature.MultiPoint MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。ProtoFeature.MultiPoint.Builder MultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。ProtoFeature.MultiPointOrBuilder ProtoFeature.MultiPolygon MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。ProtoFeature.MultiPolygon.Builder MultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。ProtoFeature.MultiPolygonOrBuilder ProtoFeature.Point Point,包含点的 x y z坐标 ,z可选。ProtoFeature.Point.Builder Point,包含点的 x y z坐标 ,z可选。ProtoFeature.PointOrBuilder ProtoFeature.Polygon Polygon 包含多边形上各个点的x y z坐标,z可选。ProtoFeature.Polygon.Builder Polygon 包含多边形上各个点的x y z坐标,z可选。ProtoFeature.PolygonOrBuilder ProtoFeatureConverter ProtoFeature bytes与Feature的相互转换