Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
measprocess
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Eller
measprocess
Commits
21f09047
Commit
21f09047
authored
Apr 13, 2021
by
Sonja Tripkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in geospatial.py: get_geoseries_blockages: #Polygon needs at least 3 nodes
parent
c3be6150
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
geospatial.py
measprocess/geospatial.py
+1
-1
No files found.
measprocess/geospatial.py
View file @
21f09047
...
...
@@ -86,7 +86,7 @@ def get_geoseries_blockages(measurement_coords : gpd.GeoSeries, retries : int =
blockages
=
gpd
.
GeoSeries
(
Polygon
(
((
node
.
lon
,
node
.
lat
)
for
node
in
way
.
nodes
)
((
node
.
lon
,
node
.
lat
)
for
node
in
way
.
nodes
if
len
(
way
.
nodes
)
>
2
)
# Polygon needs at least 3 nodes
)
for
way
in
result
.
ways
)
.
set_crs
(
"EPSG:4326"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment