Skip to main content
15 events
when toggle format what by license comment
Oct 3, 2020 at 13:21 comment added Alz @RogerAlmengor I am not sure if I understand the question, can you explain a bit more?
Oct 3, 2020 at 13:17 comment added Alz @zwornik the buffer here is a shapely method. Shapely operates on a cartesian plane and have no notion of projection or geography. If you have lat/lon and you expect the buffer to give you distance, you need to project the coordinated into an appropriate coordinate system first.
Oct 3, 2020 at 13:00 comment added Alz @jesnes I am sorry for the late response. I am not sure about that, I don't know the internals of Geopandas to be honest. But a simple test tells me that it is probably not the case: %timeit gdf.geometry.buffer(2) and %timeit [i.buffer(2) for i in gdf.geometry] on a somewhat large data give similar numbers (%timeit is an ipython magic command for simple benchmark). If it was vectorized, I would expect the former to be substantially faster.
Sep 30, 2020 at 10:56 comment added Roger Almengor Is there a way to perform the buffer but keeping the squared corners in rectangles?
Sep 27, 2020 at 19:23 comment added zwornik @Alz If soure GeoDataFrame has geographic projection should it be first reprojected to projected coordinate system?
Jul 15, 2020 at 18:40 comment added jesnes @Alz Does this mean that the geopandas overlay and geometry manipulation functions are vectorized?
S Mar 5, 2020 at 9:47 history suggested Alz CC BY-SA 4.0
add import statements
Mar 5, 2020 at 9:46 review Suggested edits
S Mar 5, 2020 at 9:47
Apr 1, 2019 at 9:39 comment added Alz can you give an example?
Apr 1, 2019 at 6:30 comment added user32882 not invalid... null geometry (empty) its not the same thing
Mar 31, 2019 at 22:47 comment added Alz @user32882 you cannot even create a GeoDataFrame if your input geometries are not valid
Mar 30, 2019 at 16:44 comment added user32882 This won't work if your original dataframe has null geometries
Aug 28, 2017 at 16:00 vote accept RutgerH
Aug 26, 2017 at 0:15 review First posts
Aug 26, 2017 at 0:40
Aug 26, 2017 at 0:13 history answered Alz CC BY-SA 3.0