Metadata-Version: 2.4
Name: osmnet
Version: 0.2
Summary: Tools for the extraction of OpenStreetMap street network data for use in Pandana accessibility analyses
Author-email: "UrbanSim Inc." <info@urbansim.com>
License-Expression: AGPL-3.0-only
Project-URL: Documentation, https://udst.github.io/osmnet/
Project-URL: Repository, https://github.com/UDST/osmnet
Project-URL: Issues, https://github.com/UDST/osmnet/issues
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: geopandas>=0.11
Requires-Dist: numpy>=1.21
Requires-Dist: pandas<4,>=1.5
Requires-Dist: requests>=2.28
Requires-Dist: shapely>=1.8
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: pytest-cov>=5; extra == "test"
Provides-Extra: docs
Requires-Dist: numpydoc>=1.6; extra == "docs"
Requires-Dist: sphinx>=7; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=2; extra == "docs"
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: pycodestyle>=2.11; extra == "dev"
Requires-Dist: twine>=6; extra == "dev"
Dynamic: license-file

OSMnet
======

.. image:: https://github.com/UDST/osmnet/actions/workflows/ci.yml/badge.svg
  :target: https://github.com/UDST/osmnet/actions/workflows/ci.yml

Tools for the extraction of OpenStreetMap (OSM) street network data.
Intended to be used in tandem with Pandana and UrbanAccess libraries to
extract street network nodes and edges.

Project scope and status
------------------------

**Status:** Deprecated / Migration

**Mission:** OSMnet provides the legacy OpenStreetMap network-acquisition
functionality used by existing Pandana and UrbanAccess workflows while those
projects migrate to maintained OSM libraries.

The project is retained to support:

* existing Pandana and UrbanAccess integrations;
* compatibility needed during the migration period;
* documentation of established OSMnet workflows; and
* orderly transition of downstream users.

New applications should use actively maintained OSM libraries such as OSMnx
or Pyrosm for OpenStreetMap network acquisition.

OSMnet will be archived after dependent UDST projects no longer require it.
Development during the migration period is limited primarily to critical
compatibility and migration support.

See the `UDST Project Directory
<https://github.com/UDST/.github/blob/main/PROJECTS.md>`__ for
organization-wide project status and policy.

Overview
========

OSMnet offers tools to download street network data from OpenStreetMap
and extract a graph network comprised of nodes and edges to be used in
`Pandana`_ street network accessibility calculations and or `UrbanAccess`_
to connect GTFS transit networks to road networks.

Let us know what you are working on or if you think you have a great use case
by tweeting us at ``@urbansim``.

Library Status
--------------

*Forthcoming improvements:*

* Tutorial/demo

Reporting bugs
--------------

Please report any bugs you encounter via `GitHub issues`_.

Contributing to OSMnet
----------------------

If you have improvements or new features you would like to see in OSMnet:

1. Open a feature request via `GitHub issues`_.
2. Contribute your code from a fork or branch by using a Pull Request and request a review so it can be considered as an addition to the codebase.

Installation
------------

conda
^^^^^

OSMnet is available on conda and can be installed with:

``conda install osmnet --channel conda-forge``

It is recommended to install via conda and the conda-forge channel especially if you find you are having issues installing some of the spatial dependencies.

pip
^^^

OSMnet can be installed via PyPI:

``pip install osmnet``

Development Installation
^^^^^^^^^^^^^^^^^^^^^^^^

To install OSMnet from source code, follow these steps:

1. Git clone the `OSMnet repo`_
2. in the cloned directory run: ``pip install -e .``

To update to the latest version:

Use ``git pull`` inside the cloned repository

Documentation
-------------

Documentation for OSMnet can be found `here`_.

Related UDST libraries
----------------------

-  `Pandana`_
-  `UrbanAccess`_

.. _Pandana: https://github.com/UDST/pandana
.. _GitHub issues: https://github.com/UDST/osmnet/issues
.. _OSMnet repo: https://github.com/udst/osmnet
.. _here: https://udst.github.io/osmnet/index.html
.. _UrbanAccess: https://github.com/UDST/urbanaccess
