diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/geo.scm | 67 |
1 files changed, 31 insertions, 36 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 7c0de4f8189..fadccbadf7a 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm | |||
| @@ -1453,55 +1453,50 @@ during conversion.") | |||
| 1453 | (define-public python-osmnx | 1453 | (define-public python-osmnx |
| 1454 | (package | 1454 | (package |
| 1455 | (name "python-osmnx") | 1455 | (name "python-osmnx") |
| 1456 | (version "1.9.3") | 1456 | (version "2.1.1") |
| 1457 | (source | 1457 | (source |
| 1458 | (origin | 1458 | (origin |
| 1459 | ;; Fetch from github as the pypi package is missing the tests dir. | ||
| 1460 | (method git-fetch) | 1459 | (method git-fetch) |
| 1461 | (uri (git-reference | 1460 | (uri (git-reference |
| 1462 | (url "https://github.com/gboeing/osmnx") | 1461 | (url "https://github.com/gboeing/osmnx") |
| 1463 | (commit (string-append "v" version)))) | 1462 | (commit (string-append "v" version)))) |
| 1464 | (file-name (git-file-name name version)) | 1463 | (file-name (git-file-name name version)) |
| 1465 | (sha256 | 1464 | (sha256 |
| 1466 | (base32 "0yi9al6rrc584y24vigi7w52dq9k2l2zgblrj5ajwgk8079k8zsf")))) | 1465 | (base32 "1wv8qarfrqzvqmrpcxqihpz5b4r7mnpxyyla66543xfizn2iazix")))) |
| 1467 | (build-system pyproject-build-system) | 1466 | (build-system pyproject-build-system) |
| 1468 | (arguments | 1467 | (arguments |
| 1469 | (list | 1468 | (list |
| 1470 | #:test-flags '(list "-k" | 1469 | #:build-backend "hatchling.build" |
| 1471 | (string-append | 1470 | #:tests? #f)) ;nearly all tests need network access |
| 1472 | ;; The following tests require network access. | 1471 | (native-inputs |
| 1473 | "not test_stats" | 1472 | (list python-hatchling |
| 1474 | " and not test_geocoder" | 1473 | python-pytest |
| 1475 | " and not test_osm_xml" | 1474 | python-setuptools)) |
| 1476 | " and not test_elevation" | 1475 | (propagated-inputs |
| 1477 | " and not test_routing" | 1476 | (list python-geopandas |
| 1478 | " and not test_plots" | 1477 | python-networkx |
| 1479 | " and not test_find_nearest" | 1478 | python-numpy |
| 1480 | " and not test_api_endpoints" | 1479 | python-pandas |
| 1481 | " and not test_graph_save_load" | 1480 | python-requests |
| 1482 | " and not test_graph_from_functions" | 1481 | python-shapely |
| 1483 | " and not test_features")))) | 1482 | ;; [optional] |
| 1484 | (propagated-inputs (list python-folium | 1483 | python-matplotlib |
| 1485 | python-geopandas | 1484 | python-rasterio |
| 1486 | python-matplotlib | 1485 | ;; python-rio-vrt ;not packaged yet in Guix |
| 1487 | python-networkx | 1486 | python-scikit-learn |
| 1488 | python-numpy | 1487 | python-scipy)) |
| 1489 | python-pandas | ||
| 1490 | python-requests | ||
| 1491 | python-shapely)) | ||
| 1492 | (native-inputs (list python-hatchling python-pytest python-setuptools python-wheel)) | ||
| 1493 | (home-page "https://github.com/gboeing/osmnx") | 1488 | (home-page "https://github.com/gboeing/osmnx") |
| 1494 | (synopsis | 1489 | (synopsis |
| 1495 | "Retrieve, model, analyze, and visualize OpenStreetMap street networks") | 1490 | "Retrieve, model, analyze, and visualize OpenStreetMap street networks") |
| 1496 | (description | 1491 | (description |
| 1497 | "OSMnx is a Python library that lets you download geospatial data | 1492 | "OSMnx is a Python library that lets you download geospatial data from |
| 1498 | from OpenStreetMap and model, project, visualize, and analyze real-world | 1493 | OpenStreetMap and model, project, visualize, and analyze real-world street |
| 1499 | street networks and any other geospatial geometries. You can download | 1494 | networks and any other geospatial geometries. You can download and model |
| 1500 | and model walkable, drivable, or bikeable urban networks with a single | 1495 | walkable, drivable, or bikeable urban networks with a single line of Python |
| 1501 | line of Python code then easily analyze and visualize them. You can | 1496 | code then easily analyze and visualize them. You can just as easily download |
| 1502 | just as easily download and work with other infrastructure types, | 1497 | and work with other infrastructure types, amenities/points of interest, |
| 1503 | amenities/points of interest, building footprints, elevation data, | 1498 | building footprints, elevation data, street bearings/orientations, and |
| 1504 | street bearings/orientations, and speed/travel time.") | 1499 | speed/travel time.") |
| 1505 | (license license:expat))) | 1500 | (license license:expat))) |
| 1506 | 1501 | ||
| 1507 | (define-public python-owslib | 1502 | (define-public python-owslib |
