metadata
title: geospatial-data-converter
emoji: π
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
pinned: true
tags:
- geospatial
- streamlit
- docker
geospatial-data-converter
This project showcases a simple geospatial data converter using Streamlit and GeoPandas.
Features
- User-friendly interface for easy data conversion
- Supports conversion from the following input formats:
- ArcGIS featurelayer URL
- Uploaded file: KML, KMZ, GeoJSON, ZIP, etc
- Provides data in the selected output format
- Presents data preview (geometry omitted for display purposes)
- Download button for the converted data
Deployment
geospatial-data-converter
is deployed as a Docker image based on the python:3.11-slim-bookworm
image.
With Docker (pull from Docker Hub)
- Run in terminal:
docker run -p 7860:7860 <your-dockerhub-username>/geospatial-data-converter:latest
- Open http://localhost:8501 in your browser
Docker Compose (build locally)
- Clone the repo. Navigate to cloned repo directory
- Run in terminal:
docker compose up
- Open http://localhost:7860 in your browser
Run Tests (with local Docker container)
- Run in terminal:
docker compose run test
Kubernetes
- Clone the repo. Navigate to cloned repo directory
- Run bash script:
/bin/bash ./kubernetes/deploy.sh
- Get the IP address for your new service:
kubectl get service geospatial-data-converter