Skip to content

Conversation

rudokemper
Copy link
Member

Goal

Closes #86.

What I changed

  • locusmap.py now imports and utilizes save_data_to_file() and save_geojson_as_postgres()
  • Additionally, I sought fit to also save the original Locus Map export file (e.g. GPX, CSV, KML) in file storage, since the user may want to access these files again e.g. to load in a specific software that doesn't support Postgres or GeoJSON.
  • Added a utility function _make_geojson_features() used when transforming each of the Locus Map export formats to GeoJSON.

@rudokemper rudokemper requested a review from IamJeffG April 29, 2025 03:26
@rudokemper rudokemper merged commit 73b8781 into main Apr 29, 2025
1 check passed
@rudokemper rudokemper deleted the dry-connectors-2 branch April 29, 2025 16:53
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

Successfully merging this pull request may close these issues.

[connectors] Import and use GeoJSON-to-Postgres script across other connector scripts

2 participants