Class FeatureConversions


  • public class FeatureConversions
    extends Object
    • Constructor Detail

      • FeatureConversions

        public FeatureConversions()
    • Method Detail

      • serialize

        public static void serialize​(org.opengis.feature.simple.SimpleFeature feature,
                                     HeaderMeta headerMeta,
                                     OutputStream to,
                                     com.google.flatbuffers.FlatBufferBuilder builder)
                              throws IOException
        Throws:
        IOException
      • buildGeometry

        protected static int buildGeometry​(org.opengis.feature.simple.SimpleFeature feature,
                                           com.google.flatbuffers.FlatBufferBuilder builder,
                                           HeaderMeta headerMeta)
                                    throws IOException
        Throws:
        IOException
      • deserialize

        public static org.opengis.feature.simple.SimpleFeature deserialize​(Feature feature,
                                                                           org.geotools.feature.simple.SimpleFeatureBuilder fb,
                                                                           HeaderMeta headerMeta,
                                                                           String fid)