Skip to content

Commit 7dc924e

Browse files
committed
replaced corrupted display_web_scene lab nb with one from master.
1 parent 06734c1 commit 7dc924e

File tree

1 file changed

+1
-234
lines changed

1 file changed

+1
-234
lines changed

labs/display_web_scene.ipynb

Lines changed: 1 addition & 234 deletions
Original file line numberDiff line numberDiff line change
@@ -107,240 +107,7 @@
107107
"from arcgis.mapping import WebScene\n",
108108
"la_trails = WebScene(webscene_item)\n",
109109
"la_trails"
110-
],
111-
"outputs": [
112-
{
113-
"data": {
114-
"text/html": [
115-
"<iframe width=960 height=600 src=\"https://www.arcgis.com/home/webscene/viewer.html?webscene=1da0ba4b0f674286875e58ec397260f1\"/>"
116-
],
117-
"text/plain": [
118-
"WebScene([('operationalLayers',\n",
119-
" [{'id': '15a87a362e4-layer-1',\n",
120-
" 'itemId': '883cedb8c9fe4524b64d47666ed234a7',\n",
121-
" 'layerDefinition': {'drawingInfo': {'renderer': {'symbol': {'symbolLayers': [{'height': 100,\n",
122-
" 'material': {'color': [56, 168, 0]},\n",
123-
" 'resource': {'primitive': 'cylinder'},\n",
124-
" 'type': 'Object'}],\n",
125-
" 'type': 'PointSymbol3D'},\n",
126-
" 'type': 'simple',\n",
127-
" 'visualVariables': [{'field': 'ELEV_FT',\n",
128-
" 'rotationType': 'geographic',\n",
129-
" 'type': 'rotationInfo'}]}},\n",
130-
" 'elevationInfo': {'mode': 'relativeToGround'}},\n",
131-
" 'layerType': 'ArcGISFeatureLayer',\n",
132-
" 'opacity': 1,\n",
133-
" 'popupInfo': {'fieldInfos': [{'fieldName': 'OBJECTID',\n",
134-
" 'format': {'digitSeparator': True, 'places': 0},\n",
135-
" 'label': 'OBJECTID',\n",
136-
" 'visible': True},\n",
137-
" {'fieldName': 'TRL_NAME', 'label': 'TRL_NAME', 'visible': True},\n",
138-
" {'fieldName': 'PARK_NAME',\n",
139-
" 'label': 'PARK_NAME',\n",
140-
" 'visible': True},\n",
141-
" {'fieldName': 'FEATURE_ID',\n",
142-
" 'format': {'digitSeparator': True, 'places': 0},\n",
143-
" 'label': 'FEATURE_ID',\n",
144-
" 'visible': True},\n",
145-
" {'fieldName': 'TRL_ID',\n",
146-
" 'format': {'digitSeparator': True, 'places': 0},\n",
147-
" 'label': 'TRL_ID',\n",
148-
" 'visible': True},\n",
149-
" {'fieldName': 'SEG_ID',\n",
150-
" 'format': {'digitSeparator': True, 'places': 0},\n",
151-
" 'label': 'SEG_ID',\n",
152-
" 'visible': True},\n",
153-
" {'fieldName': 'STG_AR_ID',\n",
154-
" 'label': 'STG_AR_ID',\n",
155-
" 'visible': True},\n",
156-
" {'fieldName': 'SUB_TYPE',\n",
157-
" 'format': {'digitSeparator': True, 'places': 0},\n",
158-
" 'label': 'SUB_TYPE',\n",
159-
" 'visible': True},\n",
160-
" {'fieldName': 'FEATURE', 'label': 'FEATURE', 'visible': True},\n",
161-
" {'fieldName': 'FEAT_CMNT',\n",
162-
" 'label': 'FEAT_CMNT',\n",
163-
" 'visible': True},\n",
164-
" {'fieldName': 'ELEV_FT',\n",
165-
" 'format': {'digitSeparator': True, 'places': 0},\n",
166-
" 'label': 'ELEV_FT',\n",
167-
" 'visible': True},\n",
168-
" {'fieldName': 'CITY_JUR', 'label': 'CITY_JUR', 'visible': True},\n",
169-
" {'fieldName': 'ZIP_CODE',\n",
170-
" 'format': {'digitSeparator': True, 'places': 0},\n",
171-
" 'label': 'ZIP_CODE',\n",
172-
" 'visible': True},\n",
173-
" {'fieldName': 'SUP_DIST', 'label': 'SUP_DIST', 'visible': True},\n",
174-
" {'fieldName': 'X_STREET', 'label': 'X_STREET', 'visible': True},\n",
175-
" {'fieldName': 'X', 'label': 'X', 'visible': True},\n",
176-
" {'fieldName': 'Y', 'label': 'Y', 'visible': True},\n",
177-
" {'fieldName': 'PARKING', 'label': 'PARKING', 'visible': True},\n",
178-
" {'fieldName': 'PHOTO', 'label': 'PHOTO', 'visible': True},\n",
179-
" {'fieldName': 'TXT_E', 'label': 'TXT_E', 'visible': True},\n",
180-
" {'fieldName': 'LAT',\n",
181-
" 'format': {'digitSeparator': True, 'places': 2},\n",
182-
" 'label': 'LAT',\n",
183-
" 'visible': True},\n",
184-
" {'fieldName': 'LON',\n",
185-
" 'format': {'digitSeparator': True, 'places': 2},\n",
186-
" 'label': 'LON',\n",
187-
" 'visible': True},\n",
188-
" {'fieldName': 'DB_ID',\n",
189-
" 'format': {'digitSeparator': True, 'places': 0},\n",
190-
" 'label': 'DB_ID',\n",
191-
" 'visible': True},\n",
192-
" {'fieldName': 'DIR_LAT',\n",
193-
" 'format': {'digitSeparator': True, 'places': 2},\n",
194-
" 'label': 'DIR_LAT',\n",
195-
" 'visible': True},\n",
196-
" {'fieldName': 'DIR_LON',\n",
197-
" 'format': {'digitSeparator': True, 'places': 2},\n",
198-
" 'label': 'DIR_LON',\n",
199-
" 'visible': True},\n",
200-
" {'fieldName': 'FID',\n",
201-
" 'format': {'digitSeparator': True, 'places': 0},\n",
202-
" 'label': 'FID',\n",
203-
" 'visible': True}],\n",
204-
" 'popupElements': [{'type': 'fields'}],\n",
205-
" 'showAttachments': False,\n",
206-
" 'title': 'Trailheads - Trailheads'},\n",
207-
" 'title': 'Trailheads - Trailheads',\n",
208-
" 'url': 'https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Trailheads/FeatureServer/0',\n",
209-
" 'visibility': True},\n",
210-
" {'id': '15a87a43f2b-layer-2',\n",
211-
" 'itemId': '69e12682738e467eb509d8b54dc73cbd',\n",
212-
" 'layerDefinition': {'drawingInfo': {'renderer': {'symbol': {'symbolLayers': [{'material': {'color': [255,\n",
213-
" 69,\n",
214-
" 0]},\n",
215-
" 'size': 60,\n",
216-
" 'type': 'Path'}],\n",
217-
" 'type': 'LineSymbol3D'},\n",
218-
" 'type': 'simple'}},\n",
219-
" 'elevationInfo': {'mode': 'relativeToGround', 'offset': 50}},\n",
220-
" 'layerType': 'ArcGISFeatureLayer',\n",
221-
" 'opacity': 0.9393939393939394,\n",
222-
" 'popupInfo': {'fieldInfos': [{'fieldName': 'OBJECTID',\n",
223-
" 'format': {'digitSeparator': True, 'places': 0},\n",
224-
" 'label': 'OBJECTID',\n",
225-
" 'visible': True},\n",
226-
" {'fieldName': 'TRL_NAME', 'label': 'TRL_NAME', 'visible': True},\n",
227-
" {'fieldName': 'TRL_ID',\n",
228-
" 'format': {'digitSeparator': True, 'places': 0},\n",
229-
" 'label': 'TRL_ID',\n",
230-
" 'visible': True},\n",
231-
" {'fieldName': 'ELEV_MIN',\n",
232-
" 'format': {'digitSeparator': True, 'places': 0},\n",
233-
" 'label': 'ELEV_MIN',\n",
234-
" 'visible': True},\n",
235-
" {'fieldName': 'ELEV_MAX',\n",
236-
" 'format': {'digitSeparator': True, 'places': 0},\n",
237-
" 'label': 'ELEV_MAX',\n",
238-
" 'visible': True},\n",
239-
" {'fieldName': 'ELEV_GAIN',\n",
240-
" 'format': {'digitSeparator': True, 'places': 0},\n",
241-
" 'label': 'ELEV_GAIN',\n",
242-
" 'visible': True},\n",
243-
" {'fieldName': 'CENTER_LAT',\n",
244-
" 'format': {'digitSeparator': True, 'places': 0},\n",
245-
" 'label': 'CENTER_LAT',\n",
246-
" 'visible': True},\n",
247-
" {'fieldName': 'CENTER_LON',\n",
248-
" 'format': {'digitSeparator': True, 'places': 0},\n",
249-
" 'label': 'CENTER_LON',\n",
250-
" 'visible': True},\n",
251-
" {'fieldName': 'DB_ID',\n",
252-
" 'format': {'digitSeparator': True, 'places': 0},\n",
253-
" 'label': 'DB_ID',\n",
254-
" 'visible': True},\n",
255-
" {'fieldName': 'ShapeSTLength',\n",
256-
" 'format': {'digitSeparator': True, 'places': 0},\n",
257-
" 'label': 'ShapeSTLength',\n",
258-
" 'visible': True},\n",
259-
" {'fieldName': 'LENGTH_FT',\n",
260-
" 'format': {'digitSeparator': True, 'places': 0},\n",
261-
" 'label': 'LENGTH_FT',\n",
262-
" 'visible': True},\n",
263-
" {'fieldName': 'LENGTH_MI',\n",
264-
" 'format': {'digitSeparator': True, 'places': 0},\n",
265-
" 'label': 'LENGTH_MI',\n",
266-
" 'visible': True},\n",
267-
" {'fieldName': 'USE_HIKE', 'label': 'USE_HIKE', 'visible': True},\n",
268-
" {'fieldName': 'USE_BIKE', 'label': 'USE_BIKE', 'visible': True},\n",
269-
" {'fieldName': 'USE_EQU', 'label': 'USE_EQU', 'visible': True},\n",
270-
" {'fieldName': 'USE_ATV', 'label': 'USE_ATV', 'visible': True},\n",
271-
" {'fieldName': 'PET_ACC', 'label': 'PET_ACC', 'visible': True},\n",
272-
" {'fieldName': 'MAPPING_STATUS',\n",
273-
" 'label': 'MAPPING_STATUS',\n",
274-
" 'visible': True},\n",
275-
" {'fieldName': 'ObjectId_1',\n",
276-
" 'format': {'digitSeparator': True, 'places': 0},\n",
277-
" 'label': '',\n",
278-
" 'visible': True},\n",
279-
" {'fieldName': 'Shape__Length',\n",
280-
" 'format': {'digitSeparator': True, 'places': 2},\n",
281-
" 'label': 'Shape__Length',\n",
282-
" 'visible': True}],\n",
283-
" 'popupElements': [{'type': 'fields'}],\n",
284-
" 'showAttachments': False,\n",
285-
" 'title': 'Trails - Trails 0'},\n",
286-
" 'title': 'Trails - Trails 0',\n",
287-
" 'url': 'https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/Trails/FeatureServer/0',\n",
288-
" 'visibility': True}]),\n",
289-
" ('baseMap',\n",
290-
" {'baseMapLayers': [{'id': 'World_Imagery_2017',\n",
291-
" 'layerType': 'ArcGISTiledMapServiceLayer',\n",
292-
" 'opacity': 1,\n",
293-
" 'title': 'World Imagery',\n",
294-
" 'url': 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer',\n",
295-
" 'visibility': True}],\n",
296-
" 'elevationLayers': [{'id': 'globalElevation',\n",
297-
" 'layerType': 'ArcGISTiledElevationServiceLayer',\n",
298-
" 'listMode': 'hide',\n",
299-
" 'title': 'Terrain3D',\n",
300-
" 'url': 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer',\n",
301-
" 'visibility': True}],\n",
302-
" 'id': '15a87a333a9-basemap-2',\n",
303-
" 'title': 'Imagery'}),\n",
304-
" ('spatialReference', {'latestWkid': 3857, 'wkid': 102100}),\n",
305-
" ('version', '1.8'),\n",
306-
" ('authoringApp', 'WebSceneViewer'),\n",
307-
" ('initialState',\n",
308-
" {'environment': {'lighting': {'datetime': 1489609264000,\n",
309-
" 'directShadows': True,\n",
310-
" 'displayUTCOffset': -8}},\n",
311-
" 'viewpoint': {'camera': {'heading': 9.614277087541259,\n",
312-
" 'position': {'spatialReference': {'latestWkid': 3857,\n",
313-
" 'wkid': 102100},\n",
314-
" 'x': -13220640.739260178,\n",
315-
" 'y': 4022057.223588654,\n",
316-
" 'z': 8667.953206751496},\n",
317-
" 'tilt': 65.85320149210376},\n",
318-
" 'rotation': 350.38572291245873,\n",
319-
" 'scale': 82167.12948468477,\n",
320-
" 'targetGeometry': {'spatialReference': {'latestWkid': 3857,\n",
321-
" 'wkid': 102100},\n",
322-
" 'x': -13216930.28290715,\n",
323-
" 'y': 4043939.9526358354,\n",
324-
" 'z': 447.9400840708986}}}),\n",
325-
" ('ground',\n",
326-
" {'layers': [{'id': 'globalElevation',\n",
327-
" 'layerType': 'ArcGISTiledElevationServiceLayer',\n",
328-
" 'listMode': 'hide',\n",
329-
" 'title': 'Terrain3D',\n",
330-
" 'url': 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer',\n",
331-
" 'visibility': True}]}),\n",
332-
" ('heightModelInfo',\n",
333-
" {'heightModel': 'gravity_related_height', 'heightUnit': 'meter'}),\n",
334-
" ('authoringAppVersion', '5.3.0.0'),\n",
335-
" ('presentation', {'slides': []}),\n",
336-
" ('viewingMode', 'global')])"
337-
]
338-
},
339-
"execution_count": 18,
340-
"metadata": {},
341-
"output_type": "execute_result"
342-
}
343-
],
110+
]
344111
},
345112
{
346113
"cell_type": "markdown",

0 commit comments

Comments
 (0)