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
4
votes
1 answer
Fiona installation error on windows using pip
I have created a python environment in my windows system. Python version is 3.6.6 I wanted to install Fiona. Tried using pip command as
pip install Fiona
But got the error as
Collecting Fiona
Using cached…

Sreeja
- 53
- 1
- 3
4
votes
2 answers
PyInstaller not able to create exe using geopandas and fiona. Even if I create with some changes in .spec file exe is not working
I am using simple code to create exe using pyinstaller using geopandas and fiona as imports.
Sample code:
import glob
import geopandas as gpd
from pyproj import _datadir, datadir
import fiona
from osgeo import gdal, ogr, osr
from fiona.ogrext import…

Suryakant Upadhayay
- 81
- 1
- 4
4
votes
0 answers
Geopandas and Geoplot no longer importing after installation
I'm currently trying to reinstall Geopandas as well as Geoplot. The packages were installed previously, and worked fine earlier today. However due to a package limitation I needed to reinstall anaconda completely.
I've tried installing it via the…

Sebastian Goslin
- 477
- 1
- 3
- 22
4
votes
3 answers
fiona import issues in python
i have installed fiona using whl distributions.. but while importing i am getting following error :
---------------------------------------------------------------------------
ImportError Traceback (most recent call…

Python Spark
- 303
- 2
- 6
- 16
3
votes
0 answers
Geopandas readfile zip gives fiona.errors.DriverError:not recognized as a supported file format
I try to read_file with geopandas. I want to read a zip file. The zip file is sended with a request and type is: django.core.files.uploadedfile.InMemoryUploadedFile
my code is as follows:
fileobject = request.FILES['map']
gdf =…

gul
- 31
- 1
3
votes
1 answer
Edit polygon coords using Python, Shapely and Fiona
I need to edit the geometry of intersecting polygons and I don't know how I can save modified geometry to a shapefile. Is it even possible?
from shapely.geometry import Polygon, shape
import matplotlib.pyplot as plt
import fiona
c =…

anyryg
- 313
- 2
- 13
3
votes
0 answers
Error when opening some gdb files with fiona and geopandas
I am trying to open NYC LION Geodatabase files for 2010, 2011, and 2012.
I successfully opened the 2012 and 2011 geodatabases with geopandas, but I was unable to open the 2010 version.
I've tried using fiona directly, but I kept getting a similar…

Jeremy Sze
- 31
- 2
3
votes
1 answer
Overlap error using Rasterio mask in Python
I have a satellite image raster file and a Shapefile consisting of several discrete polygons. I would like to individually extract (or mask) the Numpy image array for each of these polygons from the raster file.
Currently, I import the Shapefile…

Will000
- 31
- 1
- 4
3
votes
2 answers
Is it possible to read GML or KML files with Fiona?
I'd like to know if it's possible to read/write GML files (or even KML files) using Fiona.
Fiona documents don't specify what drivers we can use. I read some answers about the drivers that are avalaible but I still haven't figured out the right…

Daniel
- 87
- 1
- 7
3
votes
0 answers
Snap a GeoDataFrame of points to nearest line in separate GeoDataFrame
I have a GeoDataFrame events containing only Point geometries and another GeoDataFrame streets containing all LineString geometries. I am trying to snap all of the points in events to the nearest record in street. I haven't found an example using…

blahblahblah
- 2,299
- 8
- 45
- 60
3
votes
0 answers
Geopandas / Fiona read_file IndexError, works with some files
When attempting to use geopandas.read_file('xyz.shp') I will often (but not always) get an error IndexError: list index out of range. It arises in Fiona as well, in both cases while attempting to iterate through features. (See here, and also this…

csg2136
- 235
- 4
- 10
3
votes
0 answers
Schema problems with Fiona
I have been getting a “ValueError: Record does not match collection schema:” error a lot recently. I have been using
form fiona import collection
form shapely.geometry import mapping, shape
with collection(path_in, "r") as input:
schema =…

jovin
- 51
- 3
2
votes
0 answers
AttributeError: partially initialized module 'fiona' has no attribute '_loading' (most likely due to a circular import)
I'm working with polygon data in Python and am having trouble importing packages fiona and geopandas. When I run:
import fiona
I receive the following:
---------------------------------------------------------------------------
AttributeError …

George Perlman
- 67
- 5
2
votes
2 answers
Docker build Fails when trying to install Fiona using python image
I want to build a Docker container with a Python Dash App. The app requires geospatial packages like Geopandas, Folium, Shapely. When trying to build the Docker Image it fails when trying to install Fiona, it says it requires GDAL. I don't know…

Santiago Cuervo
- 53
- 2
2
votes
1 answer
Python shapely & geopandas in dockerimage
I'm trying to build a dockerimage to run a Python script, but I keep getting errors. I searched around a little but and managed to construct the following script, bit I still am receiving errors.
Below you can find the information to reproduce this…

Tars Morel
- 61
- 7