Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Farmer Importing - KML to JSON #55

Open
rayoz12 opened this issue Sep 1, 2022 · 0 comments
Open

Farmer Importing - KML to JSON #55

rayoz12 opened this issue Sep 1, 2022 · 0 comments

Comments

@rayoz12
Copy link
Collaborator

rayoz12 commented Sep 1, 2022

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.
@rayoz12 rayoz12 self-assigned this Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant