This file contains hidden or 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
| #!/bin/bash | |
| # see https://github.com/microsoft/RoadDetections | |
| # 1) get the data | |
| wget https://usaminedroads.blob.core.windows.net/road-detections/Oceania-Full.zip | |
| # 2) extract the records for Australia, second column of tsv only | |
| zgrep AUS Oceania-Full.zip | cut -f2 > AUS.geojson | |
| # 3) convert to GPKG, works better in QGIS |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| codecov: | |
| token: uuid # Your private repository token | |
| url: "http" # for Codecov Enterprise customers | |
| slug: "owner/repo" # for Codecov Enterprise customers | |
| branch: master # override the default branch | |
| bot: username # set user whom will be the consumer of oauth requests | |
| ci: # Custom CI domains if Codecov does not identify them automatically | |
| - ci.domain.com | |
| - !provider # ignore these providers when checking if CI passed | |
| # ex. You may test on Travis, Circle, and AppVeyor, but only need |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| # -*- mode: python -*- | |
| # Adapted from mpl_toolkits.axes_grid1 | |
| # LICENSE: Python Software Foundation (http://docs.python.org/license.html) | |
| from matplotlib.offsetbox import AnchoredOffsetbox | |
| class AnchoredScaleBar(AnchoredOffsetbox): | |
| def __init__(self, transform, sizex=0, sizey=0, labelx=None, labely=None, loc=4, | |
| pad=0.1, borderpad=0.1, sep=2, prop=None, barcolor="black", barwidth=None, | |
| **kwargs): |
This file contains hidden or 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
| # United States Postal Service (USPS) abbreviations. | |
| abbreviations = [ | |
| # https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#States. | |
| "AK", "AL", "AR", "AZ", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "IA", | |
| "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", | |
| "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", | |
| "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VT", "WA", "WI", | |
| "WV", "WY", | |
| # https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#Federal_district. | |
| "DC", |