-
Notifications
You must be signed in to change notification settings - Fork 826
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1114 from gboeing/http
rename private _downloader module, remove unneeded _api module, and fix unreachable code
- Loading branch information
Showing
19 changed files
with
228 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,112 @@ | ||
User Reference | ||
============== | ||
|
||
This is the User Reference for the OSMnx package. If you are looking for an introduction to OSMnx, read the :doc:`getting-started` guide. | ||
|
||
This guide describes the usage of OSMnx's public API. Every function can be accessed via ``ox.module_name.function_name()`` and many can also be accessed directly via ``ox.function_name()`` as a shortcut. | ||
|
||
osmnx.bearing module | ||
-------------------- | ||
|
||
.. automodule:: osmnx.bearing | ||
:members: | ||
|
||
osmnx.distance module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.distance | ||
:members: | ||
|
||
osmnx.elevation module | ||
---------------------- | ||
|
||
.. automodule:: osmnx.elevation | ||
:members: | ||
|
||
osmnx.features module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.features | ||
:members: | ||
|
||
osmnx.geocoder module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.geocoder | ||
:members: | ||
|
||
osmnx.graph module | ||
------------------ | ||
|
||
.. automodule:: osmnx.graph | ||
:members: | ||
|
||
osmnx.io module | ||
--------------- | ||
|
||
.. automodule:: osmnx.io | ||
:members: | ||
|
||
osmnx.plot module | ||
----------------- | ||
|
||
.. automodule:: osmnx.plot | ||
:members: | ||
|
||
osmnx.projection module | ||
----------------------- | ||
|
||
.. automodule:: osmnx.projection | ||
:members: | ||
|
||
osmnx.routing module | ||
----------------------- | ||
|
||
.. automodule:: osmnx.routing | ||
:members: | ||
|
||
osmnx.settings module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.settings | ||
:members: | ||
|
||
osmnx.simplification module | ||
--------------------------- | ||
|
||
.. automodule:: osmnx.simplification | ||
:members: | ||
|
||
osmnx.speed module | ||
------------------ | ||
|
||
.. automodule:: osmnx.speed | ||
:members: | ||
|
||
osmnx.stats module | ||
------------------ | ||
|
||
.. automodule:: osmnx.stats | ||
:members: | ||
|
||
osmnx.truncate module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.truncate | ||
:members: | ||
|
||
osmnx.utils module | ||
------------------ | ||
|
||
.. automodule:: osmnx.utils | ||
:members: | ||
|
||
osmnx.utils_geo module | ||
---------------------- | ||
|
||
.. automodule:: osmnx.utils_geo | ||
:members: | ||
|
||
osmnx.utils_graph module | ||
------------------------ | ||
|
||
.. automodule:: osmnx.utils_graph | ||
:members: | ||
User Reference | ||
============== | ||
|
||
This is the User Reference for the OSMnx package. If you are looking for an introduction to OSMnx, read the :doc:`getting-started` guide. This guide describes the usage of OSMnx's public API. | ||
|
||
osmnx.bearing module | ||
-------------------- | ||
|
||
.. automodule:: osmnx.bearing | ||
:members: | ||
|
||
osmnx.distance module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.distance | ||
:members: | ||
|
||
osmnx.elevation module | ||
---------------------- | ||
|
||
.. automodule:: osmnx.elevation | ||
:members: | ||
|
||
osmnx.features module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.features | ||
:members: | ||
|
||
osmnx.geocoder module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.geocoder | ||
:members: | ||
|
||
osmnx.graph module | ||
------------------ | ||
|
||
.. automodule:: osmnx.graph | ||
:members: | ||
|
||
osmnx.io module | ||
--------------- | ||
|
||
.. automodule:: osmnx.io | ||
:members: | ||
|
||
osmnx.plot module | ||
----------------- | ||
|
||
.. automodule:: osmnx.plot | ||
:members: | ||
|
||
osmnx.projection module | ||
----------------------- | ||
|
||
.. automodule:: osmnx.projection | ||
:members: | ||
|
||
osmnx.routing module | ||
----------------------- | ||
|
||
.. automodule:: osmnx.routing | ||
:members: | ||
|
||
osmnx.settings module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.settings | ||
:members: | ||
|
||
osmnx.simplification module | ||
--------------------------- | ||
|
||
.. automodule:: osmnx.simplification | ||
:members: | ||
|
||
osmnx.speed module | ||
------------------ | ||
|
||
.. automodule:: osmnx.speed | ||
:members: | ||
|
||
osmnx.stats module | ||
------------------ | ||
|
||
.. automodule:: osmnx.stats | ||
:members: | ||
|
||
osmnx.truncate module | ||
--------------------- | ||
|
||
.. automodule:: osmnx.truncate | ||
:members: | ||
|
||
osmnx.utils module | ||
------------------ | ||
|
||
.. automodule:: osmnx.utils | ||
:members: | ||
|
||
osmnx.utils_geo module | ||
---------------------- | ||
|
||
.. automodule:: osmnx.utils_geo | ||
:members: | ||
|
||
osmnx.utils_graph module | ||
------------------------ | ||
|
||
.. automodule:: osmnx.utils_graph | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,56 @@ | ||
"""OSMnx init.""" | ||
# ruff: noqa: F401,PLC0414 | ||
"""Define the OSMnx package's namespace.""" | ||
|
||
from ._api import * # noqa: F401, F403 | ||
from ._version import __version__ # noqa: F401 | ||
# expose the package version | ||
from ._version import __version__ as __version__ | ||
|
||
# expose the old pre-v2 API for backwards compatibility. this allows common | ||
# functionality to be accessed directly via the ox.function_name() shortcut | ||
# by exposing these functions directly in the package's namespace. | ||
from .bearing import add_edge_bearings as add_edge_bearings | ||
from .bearing import orientation_entropy as orientation_entropy | ||
from .distance import nearest_edges as nearest_edges | ||
from .distance import nearest_nodes as nearest_nodes | ||
from .elevation import add_edge_grades as add_edge_grades | ||
from .elevation import add_node_elevations_google as add_node_elevations_google | ||
from .elevation import add_node_elevations_raster as add_node_elevations_raster | ||
from .features import features_from_address as features_from_address | ||
from .features import features_from_bbox as features_from_bbox | ||
from .features import features_from_place as features_from_place | ||
from .features import features_from_point as features_from_point | ||
from .features import features_from_polygon as features_from_polygon | ||
from .features import features_from_xml as features_from_xml | ||
from .geocoder import geocode as geocode | ||
from .geocoder import geocode_to_gdf as geocode_to_gdf | ||
from .graph import graph_from_address as graph_from_address | ||
from .graph import graph_from_bbox as graph_from_bbox | ||
from .graph import graph_from_place as graph_from_place | ||
from .graph import graph_from_point as graph_from_point | ||
from .graph import graph_from_polygon as graph_from_polygon | ||
from .graph import graph_from_xml as graph_from_xml | ||
from .io import load_graphml as load_graphml | ||
from .io import save_graph_geopackage as save_graph_geopackage | ||
from .io import save_graph_xml as save_graph_xml | ||
from .io import save_graphml as save_graphml | ||
from .plot import plot_figure_ground as plot_figure_ground | ||
from .plot import plot_footprints as plot_footprints | ||
from .plot import plot_graph as plot_graph | ||
from .plot import plot_graph_route as plot_graph_route | ||
from .plot import plot_graph_routes as plot_graph_routes | ||
from .plot import plot_orientation as plot_orientation | ||
from .projection import project_gdf as project_gdf | ||
from .projection import project_graph as project_graph | ||
from .routing import k_shortest_paths as k_shortest_paths | ||
from .routing import shortest_path as shortest_path | ||
from .simplification import consolidate_intersections as consolidate_intersections | ||
from .simplification import simplify_graph as simplify_graph | ||
from .speed import add_edge_speeds as add_edge_speeds | ||
from .speed import add_edge_travel_times as add_edge_travel_times | ||
from .stats import basic_stats as basic_stats | ||
from .utils import citation as citation | ||
from .utils import log as log | ||
from .utils import ts as ts | ||
from .utils_graph import get_digraph as get_digraph | ||
from .utils_graph import get_undirected as get_undirected | ||
from .utils_graph import graph_from_gdfs as graph_from_gdfs | ||
from .utils_graph import graph_to_gdfs as graph_to_gdfs |
Oops, something went wrong.