Skip to content

Farmer Importing - KML to JSON #55

@rayoz12

Description

@rayoz12

We need a script to convert the KML to JSON and then send the data to the server's add-farmer endpoint.

Viewing a KML polygon:
https://kmlviewer.nsspot.net/

Rough Steps:

  1. Convert the Excel to csv (if it isn't already)
  2. Map the csv farmer fields to the farmer object
  3. Find that farmer's KML data
  4. Use a library to convert the KML into geoJSON
  5. send the farmer data and geoJSON to the add-farmer endpoint to convert it.
  6. If we need to we can wrap the geojson with the field data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions