connorsutton commited on
Commit
d729916
·
unverified ·
2 Parent(s): 6e652a3 6f8b977

Merge pull request #2 from joshuasundance-swca/connor

Browse files
.github/workflows/hf-space.yml CHANGED
@@ -18,4 +18,4 @@ jobs:
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run: |
21
- git push https://joshuasundance:[email protected]/spaces/joshuasundance/geospatial_data_converter main
 
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run: |
21
+ git push https://joshuasundance:[email protected]/spaces/joshuasundance/geospatial-data-converter main
README.md CHANGED
@@ -39,7 +39,7 @@ This project showcases a simple geospatial data converter using [Streamlit](http
39
  - User-friendly interface for easy data conversion
40
  - Supports conversion from the following input formats:
41
  - ArcGIS featurelayer URL
42
- - Uploaded file: KML, KMZ, GeoJSON, ZIP
43
  - Provides data in the selected output format
44
  - Presents data preview (geometry omitted for display purposes)
45
  - Download button for the converted data
@@ -58,7 +58,7 @@ This project showcases a simple geospatial data converter using [Streamlit](http
58
  3. Open http://localhost:7860 in your browser
59
 
60
  ## Run Tests (with local Docker container)
61
- 1. Run in terminal: 'docker compose run test pytest'
62
 
63
  ## Kubernetes
64
  1. Clone the repo. Navigate to cloned repo directory
 
39
  - User-friendly interface for easy data conversion
40
  - Supports conversion from the following input formats:
41
  - ArcGIS featurelayer URL
42
+ - Uploaded file: KML, KMZ, GeoJSON, ZIP, etc
43
  - Provides data in the selected output format
44
  - Presents data preview (geometry omitted for display purposes)
45
  - Download button for the converted data
 
58
  3. Open http://localhost:7860 in your browser
59
 
60
  ## Run Tests (with local Docker container)
61
+ 1. Run in terminal: `docker compose run test`
62
 
63
  ## Kubernetes
64
  1. Clone the repo. Navigate to cloned repo directory
docker-compose.yml CHANGED
@@ -19,5 +19,8 @@ services:
19
  context: .
20
  dockerfile: Dockerfile
21
  target: runtime
 
 
 
22
  ports:
23
  - "${APP_PORT:-7860}:${APP_PORT:-7860}"
 
19
  context: .
20
  dockerfile: Dockerfile
21
  target: runtime
22
+ depends_on:
23
+ test:
24
+ condition: service_completed_successfully
25
  ports:
26
  - "${APP_PORT:-7860}:${APP_PORT:-7860}"
requirements.txt CHANGED
@@ -2,7 +2,8 @@ aiohttp==3.9.1
2
  beautifulsoup4==4.12.2
3
  geopandas==0.14.1
4
  lxml==4.9.3
 
5
  pyogrio==0.7.2
6
  restgdf==0.9.7
7
  streamlit==1.29.0
8
- topojson
 
2
  beautifulsoup4==4.12.2
3
  geopandas==0.14.1
4
  lxml==4.9.3
5
+ numpy==1.26.2 # pinned for snyk
6
  pyogrio==0.7.2
7
  restgdf==0.9.7
8
  streamlit==1.29.0
9
+ topojson==1.7