Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
107 views

When pandas.read_excel(), df.to_excel(), geopandas.read_file() and gdf.to_file() are called in a certain order in different environments, pd.read_excel() sometimes causes "Kernel has died" ...
2 votes
1 answer
79 views

I’m working with the Ceremonial County Boundaries of England shapefile available here: https://www.data.gov.uk/dataset/0fb911e4-ca3a-4553-9136-c4fb069546f9/ceremonial-county-boundaries-of-england The ...
0 votes
0 answers
48 views

I've seen this issue come up in other pages but none of their solutions worked for me. import plotly.express as px import geopandas as gpd import cartopy.crs as ccrs regions = gpd.read_file("...
1 vote
0 answers
106 views

First time posting so apologies if I miss important info. I keep getting this error but it only happens intermittently so I have had a hard time narrowing down the problem. I have an input of a ...
-1 votes
1 answer
236 views

I have a dataset of line segments derived from many GPS traces, where users have followed the same roads but their paths aren’t identical (think of thousands of cars driving along a road, each with ...
2 votes
1 answer
248 views

Here an example of the geojson written using: geopandas.to_file(path/to/example.geojson) { "type": "FeatureCollection", "name": "example", "crs": { &...
4 votes
2 answers
143 views

I was recently doing some statistics based on openstreetmaps. When I used overpass to export the German Autobahnen and geopandas to calculate their length, I found that the lengths do not match the ...
0 votes
2 answers
94 views

I have a geojson file containing the latitude and longitude coordinates of all of the streets and avenues in New York City - they're all formatted as either LineString and MultiLineString as follows: {...
2 votes
0 answers
55 views

I have a GeoPandas data frame with ‘time’ (datetime with timezone) and ‘geometry’ (geometry) columns that I want to export out to a GPX track file with timestamps for each point. It seems that ....
2 votes
1 answer
119 views

I have a GeoDataFrame I want to plot. This works fine, however somehow I cannot easily plot its legend. I have tried a number of alternatives and checked solutions from googling and LLM, but I do not ...
1 vote
1 answer
61 views

I'm making a map on Pyhton and someone recommended that I reporject it to lon=30 for better visuals. But when I do that a random line over Greenland appears. I can't seem to get rid of it. import ...
1 vote
0 answers
35 views

I'm trying to pass parameters to sql query to be read with from_postgis function in order to get a geopandas dataframe from a postgis database. from sqlalchemy import create_engine from sqlalchemy ...
0 votes
0 answers
51 views

I'm reading a polygon file using geopandas: import osgeo import geopandas as gpd polygon_path = "F:\\data\\LPJP\\gwl2020_ch\\gwl_2020.shp" polygon = gpd.read_file(polygon_path) print(...
0 votes
1 answer
93 views

I am using geopandas and want three subplots. But I could not get pass the subplot axis with geopandas. I am using the geopandas 1.0.1 version. Here is my plotting code: df=pd.read_csv('/home/ruby/...
Ruby's user avatar
  • 51
0 votes
0 answers
100 views

I have a GeoDataFrame that I'm plotting in Matplotlib as a choropleth map. gdf.plot(ax = ax, column = 'column to color by', legend = True, legend_kwds={"label": ...
kp42's user avatar
  • 25

15 30 50 per page
1
2 3 4 5
...
187

AltStyle によって変換されたページ (->オリジナル) /