https://github.com/frafra/gpapconv
Geopaparazzi to OSM XML and GeoJSON converter
https://github.com/frafra/gpapconv
docker fastapi geojson-converter geopaparazzi osm-xml poetry python3 sqlite3 uvloop
Last synced: 11 months ago
JSON representation
Geopaparazzi to OSM XML and GeoJSON converter
- Host: GitHub
- URL: https://github.com/frafra/gpapconv
- Owner: frafra
- License: agpl-3.0
- Created: 2018-04-06T19:53:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T04:38:39.000Z (over 1 year ago)
- Last Synced: 2025-03-18T04:42:58.138Z (11 months ago)
- Topics: docker, fastapi, geojson-converter, geopaparazzi, osm-xml, poetry, python3, sqlite3, uvloop
- Language: Python
- Homepage: https://gpapconv.frafra.eu/
- Size: 49.8 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpapconv
Geopaparazzi to OSM XML and GeoJSON converter
Demo: https://gpapconv.frafra.eu/
## Technologies
- [Python 3](https://www.python.org/)
- [FastAPI](https://fastapi.tiangolo.com/)
- [Uvicorn](https://www.uvicorn.org/)
- [sqlite](https://sqlite.org/)
## Setup
### Classic
```bash
python3 -m venv venv
source venv/bin/activate
pip install -e .
```
### Docker
```bash
docker compose up --build
```
## How to use
### Web interface
Open http://localhost:8000.
### Command line interface
From gpap to OSM XML:
```bash
curl -X POST -F "file=@geopaparazzi.gpap" http://localhost:8000/gpap2osm
```
From gpap to OSM GeoJSON:
```bash
curl -X POST -F "file=@geopaparazzi.gpap" http://localhost:8000/gpap2geojson
```