Metadata-Version: 2.3
Name: cycleosm
Version: 0.0.2
Summary: A small package to download structured bike infrastructure data from Open Street Map (OSM).
Project-URL: homepage, https://github.com/Bikingman/cycleosm
Project-URL: documentation, https://github.com/Bikingman/cycleosm
Project-URL: repository, https://github.com/Bikingman/cycleosm
Project-URL: Bug Tracker, https://github.com/Bikingman/cycleosm/issues
Author-email: Daniel Patterson <daniel.patterson87@gmail.com>
License-File: LICENSE
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.7
Description-Content-Type: text/markdown

## CycleOSM

[![PyPI version](https://img.shields.io/pypi/v/cycleosm.svg)](https://pypi.org/project/cycleosm/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)



The purpose of CycleOSM is to download structured bike infrastructure data from Open Street Map (OSM).

Now on [PyPl](https://pypi.org/project/cycleosm/)

This package is easy to use. You can get started by installing the package: 
```
pip install cycleosm
```

Then import the BikeOSM module.  
```
from cycleosm.bikeosm import BikeOSM
```

Next define the output directory and the .pbf url
```
output_path = r'/Users/danielpatterson/Documents/GitHub/ExtractOSM/src/output'
urls = {'District of Columbia': 'http://download.geofabrik.de/north-america/us/district-of-columbia-latest.osm.pbf'}
```

Finally, extract the pbf
```
BikeOSM(urls, output_path).handle_pbfs()
```

![Denver Bike Facs](https://user-images.githubusercontent.com/22425199/218263077-a6554521-5697-40fa-824e-1051c4b46009.png)

![image](https://user-images.githubusercontent.com/22425199/218263087-fe33097f-ae0b-4449-9c7d-3e9585d0d560.png)
