We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b72d6fc + 826f87e commit 8ac276aCopy full SHA for 8ac276a
2 files changed
frost_sta_client/__version__.py
@@ -1,5 +1,5 @@
1
__title__ = 'frost_sta_client'
2
-__version__ = '1.1.25'
+__version__ = '1.1.26'
3
__license__ = 'LGPL3'
4
__author__ = 'Katharina Emde'
5
__copyright__ = 'Fraunhofer IOSB'
frost_sta_client/utils.py
@@ -109,4 +109,6 @@ def process_area(value):
109
return geojson.geometry.Polygon(value["coordinates"])
110
if value["type"] == "Geometry":
111
return geojson.geometry.Geometry(value["coordinates"])
112
- raise ValueError("can only handle geojson of type Point, Polygon or Geometry")
+ if value["type"] == "LineString":
113
+ return geojson.geometry.LineString(value["coordinates"])
114
+ raise ValueError("can only handle geojson of type Point, Polygon, Geometry or LineString")
0 commit comments