Function syncToProjects

  • Useful to bulk sync a list of projects/geometries from outside of Giraffe and make corresponding projects in Giraffe.

    Use With Caution! This can create many duplicate projects if used incorrectly.

    Parameters

    • fc: PolygonFeatureCollection

      FeatureCollection containing a polygon for each project (existing or to be created)

    • idGetter: ((f: GeoJsonPolygon | Project) => string)
        • (f): string
        • Parameters

          Returns string

    Returns Promise<number[]>