forked from nvkelso/map-label-style-manual
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:nvkelso/map-label-style-manual
- Loading branch information
Showing
4 changed files
with
26 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MANIFEST | ||
dist |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
StreetNames | ||
=========== | ||
|
||
`StreetNames` provides utility functions for handling street names. | ||
|
||
Current version is 0.1.1. | ||
|
||
`short_street_name` | ||
------------------ | ||
|
||
Shorten a long U.S. street name, e.g. "Main Street" to "Main St". | ||
|
||
Examples: | ||
|
||
short_street_name('Wodehouse Avenue') == 'Wodehouse Ave' | ||
short_street_name('Wodehouse Street North') == 'Wodehouse St N' | ||
short_street_name('South Wodehouse Boulevard') == 'S Wodehouse Blvd' | ||
short_street_name('East Highway') == 'East Hwy' | ||
short_street_name('North Expressway Northeast') == 'North Expwy NE' | ||
short_street_name('Southwest North Lane') == 'SW North Ln' | ||
short_street_name('Street Drive') == 'Street Dr' | ||
short_street_name('Road Street North') == 'Road St N' |
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 |
---|---|---|
|
@@ -8,6 +8,6 @@ | |
description='Utility functions for handling street names.', | ||
author='Michal Migurski', | ||
author_email='[email protected]', | ||
url='https://github.com/nvkelso/map-label-style-manual', | ||
url='https://github.com/nvkelso/map-label-style-manual/tree/master/tools/street_names', | ||
packages=['StreetNames'], | ||
license='BSD') |