类 ProtoFeature
- java.lang.Object
-
- org.wowtools.giscat.vector.pojo.proto.ProtoFeature
-
public final class ProtoFeature extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classProtoFeature.FeatureFeature 由于properties存放的是key id、value id,所以对其序列化/反序列化没有实际意义,故这个对象仅作保留而不会使用static classProtoFeature.FeatureCollectionFeatureCollectionstatic interfaceProtoFeature.FeatureCollectionOrBuilderstatic interfaceProtoFeature.FeatureOrBuilderstatic classProtoFeature.Geometrygeometry 包含了所有jts规范中所罗列的Geometry类型 每个Geometry允许且仅允许其中一种对象非空static classProtoFeature.GeometryCollectionGeometryCollection 注意 GeometryCollection允许嵌套static interfaceProtoFeature.GeometryCollectionOrBuilderstatic interfaceProtoFeature.GeometryOrBuilderstatic classProtoFeature.LineStringLineString 包含线段上各个点的x y z坐标,z可选。static interfaceProtoFeature.LineStringOrBuilderstatic classProtoFeature.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} ] }static interfaceProtoFeature.MapOrBuilderstatic classProtoFeature.MultiLineStringMultiLineString 包含MultiLineString上各个点的x y z坐标,z可选。static interfaceProtoFeature.MultiLineStringOrBuilderstatic classProtoFeature.MultiPointMultiPoint 包含MultiPoint上各个点的x y z坐标,z可选。static interfaceProtoFeature.MultiPointOrBuilderstatic classProtoFeature.MultiPolygonMultiPolygon 包含MultiPolygon上各个点的x y z坐标,z可选。static interfaceProtoFeature.MultiPolygonOrBuilderstatic classProtoFeature.PointPoint,包含点的 x y z坐标 ,z可选。static interfaceProtoFeature.PointOrBuilderstatic classProtoFeature.PolygonPolygon 包含多边形上各个点的x y z坐标,z可选。static interfaceProtoFeature.PolygonOrBuilder
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static com.google.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
-
-
方法详细资料
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
-
getDescriptor
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
-
-