POST
|
Hey Guys- You are both absolutely correct. For whatever reason, I thought that arcpy.SetParameterAsText started its index at 1. This was the crux of my whole problem. It works beautifully now. Thanks so much.
... View more
03-22-2018
12:02 PM
|
1
|
2
|
2673
|
POST
|
Hey All, I am trying to create a derived output using a Python script. when I run the script, I keep getting the following error: "RuntimeError: Object: Error in setting parameter as text". I have an output folder that is an input (outFolder). I basically want to use that same folder as an output once the script has run so that I can use it in a model. My parameters are set up like this: input_FC = arcpy.GetParameterAsText(1) inField = arcpy.GetParameterAsText(2) theFName = arcpy.GetParameterAsText(3) outFolder = arcpy.GetParameterAsText(4) output = arcpy.SetParameterAsText(5, outFolder) script = sys.argv[0] I have tried several variations of SetParameterAsText, including: outFolder = arcpy.SetParameterAsText(5, "outFolder") and arcpy.SetParameterAsText(5, outFolder) My parameter named "output" is configured as such in the script tool properties: It is set to derived so that it will appear as an output in a model and obtained from the input parameter, outFolder (Named Feature Class in the parameter settings above). What am I doing wrong here?
... View more
03-22-2018
09:45 AM
|
0
|
5
|
3114
|
POST
|
I am running Web AppBuilder-Developer's Edition on my local and I want to be able to build a custom Web AppBuilder app, download the code (and modify/customize it), and then serve it from an PaaS like Heroku. ALthough I know that Web AppBuilder Apps are based on a NodeJS framework, when I downloaded the files/code for my app, I noticed that it doesn't have quite the same file structure as a NodeJS application (Ex: the package.json file is in the libs folder). Also, there is no Web Server component like Express that would typically be used with NodeJS. Has anyone tried launching a standalone version of a Web AppBuilder app from a PaaS? I know it can be done using .Net/IIS, but I don't want to go that route.
... View more
03-07-2018
10:34 AM
|
0
|
1
|
1043
|
POST
|
For the edification of anyone wanting to know the answer to this question, the answer is rather simple as I soon discovered. IDW, in this case, requires both an extent and mask in order to "clip" the interpolated raster. Although you cannot see it I basically used my field boundary (polygon) to do this. In the model, I connected the field boundary polygon to the IDW twice; once as an Environment>Mask and again as Environment>Extent. Once this was accomplished, the error was resolved. It should be noted that if the input point feature or boundary feature were to theoretically have null/empty values, a similar error would be thrown. Hope this explains the problem and solution better.
... View more
03-07-2018
10:24 AM
|
0
|
0
|
797
|
POST
|
Hey All, I am trying to run a folder or point features (shapefiles) through and iterator in model builder so that I can batch process them. If I run them individually, I have no problems. But using the iterator, the process fails every time after about 3 iterations. The specific error that I get is "ERROR 010092: Invalid output extent. Failed to execute (IDW)," which occurs on the fourth iteration. I am using a simple parameter scheme without adding an input barrier feature. My thought was to clip it to a field boundary later, so I just left the barrier parameter blank. And here is the model. What could I be doing wrong here? I don't see any obvious
... View more
03-07-2018
10:18 AM
|
0
|
1
|
887
|
POST
|
OK, I was able to get the correct Client_ID to work. Basically, the fix was to completely uninstall the SDK, download it again, and relaunch the server. Once I did that, I was prompted to enter in the App ID below the URL. Everything worked fine from there on out. Thanks for the assist.
... View more
02-07-2018
08:00 AM
|
1
|
0
|
14010
|
POST
|
I am running Esktop 10.5 and Python27. I have arcpy working fine from my IDE but when I try to run the following, I get an error: myNear = arcpy.Near_analysis(school_layer,tri_layer,"5000 meters") The error says: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (Near). I tried looking this up in stack exchange, but the best that I could come up with is that 1) Either Near_analysis is part of some extension that requires an additional licnese/payment or 2) There is something incorrect about the parameters being used. Any ideas?
... View more
02-07-2018
07:19 AM
|
0
|
3
|
5518
|
POST
|
Yes! The Stack Overflow article refers to a connecting a virtual XP to a local Windows 7 machine on which Postgres resides. I was able to configure my pg_hba.conf file correctly (I think). Our network is basically just a small secure wifi network. Now I guess I just need to see if I can create database server/ database connection from one of my coworkers arcMap setups and pull some data in. Thanks for the references. Let me know if you have any other suggestions.
... View more
02-07-2018
06:21 AM
|
1
|
0
|
1577
|
POST
|
I am trying to set up Postgres/PgAdmin to serve 3 other workstations in my office w/ ArcMap. In other words, not from localhost:5432. I know how to set up data connections on ArcMap locally, but I need to set it up for the office network/wifi. Recommendations on how to do this?
... View more
02-06-2018
01:02 PM
|
0
|
2
|
1789
|
POST
|
Yes, I created a test app through my Web AppBuilder Dashboard. There is a Client ID, a Client Secret ID, and a temporary token. I shared it with everyone and launched it. So, am I already in the web appbuilder at this point? Am I missing something here?
... View more
02-06-2018
11:00 AM
|
0
|
0
|
14010
|
POST
|
I just unpacked WebAppBuilderForArcGIS and I ran the startup.bat file. It launches a browser page and requests that I specify the URL for my ArcGIS Online Organization or Portal. When I enter it, I get back an error: invalid client_id, error 400. What gives? When looking at the server console, I am noticing a few clues, but not sure how to fix this or if it is infact, the problem. First, I see that the server is listening on ports 3345 and 3346, but that the browser (see above) opens on port 3344. Second, I am seeing a "No token found" message. Any clues on how to fix this?
... View more
02-06-2018
10:38 AM
|
0
|
7
|
18908
|
Title | Kudos | Posted |
---|---|---|
1 | 02-07-2018 08:00 AM | |
1 | 03-22-2018 12:02 PM | |
1 | 02-07-2018 06:21 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|