Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ags_grabber
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Larkin Heintzman
ags_grabber
Commits
f5408558
Commit
f5408558
authored
Dec 02, 2020
by
Larkin Heintzman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated to add trails layer
parent
515ff84a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
feature_set.py
feature_set.py
+15
-10
BW_LFandInac_Zelev_OldRag.mat
matlab_data/BW_LFandInac_Zelev_OldRag.mat
+0
-0
No files found.
feature_set.py
View file @
f5408558
...
...
@@ -29,12 +29,16 @@ def grab_features(anchor_point, extent, sample_dist = 10, heading = 0, save_file
water_url
=
"https://hydro.nationalmap.gov/arcgis/rest/services/nhd/MapServer/9"
powerlines_url
=
"https://services1.arcgis.com/Hp6G80Pky0om7QvQ/ArcGIS/rest/services/Electric_Power_Transmission_Lines/FeatureServer/0"
railroads_url
=
"https://carto.nationalmap.gov/arcgis/rest/services/transportation/MapServer/35"
trails_url
=
"https://partnerships.nationalmap.gov/arcgis/rest/services/USGSTrails/MapServer/0"
# adding water_url twice, once for boundaries and once for linear features
# the layer named 'lakes' gets boundary treatment
url_list
=
[
river_url
,
riverw_url
,
roads_url
,
water_url
,
powerlines_url
,
railroads_url
]
name_list
=
[
'rivers'
,
'rivers_bdd'
,
'roads'
,
'lakes'
,
'powerlines'
,
'railroads'
]
url_list
=
[
trails_url
,
river_url
,
riverw_url
,
roads_url
,
water_url
,
powerlines_url
,
railroads_url
]
# url_list = [trails_url]
name_list
=
[
'trails'
,
'rivers'
,
'rivers_bdd'
,
'roads'
,
'lakes'
,
'powerlines'
,
'railroads'
]
# name_list = ['trails']
inac_layers
=
[
'rivers_bdd'
,
'lakes'
]
inac_layers
=
[]
gis
=
GIS
(
username
=
"larkinheintzman"
,
password
=
"Meepp97#26640"
)
# linked my arcgis pro account
ap_meters
=
lat_lon2meters
(
anchor_point
[
0
],
anchor_point
[
1
])
...
...
@@ -230,15 +234,16 @@ def grab_features(anchor_point, extent, sample_dist = 10, heading = 0, save_file
if
__name__
==
"__main__"
:
ics
=
[
[
38.29288
,
-
78.65848
,
'BrownMtn-hiker'
],
[
38.44706
,
-
78.46993
,
'DevilsDitch_hikers'
],
[
37.67752
,
-
79.33887
,
'Punchbowl_hiker'
],
[
37.99092
,
-
78.52798
,
'BiscuitRun_hikers'
],
[
38.24969
,
-
78.39555
,
'Quinque_dementia'
],
# [38.29288, -78.65848, 'BrownMtn-hiker'],
# [38.44706, -78.46993, 'DevilsDitch_hikers'],
# [37.67752, -79.33887, 'Punchbowl_hiker'],
# [37.99092, -78.52798, 'BiscuitRun_hikers'],
# [37.519485, -79.651315, 'temp'],
# [38.24969, -78.39555, 'Quinque_dementia'],
[
38.55209
,
-
78.32099
,
'OldRag'
],
[
38.20656
,
-
78.67878
,
'BrownsCove'
],
[
38.02723
,
-
78.45076
,
'Charlottesville_dementia'
],
[
34.12751
,
-
116.93247
,
'SanBernardinoPeak'
]
,
#
[38.20656, -78.67878, 'BrownsCove'],
#
[38.02723, -78.45076, 'Charlottesville_dementia'],
#
[34.12751, -116.93247, 'SanBernardinoPeak'] ,
]
base_dir
=
'C:/Users/Larkin/ags_grabber'
...
...
matlab_data/BW_LFandInac_Zelev_OldRag.mat
0 → 100644
View file @
f5408558
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment