|
POST
|
Kurtis, Did you find any solution to this?? We are having the same exact problem, and found it related to the Layer List! -Cindy
... View more
10-20-2017
05:11 PM
|
0
|
0
|
2876
|
|
POST
|
I have discovered that this only happens once the Layer List widget is open!! After that, rendering is really slow - even if the Layer List is closed again. Is there something with this widget?
... View more
10-20-2017
05:07 PM
|
0
|
4
|
1238
|
|
POST
|
I have a Web Map that I created in ArcGIS Online with data that is hosted on our server. When you pan around and zoom in and out in the map viewer, things draw really fast. I have created an Application with Web AppBuilder Developer on our server with this map and when you pan, things draw fast, but when you zoom in and out, it takes quite a while for the drawing to render. Why is there such a lag in drawing in the Application? Is there something I can do to speed this up? It doesn't matter if they are images or just vectors either. Thanks so much for any help.
... View more
10-19-2017
09:52 AM
|
0
|
5
|
1573
|
|
POST
|
Thank you so much, Robert. I think that I will just wait, so that everything is kept in the same version.
... View more
10-10-2017
08:33 AM
|
1
|
1
|
1357
|
|
POST
|
I am creating a web application using the Web AppBuilder Developer Edition 2.5. I noticed that the Bookmark Widget in the developer edition is different from the one in the ArcGIS Online version. There is a less customization properties for the developer. I am using the Bookmark to create Areas of Interest within our county and really would like to have just a list of these areas in the bookmark. The only option in the developer is thumbnails. The Enhanced Bookmark widget is more than we need as well. Is there a way to download the bookmark widget that is available online? --- that is exactly what we need.
... View more
10-10-2017
08:05 AM
|
0
|
3
|
1709
|
|
POST
|
That is what I was afraid of. Thank you for your help!
... View more
08-16-2017
10:30 AM
|
0
|
0
|
859
|
|
POST
|
I don't know if this is the correct place to ask this....but..... I am trying to create a web app with WebAppBuilder Developer to be hosted on our own server that allows one of our departments to add points and update the attributes. I can get all of it to work by hosting the feature layer up on AGOL and creating a web map, but is there a way to do this using just our ArcServer license? We don't have Enterprise, so I can't get an editable map service added to the App. I have the LocalLayer widget, but there isn't an option to bring in a service definition, shapefile or geodatabase. Am I missing something? Any help would be appreciated. Thanks!
... View more
08-16-2017
10:01 AM
|
0
|
2
|
1007
|
|
POST
|
I figured this out and it was all programmer error. I didn't delete a cursor prior to running this portion of the script that creates the pie chart. Added a del cursor and it works like a charm. Thanks for the help and suggestions.
... View more
05-23-2017
03:14 PM
|
1
|
0
|
2278
|
|
POST
|
I will definitely check out the output operations in Python. Sorry about the poor code posting --- thanks for the link to posting Python code correctly. The script is set up to be re-run within the same ArcMap session, so a new pie chart is created (and overwrites the old one) each time the user makes a different selection. The new chart is added to the report that reflects the new data. The end user of this isn't very GIS savvy, they can add layers and make selections, but prefer to have "one button" to hit to run everything. I have a similar script that runs perfectly, but it is run from a task scheduler and so a completely stand alone python script. The difference has to be in running it from ArcMap. Thanks for your help.
... View more
05-18-2017
01:55 PM
|
0
|
0
|
2278
|
|
POST
|
I can not figure this out. I have a python script that runs as a script in a Toolbox. The script takes features that are selected, performs some calculations and creates two tables. One table is used to generate a report and the other table is used to generate a pie chart. The report has a graphic element at the top that is supposed to reference the jpeg of the pie chart. However when the script tool runs, the pie chart is not created, and thus, a blank space shows up on the report. I took the portion of the script that creates the pie chart and then the report (that portion below) and saved it to another script and ran this directly in the ArcMap python window and it works perfect, so I know that the elements of the scripting are working. I really need this to work through the Toolbox, though. Any suggestions? This is the script that creates the report. #Recreate the graph for the report...... #Set local variables.... output_graph_name = "NitrogenAvailability" output_graph_jpg = "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\GWMA_PieChart.jpg" graph_grf = "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\NitrogenAvailability.grf" inputData = "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\Reports\\selections.gdb\\pieTable" if os.path.exists(output_graph_jpg): os.remove(output_graph_jpg) #Create the graph....... graph = arcpy.Graph() #Add a pie chart....... graph.addSeriesPie(inputData, "Nitrogen", "", "NSource") #Output a graph, which is created in-memory arcpy.MakeGraph_management(graph_grf, graph, output_graph_name) #Save the graph as an image.... arcpy.SaveGraph_management(output_graph_name, output_graph_jpg, "IGNORE_ASPECT_RATIO", "500", "300") #Create a Report of the Nitrogen Table to Summarize the Final Numbers..... newreport = "nitrogen" newreportpath = "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\" + newreport + ".pdf" mxd = arcpy.mapping.MapDocument('CURRENT') df = arcpy.mapping.ListDataFrames(mxd)[0] table = "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\selections.gdb\\nitrogen" tabView = arcpy.mapping.TableView("\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\selections.gdb\\nitrogen") arcpy.mapping.AddTableView(df, tabView) table = arcpy.mapping.ListTableViews(mxd, "nitrogen", df)[0] arcpy.mapping.ExportReport(table, "\\\\GIS-Cascade\\Data\\Geodatabase\\earth\\GWMA\\Summary\\Reports\\total_nitrogen_summary.rlf", newreportpath)
... View more
05-18-2017
10:19 AM
|
0
|
4
|
3369
|
|
POST
|
For good practice, I did put in arcpy.env = "D:\\....." at the beginning of my script. I did have the variables zoning, etc hardcoded at the beginning. I found that I was missing this line.... layerName = arcpy.MakeFeatureLayer_management(finalParc, "finalParc") before my AddJoin_management. Think I have been looking at it too long. Thanks for your help.
... View more
02-21-2017
03:17 PM
|
0
|
0
|
778
|
|
POST
|
This should be so easy. I have a script that runs perfectly from the ArcMap python window, but errors out when run from a script tool or IDLE. It errors on the AddJoin because it says that finalParc does not exist. I believe it is because the Intersect_analysis is not running correctly. I don't know if the inFeatures list is not being created correctly or it is having trouble with the names in the list. The point of my script is to determine if the main layer - parcBuff - is overlapped by any of the other layers. If it is, then run an intersect_analysis on those overlapping layers to create one final layer - finalParc - that has the attributes of all those layers in it. Here is part of the code that should accomplish that...and I need it to run through a Tool..... #Create a cursor to go through all the layers. If layer does not intersect, apply N/A, otherwise, intersect.... #Make Layer Views...... arcpy.MakeFeatureLayer_management(parcBuff, "parcBuff") arcpy.MakeFeatureLayer_management(zoning, "zoning") arcpy.MakeFeatureLayer_management(fldplain, "fldplain") arcpy.MakeFeatureLayer_management(compplan, "compplan") arcpy.MakeFeatureLayer_management(fire, "fire") arcpy.MakeFeatureLayer_management(school, "school") arcpy.MakeFeatureLayer_management(irrigate, "irrigate") arcpy.MakeFeatureLayer_management(ressoils, "ressoils") arcpy.MakeFeatureLayer_management(soils, "soils") arcpy.MakeFeatureLayer_management(uga, "uga") #Cursor layers...... layerList = {"zoning", "fldplain", "compplan", "fire", "school", "irrigate", "ressoils", "soils", "uga"} inFeatures = ["parcBuff"] for theLayer in layerList: arcpy.SelectLayerByLocation_management("parcBuff", "INTERSECT", theLayer) selCount = int(arcpy.GetCount_management("parcBuff").getOutput(0)) print selCount if (selCount != 0): inFeatures.append("%s" % theLayer) #inFeatures = ["parcBuff", "zoning", "fldplain", "compplan", "uga", "soils", "ressoils", "irrigate", "school", "fire"] arcpy.Intersect_analysis(inFeatures, finalParc, "NO_FID", "", "") #Join the Party table to the parcel with all the information from the layers..... #Set the variables.... layerName = "finalParc" joinField = "ASSESSOR_N" arcpy.AddJoin_management(layerName, joinField, party, joinField) Hopefully, this is enough information. Thank you for your help!
... View more
02-21-2017
02:26 PM
|
0
|
2
|
1419
|
|
POST
|
I liked that "may" part as well. I can't figure out why it won't stay signed in, but I will keep looking around. Thanks for your help!
... View more
12-20-2016
12:53 PM
|
0
|
0
|
2842
|
|
POST
|
Really?? If it still works that would be great. These are the things that I have found..... This is from one google question/answer: The {AGOL_Username} and the {AGOL_Password} Catalog Keys are used in conjunction with the arcpy.SignInToPortal_server function. Nevertheless, for ArcGIS 10.2 (and later) users, it could be necessary to comment out this part of the script as below: And from the ArcGIS for Desktop Sign In to Portal help file: Legacy: Signing in to ArcGIS Online or Portal for ArcGIS through ArcGIS for Desktop has changed in the ArcGIS for Desktop 10.2 release. You may receive Warning 1561 when executing this tool. If you receive this message you cannot use the Sign In To Portal tool to authenticate, but must sign in to ArcGIS Online or Portal by clicking File > Sign In. See Signing in to ArcGIS Online in ArcGIS for Desktop applications for more information. And last one: At 10.2, significant enhancements were made to server security. To run this code at 10.2, comment out the arcpy.SignInToPortal_server() line (line 21). At 10.2, sign in information is obtained from the ArcMap File > Sign In dialog
... View more
12-20-2016
12:33 PM
|
0
|
2
|
2842
|
|
POST
|
I have read that after 10.2, this is no longer valid code, and the only way to sign on is to manually go to File --- Sign In. Before, I would do this and it would keep me signed in as long as I didn't sign out. Now, it automatically signs me out as soon as ArcMap is closed. This doesn't help with scripts run from scheduled tasks.
... View more
12-20-2016
12:05 PM
|
0
|
4
|
2842
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-23-2017 03:14 PM | |
| 2 | 01-08-2020 09:01 AM | |
| 1 | 09-09-2016 08:50 AM | |
| 1 | 10-10-2019 10:45 AM | |
| 2 | 11-02-2018 11:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-20-2026
12:22 PM
|