gnu/packages/geo.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b3a5c0df3f..cbe88bf9bc 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -770,6 +770,29 @@ (define-public python-geopandas require a spatial database such as PostGIS.") (license license:bsd-3))) +(define-public python-ogr2osm + (package + (name "python-ogr2osm") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ogr2osm" version)) + (sha256 + (base32 + "1rs0qjahssikayn91n790ms8dj3m3v327hp03c9ivlzn8vg6kalf")))) + (build-system python-build-system) + (propagated-inputs + (list python-gdal python-lxml)) + (arguments '(#:tests? #f)) ; Tests not included in release tarball + (home-page + "https://github.com/roelderickx/ogr2osm") + (synopsis + "Convert ogr-readable files like shapefiles into Openstreetmap(osm) format") + (description + "A tool for converting ogr-readable files into Openstreetmap(osm) format. Ogr2osm supports reading from ogr files like shapefiles or Postgres database. Ogr2osm converts data into osm or osm.pbf formats. A translation file can be used to manipulate the data during conversion.") + (license license:expat)) + (define-public python-osmnx (package (name "python-osmnx") base-commit: 3ae6f30767f962da74d18d824b521462e149b89a -- 2.38.1