swisslandstats-geopy

What swisslandstats-geopy is
swisslandstats-geopy is a free Linux Python package that extends pandas DataFrames for Swiss Federal Statistics Geodata, or GEOSTAT. It automatically reads GEOSTAT inventory CSV files into dataframes, then exports dataframe columns as NumPy arrays or GeoTIFF files. Dataframes can be clipped with vector geometries; place-name clipping requires osmnx, while vector clipping requires geopandas. The package can also plot information as raster maps. The documentation uses land-use data and population and household statistics as example datasets. It is intended for researchers and developers in environmental sciences and GIS building repeatable, reproducible workflows with SFSO geodata. Installation instructions cover conda and pip. The project recommends installing rasterio with conda to avoid possible GDAL issues, including those involving Swiss EPSG coordinate reference systems. It is distributed under GPL-3.0. PyPI lists version 0.12.0, released January 27, 2025. Listed TODOs include colormaps, datasets without land-use or land-cover columns, and merging multiple CSV dataframes.
Who it suits
It suits environmental-science and GIS researchers or developers working with Swiss GEOSTAT data. It is designed for repeatable workflows on Linux.
What it does well
- Free GPL-3.0 package
- Loads GEOSTAT CSV files automatically
- Exports NumPy arrays and GeoTIFF files
- Supports geometry clipping and raster maps
- Offers conda and pip installation
What to know first
- Place-name clipping requires osmnx
- Vector clipping requires geopandas
- Documentation lists unfinished work items
- Rasterio installation may involve GDAL issues
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| swisslandstats-geopy | GPL-3.0 · Python >=3.9 | Free |
As joss.theoj.org lists them, read 5 Oct 2026. The maker's own page has the final word.
Getting started
- Install the package using the conda or pip instructions.
- For rasterio, use the project's recommended conda installation to avoid potential GDAL issues.
- Load GEOSTAT inventory CSV files into dataframes.
- Use vector clipping with geopandas, or place-name clipping with osmnx.
- Export columns as NumPy arrays or GeoTIFF files, or plot raster maps.
Verdict
swisslandstats-geopy combines GEOSTAT loading, conversion, clipping, and mapping in a pandas-oriented workflow. Users should account for its optional dependencies and the project’s listed TODOs.
Questions
Is swisslandstats-geopy free?
Yes. The listed plan is free, and the package uses the GPL-3.0 license.
What platform is listed?
Linux is the listed platform.
How can I install it?
The documentation provides conda and pip installation commands.
Does clipping require additional packages?
Place-name clipping requires osmnx, and clipping by vector geometries requires geopandas.
What can it export?
It can export dataframe columns as NumPy arrays and GeoTIFF files.
Who maintains the package?
PyPI lists Martí Bosch as the author and one maintainer.
Facts from swisslandstats-geopy's own pages
- Audience
- The project identifies researchers and developers in environmental sciences and GIS as its target audience. · github.com, 5 Oct 2026
- Clipping
- It can clip dataframes by vector geometries; place-name clipping requires osmnx, and vector clipping requires geopandas. · github.com, 5 Oct 2026
- CSV loading
- It automatically reads GEOSTAT inventory CSV files into dataframes. · github.com, 5 Oct 2026
- Data examples
- The project gives land-use and population and household statistics as example datasets. · github.com, 5 Oct 2026
- Export
- It exports dataframe columns into NumPy arrays and GeoTIFF files. · github.com, 5 Oct 2026
- GDAL note
- The project recommends installing rasterio with conda to avoid potential GDAL issues, including support for Swiss EPSG coordinate reference systems. · github.com, 5 Oct 2026
- Install methods
- The package documentation provides conda and pip installation commands. · github.com, 5 Oct 2026
- Known work items
- The project lists missing colormaps, handling datasets without land-use or land-cover columns, and merging dataframes from multiple CSV files as TODOs. · github.com, 5 Oct 2026
- Latest release
- PyPI lists version 0.12.0, released Jan 27, 2025. · pypi.org, 5 Oct 2026
- License
- The package is distributed under the GNU General Public License v3 (GPL-3.0). · pypi.org, 5 Oct 2026
- Maintainer
- PyPI lists Martí Bosch as the author and one maintainer. · pypi.org, 5 Oct 2026
- Mapping
- It can plot information as raster maps. · github.com, 5 Oct 2026
- Purpose
- The package provides an extended pandas DataFrame interface for Swiss Federal Statistics Geodata (GEOSTAT). · github.com, 5 Oct 2026
- Workflow
- The project describes its audience as producing repeatable and reproducible workflows using SFSO geodata. · github.com, 5 Oct 2026
Where swisslandstats-geopy stands on Freedom251
- GIS Software#25 of 64