POST
|
I'm having a hard time finding an exact answer to this question when searching the keywords (deep topics, lots of rabbit holes!) Big picture: I am trying to create a single tool that novice GIS users at our office can run, that only requires a single feature class input from a weekly updated geodatabase be chosen as the input parameter. The rest of the processing, archiving, and appending of the production geodatabase stays the same and is completely automated. I have created 3 Python scripts that are meant to be used in series for each step of this process (they are actually exports from ModelBuilder that I have modified to work in an Enterprise Geodatabase environment). The first one selects the new feature class and processes the geometry and attribute fields in preparation for replacing our current production feature class. The next script creates an Archive of the current production feature class that can be used for comparison with the new feature class. The last script truncates the current production table and then appends it with the newly prepared feature class. I created a new toolbox with a new "toolset" in ArcCatalog, and have successfully created the 3 script tools using the original 3 Python scripts. The first python script has an input variable defined using "PARCELS = arcpy.GetParameterAsText(0)" in the code. I have also updated the script tool properties to use a parameter for this step (named PARCELS, feature class, required, input). I have been attempting to create a "master" script that imports the toolbox and calls each script process, using the ArcPy module to write the code. Once this works, I will save the code as a script tool of its own. But I'm having trouble passing the user defined input variable to the master script. When I "Open" or double-click on the first script tool (with the input parameter) in ArcCatalog, I successfully get the pop-up asking me to select the feature class to be used as the input. But if I use the ArcPy module in ArcMap to import the toolbox and call the script, I am not prompted for the parameter, but instead get the message: "Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "D:\ParcelUpdates\ParcelToolbox.tbx", line 229, in CreateCWDParcels ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: PARCELS: Value is required Failed to execute (CreateCWDParcels)." Am I approaching this the right way? Can someone point to a straightforward example? (Note that a ModelBuilder tool will not work for this process because of field mapping issues when appending between a file geodatabase and an enterprise geodatabase).
... View more
01-16-2019
12:12 PM
|
0
|
1
|
583
|
POST
|
One other consideration I just discovered: You cannot show attachments in the pop-ups for map services. The item must be a feature service layer. Which seems kind of lame to me, since you CAN show related records for map services. Maybe someone can prove me wrong...
... View more
01-04-2019
03:15 PM
|
0
|
0
|
13726
|
POST
|
Excuse me for digging up an old post, Matthew, but I'm having a similar issue to Dharma, and looking for clarification of something you mentioned. Is there any documentation explaining the trade off between publishing layers to individual services versus combining them into a single feature service? I published all of our layers as individual services so they would have the most display flexibility and could be used on an as-needed basis in whatever maps our staff decide to make. But when I launch our web map that has all 27 of these feature services added, the ArcSOCs go through the roof and max out our ArcGIS Server's CPU. (This is with appropriate scale ranges defined - they don't all come on at once). I'm wondering if your solution - publishing all of the layers in a few services - will limit alleviate this issue. FYI: ESRI had previously told me that the query load would be the same between these 2 scenarios. But I wonder if they just meant from a database/record retrieval standpoint, and did not consider the CPU ramifications of potentially launching so many more ArcSOC processes for the same task.
... View more
12-27-2018
03:44 PM
|
2
|
1
|
1603
|
POST
|
Hi Emily, Did you ever solve this? I get the same error, but mine actually lists the max record count as "6", which has me baffled. The particular service that returns the error has a max record count set to 1000 in each layer. And the service returns many more features than 6 in the Web Map display, just slower than I would like. This leads me to believe that some other process is being limited to 6. Which has me suspecting the Search widget tool in our app, which uses fields from this service in its query and limits the search results to the first 6 matches. But I wouldn't think this would be logged as an error. And we get the errors when just viewing the service, without using the search widget in the app. Has anyone else experienced this? Is the Search widget sending me down a rabbit hole with it's "error" messages?
... View more
12-27-2018
02:53 PM
|
0
|
3
|
1900
|
POST
|
I have this persistent WARNING, too. Mine is limiting the query results to 6. This WARNING is always accompanied by a separate SEVERE message stating "General geodatabase error occured." (sic). My feature service has two layers and a table, which are all from the same database and are all related using relationship classes in the geodatabase. To be clear, the rest service URLs for each layer all show that the max record count is set to 1000. ESRI has attempted to help me troubleshoot this, but could not find a recommendation other than to upgrade our server. We did this: from SQL Server 2012 to 2016, plus ESRI professional services deployed a new, separate web server for us that has been upgraded to Enterprise 10.6.1. Both have had their memory and RAM increased. We are now using Portal instead of ArcGIS Online. And yet, this issue persists on our most important feature service.
... View more
12-14-2018
02:42 PM
|
0
|
0
|
1900
|
POST
|
In an effort to help others who find their way to this post and are wondering if they need to use both Overviews and Pyramids in their mosaic dataset, I can share what the deciding factor was for us: When building more complex mosaic datasets, especially where you will be taking advantage of the mosaic methods and on-the-fly processing, then it can be advantageous to build pyramids on the source rasters and to build overviews only where they are needed, such as when The mosaic methods will be used due to overlapping imagery Our orthophotography tiffs DO overlap, and therefore need to take advantage of mosaic methods. Because of this help document, I decided to use BOTH pyramids and Overviews. I hope this helps someone else, too!
... View more
12-13-2018
09:38 AM
|
0
|
0
|
475
|
POST
|
I'd like to re-iterate Nathan's question: What is meant by > than 3,000 "columns"? Our orthophotography mosaic dataset references 79 different TIFFs; each TIFF is on average around 8k x 8k pixels. Do you mean greater than 3,000 pixels per image? I'm trying to determine if I should check "Force Overview Tiles (optional)" when using the Define Overviews tool, so that overviews are used instead of pyramids, since the overviews are supposed to be more efficient.
... View more
12-13-2018
09:26 AM
|
1
|
1
|
470
|
POST
|
This link above is broken. I can find Part 1 of 2 on the new ArcGIS Blog site, but it looks like part 2 never got transferred over. Overviews and pyramids: Part 1 of 2, What are they and why do I need them?
... View more
12-13-2018
09:12 AM
|
1
|
0
|
903
|
POST
|
Thanks; 'Guess I'll have to move some licenses around depending on how management wants to use this app.
... View more
10-31-2018
08:58 AM
|
0
|
0
|
597
|
POST
|
Hi Scott, I'm just figuring out the new Workforce App as well. I noticed that only employees from our organization with a "User" license show up in the drop down list; employees that I have only paid for the basic "Viewer" license do not show up in the list. I also tried to un-checking the "limit to agency" button, but this then searches ALL of the AGOL accounts in the world, so results were pretty slow and often unresponsive. From what I could tell, this method still only shows "User" licensed accounts. I was under the impression that "Viewer" accounts could not create/update/delete the location and attributes of assets in your GIS database, but they could still view and close workforce work orders. Maybe that is not the case.
... View more
10-31-2018
08:47 AM
|
0
|
3
|
597
|
POST
|
Greg - that looks right. The <Point_LayerName> is based on the the name of the layer in your table of contents in your MXD, so I cannot confirm for you that is the correct name. As far as removing the points along a line, you can just remove the layer name from in-between the argument brackets instead of the whole statement. That way it is easy to reconstruct in the future if you ever want to use it. It won't cause an error when missing the variable. Hope this makes sense (I am in no way an expert)!
... View more
03-30-2018
01:43 PM
|
0
|
0
|
1830
|
POST
|
To come at this problem from a different angle... Could you create a copy of the layer in your map and then create separate definition queries and symbols for each layer? Your definition query would filter one layer ("Hydrants Needing Static Pressure Recorded") to values of <Null> or 0 in the StaticPressure field, and the "Hydrants w/ Pressure Recorded" layer would be filtered to show only StaticPressure values >0. Then you could symbolize them as you want. After the StaticPressure field is updated using Collector, the feature should be filtered into the appropriate layer in the web map.
... View more
03-06-2018
03:50 PM
|
0
|
0
|
334
|
POST
|
Brett, did you figure this out? I believe we are having the same problem (if I am reading your post correctly): I have published a feature service to ArcGIS Server that contains two feature classes and a GDB table that are all related to each other through two relationship classes I have created in our Enterprise GDB. These features all reside in separate datasets in SDE; one of the relationship classes was created in the same dataset as the source feature, the other was created outside the datasets in the general SDE directory. I am having a hard time finding a best practices guideline on where to create these relationship classes and how that affects the permissions assigned to them when operating in SQL Server. I was able to publish the service, and I can successfully switch between related features when using the service in a web app, but the service seems to run slow and I get a lot of generic "General Geodatabase Errors" in the logs. Where should relationship classes be stored relative to their related features, and how do you check/update the permissions for them?
... View more
02-15-2018
01:44 PM
|
1
|
1
|
606
|
POST
|
Thanks Bruce. Downloading the new version of WAB (2.6) and upgrading my apps fixed this problem! Note that you don't want run the 'install.bat' command line code that comes with the SDK download to upgrade from a previous version. The upgrade instructions for WAB are found here: Upgrade apps—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
... View more
12-05-2017
11:03 AM
|
0
|
0
|
3501
|
POST
|
Will this workflow overwrite or cause me to lose any of the Web Apps already configured in my current deployment of Web App Builder?
... View more
12-04-2017
04:06 PM
|
0
|
2
|
3501
|
Title | Kudos | Posted |
---|---|---|
1 | 02-15-2018 01:44 PM | |
2 | 12-27-2018 03:44 PM | |
1 | 10-11-2017 11:38 AM | |
1 | 10-11-2017 11:53 AM | |
1 | 05-10-2017 08:44 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|