python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Generate points which lie on linestring in geopandas
Lets say that I have the following geodataframe:
import geopandas as gpd
from shapely.geometry import LineString
line = LineString([(2.2, 4.2), (7.2, -25.1), (9.26, -2.456)])
gdf = gpd.GeoDataFrame(i...
Avto Abashishvili
Votes: 0
Answers: 1
Find the smallest enclosing shape in python with a given amount of corners
Say you have two polygons (yellow and orange) representing two observations of the same building. It is likely the building has been modified between the observations.
How can I generate the smallest ...
Mystic
Votes: 0
Answers: 0
How to perform more complex spatial joins with GeoDataFrames?
Given two GeoDataFrames, g1, g2, I want to get all the rows from g1 which do not intersect any rows from g2, or only touch them.
For this there are some operations which I am missing in the interface:...
talz
Votes: 0
Answers: 0
geopandas: match accident point to nearest road
I have the following GeoDataFrames:
accidents_c = collection of all accidents in austria as points,
streets = roads in austria as a linestrings (open street map data)
Both have the crs type epsg:3310
...
Thomas231
Votes: 0
Answers: 2