Questions tagged [geoseries]

Use this tag when referring to GeoPandas geoseries

Filter by
Sorted by
Tagged with
4
votes
2answers
687 views

Generate points inside multipolygons using GeoPandas

I have a shapefile which has multipolygon geometries. I want to generate random points inside them using GeoPandas. I tried with the below code but it's not giving geodataframe of points. df = gpd....
1
vote
1answer
696 views

Attempting to get the distance between two Point objects. Getting AttributeError: 'GeoSeries' object has no attribute '_geom'

I am a beginner in GIS. Using the code below to get the distance between two Point objects from two separate GeoDataframe. Using the shapely distance function. Can someone please explain to me what I ...
0
votes
0answers
128 views

Using Yelp API lat/long in Folium -- CRS needed?

I understand the default crs for Folium is EPSG3857. I am pulling lat/long data from a yelp query and am not sure if I need to be converting to a GeoSeries and assigning a CRS to the GeoSeries. It ...
0
votes
2answers
7k views

How to convert GeoSeries polygons to lists of coordinates?

I have a GeoDataFrame consisting polygons. How can I convert each polygon into a list of coordinates? Is there any attribute, method or function in GeoPandas to do this?
8
votes
2answers
14k views

How to convert a GeoSeries to a GeoDataFrame with Geopandas

I'm new in GeoPandas and I try to create my first script. I successfully opened a shapefile and made a union of all entity and an envelope. As it said in GeoPandas doc, after these 2 geometric ...
1
vote
1answer
3k views

Projecting Geoseries Geopandas doesn't work

I have on geoseries that I would like to project to equal area conic of lambret. However my code doesn't work. What is wrong with it? #piece of g_source {GeoSeries}: 156 POINT (-40....