Skip to content

Commit

Permalink
Merge pull request #54 from akadouri/virginia
Browse files Browse the repository at this point in the history
Add Virginia's state imagery as a raster source
  • Loading branch information
Mary-h86 authored Mar 11, 2024
2 parents 540afe6 + 79edb62 commit 440fc14
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tile2net/raster/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,11 @@ class SpringHillTN(ArcGis):
name = 'sh_tn'
keyword = 'Spring Hill'

class Virginia(ArcGis):
"""Data from https://vgin.vdem.virginia.gov/pages/orthoimagery"""
server = "https://gismaps.vdem.virginia.gov/arcgis/rest/services/VBMP_Imagery/MostRecentImagery_WGS/MapServer/"
name = "va"
keyword = "Virginia"

if __name__ == '__main__':
from tile2net import Raster
Expand All @@ -353,4 +358,5 @@ class SpringHillTN(ArcGis):
assert Raster(location='Jersey City', zoom=19).source == 'nj'
assert Raster(location='Hoboken', zoom=19).source == 'nj'
assert Raster(location="Spring Hill, TN", zoom=20).source == "sh_tn"
assert Raster(location="Virginia").source =="va"

0 comments on commit 440fc14

Please sign in to comment.