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

    Function geoToVector

    • Convert a GeoJSON Geometry to an Vector Geometry

      Type Parameters

      • M extends Properties = Properties

      Parameters

      • geometry: Geometry<M>

        GeoJSON Geometry

      • OptionalbuildBBox: boolean

        optional - build a bbox for the feature if desired

      Returns VectorGeometry<M>

      • GeoJson Vector Geometry