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.
Questions tagged [fiona]
156 questions
2
votes
2 answers
Installing fiona: Must the gdal version be compatible with fiona?
I am on Windows and using Python via Anaconda.
Python 3.8.8, 64 bit AMD64
I downloaded the gdal & fiona wheels…

Peter
- 353
- 3
- 10
2
votes
1 answer
geopandas readfile not recognizing a legit shape file
I am trying to read to geopandas what looks like a legitimate shapefile:
gpd.read_file('https://github.com/altcoder/philippines-psgc-shapefiles/blob/master/source/2015/Municities.zip')
However, I am getting a driver error:
DriverError:…

gio888
- 93
- 2
- 9
2
votes
1 answer
Python Geopandas Unable to Locate Shapefile
Environment:
Python 3.8.6
Conda 4.8.5
Mac OS Catalina 10.15.7
Attempting to read in an ESRI shapefile of UK upper tier local authority boundaries to a python environment. Attempted in both command line and PyCharm with identical error.
Setup…

RAH
- 395
- 2
- 9
2
votes
0 answers
I can't install fiona package in python
I'm trying to pip install geopandas, everytime i try this error pops up:
Collecting fiona
Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command:…

Ark Lomas
- 153
- 1
- 12
2
votes
0 answers
ImportError: No module named _shim
I am using PyInstaller to generate an executable from a python script. This is what I did:
sudo python2 -m PyInstaller ptemplatized.spec
It builds successfully the .exe but when I execute it I get the following error:
[19878] LOADER: Running…

Abderrahmen Mrabet
- 111
- 1
- 3
2
votes
1 answer
How to deal with unsupported types of fiona in python without using arcpy?
I'm working on a project with GIS data from ArcGIS in a .gdb file. I wanted to use fiona/geopandas for this and use the data with some machine learning libraries. Some layers contain unsupported types, mentioned here…

Anton Krashennikov
- 59
- 4
2
votes
1 answer
OSError: could not find or load spatialindex_c.dll
I have installed the whl files for fiona, shapely, gdal, rtree and pyproj. Geopandas is also installed via pip install. But I get the following error when importing it:
import geopandas
Traceback (most recent call last):
File…

IndigoChild
- 842
- 3
- 11
- 29
2
votes
1 answer
DecodeError: 'utf8' codec can't decode in File "fiona\ogrext.pyx"
The error pops up when I try to run GeoPandas to_file. The error message is:
Traceback (most recent call last):
File "", line 1, in
df.to_file('psuedo.shp')
File…

Samantha Leo
- 21
- 1
2
votes
0 answers
import fiona : ImportError: cannot import name 'calc_gdal_version_num'
I'm trying to install geopandas.
Whether I do one of these :
conda install -c conda-forge geopandas
# or
conda install -c conda-forge fiona
# or
pip3 install Fiona‑1.7.9‑cp36‑cp36m‑win_amd64.whl # downloaded from…

François M.
- 4,027
- 11
- 30
- 81
2
votes
2 answers
Find map boundaries for subset of patches in shapefile (Python)
I'm trying to draw a map of some regions in a shapefile in Python. My basic approach is this:
shp = fiona.open("C:/Users/nils/Documents/Maps/my_shapefile.shp")
bds = shp.bounds
ll = (bds[0], bds[1])
ur = (bds[2], bds[3])
coords = list(ll + ur)
w, h…

Nils Gudat
- 13,222
- 3
- 39
- 60
2
votes
0 answers
Keeping Points on Land and Dropping those on Water
I have several polygons which are actually a union of points. I want a reasonably quick way of removing the points which are not land (but on river, lake, ocean, etc).
So I far I have come up with the below method which takes me from the left…

mptevsion
- 937
- 8
- 28
2
votes
1 answer
Installing geopandas on Python 2.6
This is in continuation with my earlier question Geospatial Analytics in Python
I started a new question to keep the 2 issues logically separate.
I have trying to install geopandas on python 2.6
surprisingly, geopandas is already installed by…

GreenThumb
- 483
- 1
- 7
- 25
2
votes
1 answer
Geopandas read_file
I have some problems concerning geopandas and fiona when using the read_file function. Here is my traceback:
df =…

DQ_happy
- 505
- 2
- 6
- 20
2
votes
2 answers
using python to verify that a shapefile is a shapefile (fiona, ogr)
On fiona 1.5.0 (I am getting confused why various files (such as .dbf and a .gdb) are not printing my "Not a Shapefile!" (which is what I want ANYTIME that the file is not a .shp) warning before exiting.
import fiona
import sys
def…

user14696
- 657
- 2
- 10
- 30
2
votes
1 answer
Line vs. Polygon Intersection Coordinates
I am working with Python, Shapely and Fiona. Considering there are two shapefiles available, a line shapefile and a polygon shapefile.
How to obtain an end result shapefile consisting of points of intersection (indicated with Q-marks) and their…

Akhil
- 181
- 1
- 15