hotosm / osm-fieldwork

Processing field data from ODK to OpenStreetMap format, and other field data collection utils.
GNU Affero General Public License v3.0
16 stars 79 forks source link

Outreachy Task #243

Closed endurijahnavi closed 8 months ago

endurijahnavi commented 8 months ago

PR for outreachy Task

The support for parsing GeoJSON files on disk has been removed from the BaseMapper class and has been placed inside the main() function that is only used when running basemapper via the command line. The file is to be read and converted to BytesIO object, before passing through to the create_basemap_file function.

Changes

Tests According to the guidance given in Basemapper allow for in memory BytesIO GeoJSON for boundary param the code was tested on below commands