POST
|
Interesting workaround, I will try it next time I'm having this problem. Thank you for sharing your solution!
... View more
07-30-2019
02:18 AM
|
0
|
0
|
116
|
POST
|
Hi there, Thanks for the input but unfortunately it is not the answer. In the chapter Setting script tool parameters there is a section called "Derived output that does not modify an input parameter". There it specifically states that this parameter "Obtained from" should be empty (see snapshot below).
... View more
03-23-2018
05:19 AM
|
0
|
0
|
116
|
POST
|
Of course! You are completely right, I forgot it doesn't have an upgrade option. I blame it on lack of coffee at such an early hour Thank you!
... View more
02-07-2018
02:42 AM
|
1
|
0
|
9
|
POST
|
Greetings, Perhaps someone can shed some light on my question. I have two instances of Web Adaptor (v.10.3.1) setup on the same machine which are pointing to two different ArcGIS Server Sites. I wanted to know if you could upgrade only one instance to another version (e.g. 10.5.1 or 10.6) and leave the other instance at it's current version. Thanks in advance, Cheers!
... View more
02-07-2018
01:59 AM
|
0
|
2
|
114
|
POST
|
I am using derived so as not to allow user input for that parameter, basically hiding it from the tool dialog box. I could hard code the parameter inside the script but then I would not get an output which I can subsequently use to chain the script tool in model builder.
... View more
10-23-2017
03:30 AM
|
0
|
1
|
116
|
POST
|
Hey Aaron sorry for the very very late reply! I don't log on to Geonet very often and I must have missed the notification about your reply. To answer your question I have not found a solution to this. I just work with it like it is, perhaps it's been fixed in the latest version of ArcGIS desktop / Pro. I'm still using 10.3.1 but will be upgrading later to 10.5.1.
... View more
10-13-2017
02:45 AM
|
0
|
0
|
5
|
POST
|
Howdy! I have a bit of a problem with a python script tool that I am trying to get to work when I chain it to other tools in a model made in model builder. It's just a simple dummy tool I set up to try to sort things out, the model selects a polygon, based on user input via a point type feature set, and buffers this selected polygon (this is the script part) then I wanted to copy the result output (featureclass) to another location by chaining the script tool to the copy features tool but no matter what I try it gives me an error that an input value is required (see model diagram, script tool parameter settings and script tool code below). Script tool runs fine on it's own by the way and gives proper results. Model diagram: Mybuffers Script tool code: import arcpy import os from arcpy import env #Set environement variables scratch = env.scratchGDB env.overwriteOutput = True arcpy.SetLogHistory(False) #Important to reduce metadata writing #Get input parameters inpnt = arcpy.GetParameterAsText(0) mypolys = arcpy.GetParameterAsText(1) outfcname = os.path.join(scratch, "mybuffers") #Make feature layer from input point(s) inpntlyrname = "InputPoints" inpntlyr = arcpy.MakeFeatureLayer_management(inpnt, inpntlyrname) #Make feature layer from polygons polylyrname = "MyPolygons" polylyr = arcpy.MakeFeatureLayer_management(mypolys, polylyrname) #Select polygons that intersect input points selpolys = arcpy.SelectLayerByLocation_management(polylyr, "INTERSECT", inpntlyr, "25 Meters", "NEW_SELECTION") #Buffer selected polygons arcpy.Buffer_analysis(selpolys, outfcname, "5000 Meters") #Set output parameter outputfc = arcpy.SetParameterAsText(2, outfcname) Mybuffers script tool parameters settings (for the output parameter): It's like the copy features tool is not getting the data from the script tool even though I've used countless different versions of the SetParameterAsText() and read as much as I can take of the official help. Perhaps there is some good hearted soul willing to look over my code to help me see where I'm going wrong because I'm stuck and getting really annoyed at this Cheers! UPDATE 23.10.2017: I've been relying on the official help in the link below, chapter heading "Derived output that does not modify an input parameter". I have now tested setting up exactly the same example with the post data to repository script tool and the copy features section of the model fails in the exact same way i.e. "input value required", the second tool in the chain does not run. Setting script tool parameters—Help | ArcGIS Desktop
... View more
10-12-2017
09:41 AM
|
0
|
9
|
1718
|
POST
|
In short the problem is that after downloading a work area in Collector it is impossible to create new features (or update downloaded ones) and sync back but that is irrelevant since nothing can be edited or created.The only messages that Collector displays is "Unable to create feature" and "Unable to update feature" respectively. When trying to sync it just says that there was an error with syncing, no details. Working in "live" mode however is perfectly fine. I am using a Huawei P8 with Android 5.0.1. and Collector v10.4.0 (build 1024). The feature service is a locked, on premise service, running on a ArcGIS server 10.3.1 (machine on intranet) that uses a WebAdaptor (IIS 8.5 on win server 2012 R2) intermediate located on a machine on our DMZ. The web map containing the service and used in Collector is in our organization's AGOL site (not own hosted portal). As I say everything works fine in live mode in Collector, even editing on the web map that the Collector is using in AGOL. It's only after downloading a work area and going offline in Collector that things don't work. Anyone else having this problem and/or solution? PS: I know about and have found BUG-000081991 on the support site and this seems to be something else. UPDATE 20161013: I've had field crews confirm that using the same version of Collector but different version of Android (4.x) then downloading, creating and then syncing back works like a charm. Maybe Android version 5.0.1 does not play nice with Collector?
... View more
10-13-2016
03:20 AM
|
0
|
0
|
892
|
POST
|
EDIT: Just noticed an error in snippet 2, the editStopOperation() call should be after the del cursor, cursor2 statement otherwise you get an error that the cursors have been invalidated because the edit operation has stopped. Thanks for the input Joshua, it was very helpful indeed and I'll mark is at the correct answer. However as you point out the efficient way depends on the number of events vs. possible risk of losing edits if something goes wrong. In my case the number of events is quite modest so I'll use the code from snippet 2
... View more
09-14-2016
06:46 AM
|
0
|
1
|
13
|
Online Status |
Offline
|
Date Last Visited |
11-18-2020
04:03 AM
|