gis-tools-ts - v0.6.0
    Preparing search index...

    Function vectorToFlat

    • Convert a GeoJSON Vector Geometry to a Flat GeoJSON Geometry

      Type Parameters

      • M extends Properties = Properties

      Parameters

      • geometry: VectorGeometry<M>

        GeoJSON Vector Geometry

      • OptionalbuildBBox: boolean

        optional - build a bbox for the feature if desired

      Returns Geometry<M>

      • GeoJSON Geometry