POST
|
I am having a hard time getting a feature class to consistently extrude downwards in ArcPro 2.2 in a local scene. I was able to successfully extrude downwards with a GCS NAD 27 coordinate system, but I cannot seem to consistently replicate the extrusion regardless of the coordinate system (scene and all layers have the same coordinate system). What are the current limitations with downward extrusion? It would be very useful if this functionality was more robust. It looks like downward extrusion is also not a supported functionality for a feature layer in a web scene (positive, upward extrusion works fine). Thanks in advance! Tess
... View more
07-26-2018
09:24 AM
|
0
|
3
|
1801
|
DOC
|
I am also looking to use this widget in a 3D application. Any ideas on how this widget can be modified to work in my 3D application (version 2.8)? Thanks! Tess
... View more
07-19-2018
11:55 AM
|
0
|
0
|
7009
|
POST
|
Thanks. This is super helpful and good to go through. This is pretty big and messy. panel [widgets_Report_Widget_32_panel] created. 17:00:01.993 Widget.js?wab_dv=2.7:2 Uncaught SyntaxError: Unexpected identifier 17:00:02.014 WidgetManager.js?wab_dv=2.7:116 create [widgets/Report/Widget] error:TypeError: clazz is not a constructor at Object.createWidget (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:320:16) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:112:35) at https://jsdev.arcgis.com/3.23/init.js:63:337 at h (https://jsdev.arcgis.com/3.23/init.js:107:277) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) at d.resolve (https://jsdev.arcgis.com/3.23/init.js:109:280) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:189:13) at https://jsdev.arcgis.com/3.23/init.js:63:337 at h (https://jsdev.arcgis.com/3.23/init.js:107:277) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) Widget.js?wab_dv=2.7:127 Uncaught TypeError: Cannot read property 'name' of undefined at Object._onWidgetCreation (VM3435 Widget.js:127) at Object.<anonymous> (VM2999 init.js:63) at Object.c [as onwidget-created] (VM2999 init.js:119) at Function.h.emit (VM2999 init.js:124) at Function.h.emit (VM2999 init.js:125) at Object.emit (VM2999 init.js:117) at Object.<anonymous> (VM3326 WidgetManager.js:131) at VM2999 init.js:63 init.js:114 TypeError: clazz is not a constructor at Object.createWidget (VM3326 WidgetManager.js:320) at Object.<anonymous> (VM3326 WidgetManager.js:112) at VM2999 init.js:63 at h (VM2999 init.js:107) at q (VM2999 init.js:107) at d.resolve (VM2999 init.js:109) at Object.<anonymous> (VM3326 WidgetManager.js:189) at VM2999 init.js:63 at h (VM2999 init.js:107) at q (VM2999 init.js:107) "TypeError: clazz is not a constructor at Object.createWidget (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:320:16) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:112:35) at https://jsdev.arcgis.com/3.23/init.js:63:337 at h (https://jsdev.arcgis.com/3.23/init.js:107:277) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) at d.resolve (https://jsdev.arcgis.com/3.23/init.js:109:280) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:189:13) at https://jsdev.arcgis.com/3.23/init.js:63:337 at h (https://jsdev.arcgis.com/3.23/init.js:107:277) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) ---------------------------------------- rejected at a (https://jsdev.arcgis.com/3.23/init.js:108:174) at h (https://jsdev.arcgis.com/3.23/init.js:107:450) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) at d.l.reject (https://jsdev.arcgis.com/3.23/init.js:109:488) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:125:21) at https://jsdev.arcgis.com/3.23/init.js:63:337 at h (https://jsdev.arcgis.com/3.23/init.js:107:277) at q (https://jsdev.arcgis.com/3.23/init.js:107:203) at d.resolve (https://jsdev.arcgis.com/3.23/init.js:109:280) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/WidgetManager.js?wab_dv=2.7:189:13) ---------------------------------------- Error at d.then.b.then (https://jsdev.arcgis.com/3.23/init.js:110:97) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js?wab_dv=2.7:76:53) at Object.forEach (https://jsdev.arcgis.com/3.23/init.js:70:486) at Object.loadAllWidgetsInOrder (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js?wab_dv=2.7:66:13) at Object.startup (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/BaseWidgetPanel.js?wab_dv=2.7:55:12) at Object.g (https://jsdev.arcgis.com/3.23/init.js:197:400) at Object.startup (https://mydevurl:3344/webappbuilder/apps/2/themes/DartTheme/panels/DartPanel/Panel.js?wab_dv=2.7:56:14) at Object.openPanel (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/PanelManager.js?wab_dv=2.7:151:17) at Object.<anonymous> (https://mydevurl:3344/webappbuilder/apps/2/jimu.js/PanelManager.js?wab_dv=2.7:93:16) at https://jsdev.arcgis.com/3.23/init.js:63:337" Widget.js?wab_dv=2.7:155 TypeError: Cannot read property 'nodeType' of null at Object.getComputedStyle (VM2999 init.js:162) at Object.h.getContentBox (VM2999 init.js:179) at Object._resizeController (VM3435 Widget.js:145) at VM2999 init.js:63 17:07:47.215 Widget.js?wab_dv=2.7:155 TypeError: Cannot read property 'nodeType' of null at Object.getComputedStyle (VM2999 init.js:162) at Object.h.getContentBox (VM2999 init.js:179) at Object._resizeController (VM3435 Widget.js:145) at VM2999 init.js:63 17:07:53.986 Widget.js?wab_dv=2.7:155 TypeError: Cannot read property 'nodeType' of null at Object.getComputedStyle (VM2999 init.js:162) at Object.h.getContentBox (VM2999 init.js:179) at Object._resizeController (VM3435 Widget.js:145) at VM2999 init.js:63
... View more
04-18-2018
04:16 PM
|
0
|
2
|
2254
|
POST
|
Thanks again for all of your help Jamal. It turns out I had a syntax error in the manifest.json file that I was able to resolve, so that error is no longer showing up when I start the WAB sartup.bat file. However, I am currently getting a 'create widget error' after I add the widget via WAB and try to open it. I have attached my current 'Report' widget folder. If you can provide any recommendations on where I might need to make modifications, they will be helpful. I apologize that I am new to this type of configuration, and I may be missing some very obvious errors... Thanks again! Tess
... View more
04-18-2018
01:22 PM
|
0
|
4
|
2254
|
POST
|
Thank you so much for this info. I added this code to the widget.js file in a Report dijit widget, and I am hiving issues with mainfest.json errors from the widget. As I have not yet spent much time configuring custom widgets, these errors could be from multiple sources. Would you mind making this widget folder available to download?
... View more
04-18-2018
08:58 AM
|
0
|
6
|
2254
|
POST
|
Good to know. I will look forward to this capability if it may become available in the future. Thanks! Tess
... View more
04-11-2018
07:18 AM
|
0
|
0
|
2254
|
POST
|
Is there a way to limit legend items to only those feature values in the current extent in a Web AppBuilder (Developer's Edition 2.7) app? I currently have a service layer symbolized by unique values for my attribute of interest, though as I zoom to features, it would be nice to limit the legend to show only the unique values that are currently displayed (rather than having to browse through the many many unique values that are symbolized for the layer within the legend). I am using the filter widget to filter and zoom to features based off of multiple expressions for unique values and previous expression filters. Maybe limiting legend contents would need to be configured within the original map document, the service, the Portal web map, or in the application itself? I have attempted to achieve this functionality with the Legend and Layers widgets and have not had any luck. I'm curious as to what steps I may need to take to establish this functionality. Thanks in advance! Tess
... View more
04-10-2018
03:47 PM
|
1
|
16
|
4236
|
POST
|
Thank you both so much for your help. The list comprehension blog posts are great links to have, and thank you so much for sharing. It turns out that I did need to use f[0]:f[1:] for the dictionary (hugely helpful) in addition to casting CodeID as an integer in line 5 of my initial posting.
... View more
02-01-2018
01:46 PM
|
0
|
0
|
3877
|
POST
|
For some reason, I am really struggling with how to fix this issue. If I cast CodeID in line 5 as an integer, I am able to populate Table_2 fields with only one letter (rather than the entire text string from Table_1) before getting a 'string out of range error'. Maybe it would be best to change "key_field" in Table_1 to a text field using arcpy.TableToTable_conversion prior to creating the dictionary? I am not quite sure how to get field mappings to work for this though. Do you have any recommendations on how to most efficiently handle this? Thank you so much for your help.
... View more
01-31-2018
11:09 AM
|
0
|
0
|
3877
|
POST
|
It looks like the key field names are accurate and that they are both accurately populated in both tables. However, "key_field" in Table_1 has a 'double' field type, and "KEY_FIELD" in Table_2 is a text field. Is there an easy way to cast "key_field" as text in Table_1 by chance (if this might help to solve the issue)?
... View more
01-30-2018
05:28 PM
|
0
|
2
|
3877
|
POST
|
That must be what is going on. I receive a '61005 is in False' printout for all CodeID values. I'll dig into it a bit more to see what may be going on. Thanks!
... View more
01-30-2018
05:05 PM
|
0
|
1
|
3877
|
POST
|
I am trying to populate many new fields in a new table using values from fields in another table. I am hoping to use a combination of a da.search cursor dictionary and a da.update cursor to speed up this field update. I am not receiving any errors with this code, though the field values are not populating, and the fields remain blank after that script has completed. Any suggestions on what I might need to fix? "KEY_FIELD" is the unique identifier and is populated in both tables. search_feats = {f[0]:f[1] for f in arcpy.da.SearchCursor(Table_1,["key_field","field_2","field_3", "field_4", "field_5", "field_6"])}
with arcpy.da.UpdateCursor(Table_2,["KEY_FIELD","FIELD_2","FIELD_3", "FIELD_4", "FIELD_5","FIELD_6"]) as upd_cur:
for upd_row in upd_cur:
CodeID = upd_row[0]
if CodeID in search_feats:
upd_row[1] = search_feats[CodeID][0] #FIELD_2
upd_row[2] = search_feats[CodeID][1] #FIELD_3
upd_row[3] = search_feats[CodeID][2] #FIELD_4
upd_row[4] = search_feats[CodeID][3] #FIELD_5
upd_row[5] = search_feats[CodeID][4] #FIELD_6
upd_cur.updateRow(upd_row)
del upd_cur
... View more
01-30-2018
04:48 PM
|
0
|
9
|
6543
|
POST
|
This is great, and I like the da.InsertCursor route. I am getting a "argument must be a sequence of values" error on line 3 (line 9 in the code below). Here is the code I have: tbList = [] # empty list
for row in arcpy.da.SearchCursor("Table_1", ["FIELD_A"]):
if row[0] not in tbList:
tbList.append(row[0]) # copy distinct rows to list
cursor = arcpy.da.InsertCursor("Table_2",['FIELD_A'])
for row in tbList:
cursor.insertRow(row)
del cursor
... View more
01-30-2018
10:56 AM
|
0
|
2
|
872
|
Title | Kudos | Posted |
---|---|---|
1 | 09-19-2018 11:46 AM | |
1 | 04-10-2018 03:47 PM | |
1 | 10-01-2018 08:50 AM | |
1 | 02-15-2017 07:50 AM | |
1 | 10-19-2018 04:08 PM |
Online Status |
Offline
|
Date Last Visited |
10-01-2024
10:19 PM
|