From 9ec433a7b32f3b1ec481c4da0474def76fe039ff Mon Sep 17 00:00:00 2001 From: Lukas Eller Date: Fri, 19 Feb 2021 17:00:17 +0100 Subject: [PATCH] first draft geospatial --- measprocess/geospatial.py | 7 +++++++ requirements.txt | 8 ++++---- tests/geospatial_test.py | 7 +++++++ 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 tests/geospatial_test.py diff --git a/measprocess/geospatial.py b/measprocess/geospatial.py index e69de29..2216ef2 100644 --- a/measprocess/geospatial.py +++ b/measprocess/geospatial.py @@ -0,0 +1,7 @@ +import pandas as pd +import geopandas as gpd +import overpy + +class OSM_API(): + #Collect all the possible queries here + pass diff --git a/requirements.txt b/requirements.txt index 4350e3f..777dd38 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -#Needs to be adapted - -pandas >= 1.2.1 -pytest >= 6.2.2 \ No newline at end of file +pandas==1.2.1 +pytest==6.2.2 +overpy==0.4 +geopandas==0.8.1 \ No newline at end of file diff --git a/tests/geospatial_test.py b/tests/geospatial_test.py new file mode 100644 index 0000000..fb1b6f2 --- /dev/null +++ b/tests/geospatial_test.py @@ -0,0 +1,7 @@ +from context import measprocess as mpc + +class TestOSMAPI(unittest.TestCase): + pass + +class TestProjections(unittest.TestCase): + pass -- GitLab