Skip to content

Simple Streamlit app for converting between common geospatial data formats

License

Notifications You must be signed in to change notification settings

lucasmcoleman/geospatial-data-converter

 
 

Repository files navigation

title emoji colorFrom colorTo sdk app_port pinned tags
geospatial-data-converter
🌎
green
blue
docker
7860
true
geospatial
streamlit
docker

geospatial-data-converter

License: MIT python GitHub tag (with filter)

Push to Docker Hub Docker Image Size (tag)

Push to HuggingFace Space Open HuggingFace Space

Code Climate maintainability Code Climate issues Code Climate technical debt

pre-commit Ruff Checked with mypy Code style: black

security: bandit Known Vulnerabilities

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
  • 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)

  1. Run in terminal: docker run -p 7860:7860 <your-dockerhub-username>/geospatial-data-converter:latest
  2. Open http://localhost:8501 in your browser

Docker Compose (build locally)

  1. Clone the repo. Navigate to cloned repo directory
  2. Run in terminal: docker compose up
  3. Open http://localhost:7860 in your browser

Kubernetes

  1. Clone the repo. Navigate to cloned repo directory
  2. Run bash script: /bin/bash ./kubernetes/deploy.sh
  3. Get the IP address for your new service: kubectl get service geospatial-data-converter

Links

About

Simple Streamlit app for converting between common geospatial data formats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.3%
  • Dockerfile 5.8%
  • Shell 0.9%