Questions tagged [fiona]

Tool to automatically analyze the interactional behavior of a given oWFN. It checks for the controllability of the given net by computing the interactiong graph and it calculates the operating guideline for the net.

156 questions
0
votes
0 answers

Permission Denied error with Fiona/GeoPandas

I am currently working on a Python project that reads in shape files using geopandas. Data is then written to a .csv file in another directory. When I run the python code directly I have no issues. Everything works as intended. However, I need to be…
zmangum17
  • 1
  • 2
0
votes
0 answers

Read shapefile bigger than 2Gb with python

I have a shapefile whose .dbf file is 2.1Gb in size and I'm attempting to read it using geopandas or fiona. However, when reading the file, the file is not read in its entirety meaning that I'm losing quite a significant amount of rows. Searching…
0
votes
1 answer

How to import GDAL embedded in new Fiona wheels

Since october 2022, Fiona's wheels include GDAL (according to the releases documentations). Many packages refer to GDAL using this command, but it won't work : from osgeo import gdal For instance, I've just loaded an environment using poetry (and…
tgrandje
  • 2,332
  • 11
  • 33
0
votes
0 answers

Geopandas and Fiona GDB Driver issue on Mac M1

I have Geopandas 0.9.0 and Fiona 1.8.13.post1 installed in a Conda environment and I am getting a driver error when opening an ESRI gdb file. The same setup works flawlessly on my older Intel Mac. I am at a loss in how to troubleshoot this. I tried…
timkado
  • 1,922
  • 2
  • 17
  • 27
0
votes
1 answer

Received geo data of Riyadh traffic from HERE api as shape points, how to load them into geopandas?

I'm new to geospatial data, and I've collected some traffic flow data of Riyadh using HERE API by using this request…
0
votes
1 answer

[Geopandas error]fiona.errors.DriverError: '/vsimem/3563f91543824520abdaa032ab1a68da' not recognized as a supported file format

I wanted to read the .shp files by the file_uploader of streamlit. Get the list of shp files from the file_uploader of streamlit. Read the shp files using the geopandas. Here's my code. st.session_state.data_01 = st.file_uploader('Please choose a…
JaeEun Yoo
  • 1
  • 1
  • 2
0
votes
0 answers

What is causing code to fail after creating executable? Fiona CRS error

I have some code that uses geopandas to take data and convert it to a shapefile. The code works perfectly fine when I run it in pycharm. However, if I put the code into a executable using "pyinstaller --onefile" the executable fails to run. Note…
Adam
  • 1
0
votes
0 answers

Implement solution to get stable gdal and fiona library versions on Windows

I am trying to read a shapefile using python's geopandas in vscode. I successfully installed geopandas using conda, but when I use gpd.read_file, I get the following error output: ImportError: the 'read_file' function requires the 'fiona' package,…
prayner
  • 393
  • 1
  • 10
0
votes
1 answer

geopandas read_file function causes ImportError

I just got a new computer and after downloading the newest version of the anaconda distribution I tried to install geopandas and run my script. However, the gpd.read_file command causes an ImportError. I have been trying to reinstall everything but…
christleu
  • 11
  • 1
0
votes
1 answer

Replacing ID values of polygons in a geodataframe to values of polygons from another geodataframe

I have polygons inside another bigger single polygon and I want to be able to replace the ID values (for example) of the former polygon to that of the latter. Suppose I have a geodataframe with 3 polygons and the IDs of them are [8, 20, 55]. Now,…
Kush
  • 1
0
votes
0 answers

Why is installing Fiona taking too long and crashes at the end?

So I've been trying to install geopandas and I found out I have to install GDAL and Fiona first. I installed GDL with the command conda install -c conda-forge gdal Then I am trying to install Fiona but it seems to be taking way more than it…
0
votes
1 answer

while importing fiona module getting error

I have already install the Fiona using the command pip3 install Fiona Now in my .py file I'm trying to import Fiona using import fiona it gave me this error: SBCs-MacBook-Pro:gis-python sbc$ python practice.py Traceback (most recent call last): …
HEMANTA
  • 71
  • 7
0
votes
0 answers

Issue installing geopandas package

I understand that GDAL is a prerequisite and have followed other threads to download the wheel file from Laboratory of Fluorescence Dynamics even taking note which file to download based on the python version for compatibility however, there is…
0
votes
1 answer

how to install fiona on windows

i am trying to install fiona package. i tried to install it via pip command and as a wheel, but either of them fails and i get the below posted error. GDAL, shapely and psycopg2 are installed. please let me know how to install fiona on…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
0
votes
0 answers

'str' object has no attribute 'get' when creating a mask on dataset

i am trying to make a mask on a dataset as follows: out_image, g= rasterio.mask.mask(dataset=NDVIsTIFFAsDataset, shapes=bufferedTreatmentAsGeoJSONInEPSG3857) the value of the shapes parameter is shown below in the geojson-section. when i run the…
Amrmsmb
  • 1
  • 27
  • 104
  • 226