Skip to content

Commit

Permalink
disabled oregon
Browse files Browse the repository at this point in the history
  • Loading branch information
dhodcz2 committed Sep 15, 2024
1 parent 4c70cac commit e559f3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/tile2net/raster/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,12 @@ class LosAngeles(ArcGis):
# extension = 'jpeg'
# keyword = 'Oregon'

class Oregon(ArcGis):
server = 'https://imagery.oregonexplorer.info/arcgis/rest/services/OSIP_2022/OSIP_2022_WM/ImageServer'
name = 'or'
extension = 'jpeg'
keyword = 'Oregon'

# class Oregon(ArcGis):
# server = 'https://imagery.oregonexplorer.info/arcgis/rest/services/OSIP_2022/OSIP_2022_WM/ImageServer'
# name = 'or'
# extension = 'jpeg'
# keyword = 'Oregon'
#

class NewJersey(ArcGis):
server = 'https://maps.nj.gov/arcgis/rest/services/Basemap/Orthos_Natural_2020_NJ_WM/MapServer'
Expand Down
5 changes: 3 additions & 2 deletions tests/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_sources():
assert Source['Jersey City'] == source.NewJersey
assert Source['Hoboken'] == source.NewJersey
assert Source["Spring Hill, TN"] == source.SpringHillTN
assert Source['Oregon'] == source.Oregon
# assert Source['Oregon'] == source.Oregon
assert Source['Virginia'] == source.Virginia

assert Source['40.72663613847755, -73.99494276578649'] == source.NewYorkCity
Expand Down Expand Up @@ -102,6 +102,7 @@ def test_sources():
# gulf of mexico
assert Source[21.82528963135751, -93.76345422053639, 21.82528963135751, -93.76345422053639] == None


if __name__ == '__main__':
test_small()
# test_small()
test_sources()

0 comments on commit e559f3e

Please sign in to comment.