Shapely VS Fiona

Compare Shapely vs Fiona and see what are their differences.

Shapely

Manipulation and analysis of geometric objects (by shapely)

Fiona

Fiona reads and writes geographic data files (by Toblerity)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Shapely Fiona
7 3
3,678 1,125
1.1% 0.8%
8.4 8.5
16 days ago 9 days ago
Python Python
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Shapely

Posts with mentions or reviews of Shapely. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-26.

Fiona

Posts with mentions or reviews of Fiona. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-25.
  • Friends don't let friends export to CSV
    7 projects | news.ycombinator.com | 25 Mar 2024
    Your issue is that you're using the default (old) binding to GDAL, based on Fiona [0].

    You need to use pyogrio [1], its vectorized counterpart, instead. Make sure you use `engine="pyogrio"` when calling `to_file` [2]. Fiona does a loop in Python, while pyogrio is exclusively compiled. So pyogrio is usually about 10-15x faster than fiona. Soon, in pyogrio version 0.8, it will be another ~2-4x faster than pyogrio is now [3].

    [0]: https://github.com/Toblerity/Fiona

    [1]: https://github.com/geopandas/pyogrio

    [2]: https://geopandas.org/en/stable/docs/reference/api/geopandas...

    [3]: https://github.com/geopandas/pyogrio/pull/346

  • GIS Developer career path
    6 projects | /r/gis | 12 Dec 2022
    As has been said the definition of a GIS dev is far from written in stone, but to chime in from a personal standpoint: most of what I do is data wrangling/analysis with shapely/geopandas for vectors (or pygeos / fiona for performance when data volumes get large, but seeing as Shapely 2.0 just got released one can likely skip this part) + rasterio for rasters as well as parallelising these tasks for performance if needed (ray is great for that) and then performing machine learning learning against the data (mostly with sklearn and torch).
  • Read xml with CurvePolygon with Geopandas / Fiona (Python)
    1 project | /r/gis | 10 Jun 2022
    TypeError 10 refers to (https://github.com/Toblerity/Fiona/blob/master/fiona/_geometry.pyx):

What are some alternatives?

When comparing Shapely and Fiona you can also consider the following projects:

geopy - Geocoding library for Python.

gis-programming-roadmap - One stop shop for all your GIS Programming needs

GeoDjango - GeoDjango provides geospatial extensions to the Django web dev framework

rasterio - Rasterio reads and writes geospatial raster datasets

geojson - Python bindings and utilities for GeoJSON

gdal - GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.

geoip2 - Python code for GeoIP2 webservice client and database reader

geoserver-rest - Python library for management for geospatial data in GeoServer.

django-countries - A Django application that provides country choices for use with forms, flag icons static files, and a country field for models.

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration

geocoder - :earth_asia: Python Geocoder

Reverse Geocoder - A fast, offline reverse geocoder in Python