-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathNP_STL.py
More file actions
50 lines (44 loc) · 3.48 KB
/
NP_STL.py
File metadata and controls
50 lines (44 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import TerrainTrailSTL
rds=["Babcock Boulevard","Pearce Mill Road","North Ridge Drive","North Ridge Lane",
"Walter Road","Walters Road","Kummer Road","Ingomar Road","East Ingomar Road","Old Ingomar Road",
"Wildwood Road","Lake Shore Drive","Brown Road","McKinney Road",453899487,
"South Ridge Drive","Hemlock Drive","West Ridge Road","West Ridge Drive","Peedbles Road",
"Mansions Drive", "Mansions Drive","Bucktail Drive","Big Rock Road","Grubbs Road","Rinaman Road",
"Reichold Road","Gass Road","Peebles Road","Presidential Drive","Sample Road","P&W Subdivision",
"Parkland Drive","South Montour Road", "Hardt Road","Conestoga Drive","Irwin Road","Tennis Court Lane",
"Old Farm Lane",226524134,226524134,226524138,226524139,226524141,374718264,987705460,869037415,869037414,374720266,
907185767,252686619,374721426,11696941,913506692,968605824,368755729,453899476,
11955389,453899475,11653803,11685320,865264163,11674769,229173842,802699816,950185753,
453899487,355218662,239441713,453899499,453899495,6836255,311071704,311071705,311071706,963929601]
# water=[6132612,6132613,453899494]
trail_exclude=[374718863,869037412,374718864,158384993,373619473,374719057,
913340978,374722616,226524135,226524136,226524140,391588477,374722113,
374721422,374721417,374721418,439329149,373849123,439329156,
253313248,253313255,230511442,230511441,230511440,886438066,886438067,
391588473,373849124,11671685,475572078,439326393,869037413,475572031,
373849125,373849125,453899457,453899457,582898866,582902191,582902194,
582902195,582902197,453899459,582898880,582898867,582898869,582898870,
582898872,582898873,582898875,582898876,582898878,582902173,582902174,
453899460,582898854,374735499,582898858,582898859,706524210,706524211,
582902164,582902170,453899458,582902196,582902193,582902172,582902192,
582898854,373848336,968009930,439329155,706524685,944684206,706524489,
706528006,944664954,944664955,706524478,706524212,944664970,706524211,
706523312,944664957,944664964,706524209,706524208,772536061,390835710,
390835708,390835708,390835711,390835706,390835709,374735471,374735495,
449462282,449462283,329263852,972140836,972140834,1009364943,1009364943,
972140835,772536063,772536055,772536056,772536059,772536066,772536062,
772536065,390835707,230454853,772536058,772536060,772536057,772536064,
1017402246,1017233900,987705459,230462273,1017233899,1016290812,1016290813,
1016290814,1016290821,1016737924,1016290823,1016290811,1016737925,987705459,
1031025307,1031025306,1031025313,1031025311,5573529541,1031017277]
# waterway_include=[316616217,552141027,552006281]
#'C:/Users/jkoet/Documents/NP.gpx'
TerrainTrailSTL.GenerateSTLs(Boundary="NP2.gpx",rd_include=rds,
trail_exclude=trail_exclude,
waterway_include=[869037419,'North Fork Pine Creek',229173845,229173844,230758606,373619469,228903176,453899494,
"Rocky Dell Run",453899468,229200134,252686622,253313254,462884151,462884151,429200025],
waterbody=["North Park Lake","Marshall Lake",348866110,228929014,229173847],
path_width=0.70,support_width=0.45,path_clearance=0.18,height_factor=3,base_height=8,
edge_width=1.5,max_print_size=[249,199],tiles=2,resolution=10,downsample_factor=2,dem_offset=[0,0],
map_only=False,compass_loc=[275,136])
#Download terrain data by searching bounding box="-80.034,40.577,-79.974,40.6222", NED 1/3 arc-second, GeoTIFF