|
POST
|
Along with Vipul's post regarding: "Please check your install media and make sure you have installed the web components" .....you probably dont have IIS installed on the machine. Without IIS the Manager and Services Directory wont install. This would have been a warning that you could skip through during the AGS install. You'll have to install IIS from ADD/Remove Programs > Windows Components Then go back and do a either a modify OR a remove then re-install of AGS. ...and then of course there's the display problem which could be permissions like he said, or various other issues. However I'd get IIS working first, that may fix the second problem if its a simple display/virtual directory issue
... View more
07-11-2010
11:59 AM
|
3
|
0
|
1223
|
|
POST
|
James, Excellent - I'm glad you got it narrowed down. While I'm not a Flex Guru, I suspect there will be two ways to solve your problem. Both of when you could model after the concepts on the "Viewshed Flex Geoprocessing" page: http://help.arcgis.com/en/webapi/flex/help/content/inside_api/geoprocessor.htm This example works very similar to yours, in that a feature set and a value is required as input. You can either create a text box and have the user define the value, or you can hardcode it and pass it at execution. The only major difference I suspect is instead of passing the value as its own parameter, I believe it needs grouped in with the featureset. I dont know the exact Flex code, but you can see from this JSON request how the values for "FID" and "ID", which are values in the FeatureSet table are passed along with the geometry. So I guess that leads you back to how to pass these values in your Flex application. {"features":[{"attributes":{"FID":1,"Id":1,"Shape_Length":0,"Shape_Area":0},"geometry":{"rings":[[[{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_x1}},{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_y1}}],[{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_x2}},{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_y2}}],[{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_x3}},{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_y3}}],[{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_x4}},{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_y4}}],[{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_x5}},{{LoadTestDB.GP_REST_Execute_Demographics_400.pt_y5}}]]],"spatialReference":{"wkid":4326}}}]} ....just ignore the "loadtestdb", and imagine those were actual XY values
... View more
07-09-2010
07:40 AM
|
0
|
0
|
3104
|
|
POST
|
A two step process: -Use something like Make XY Event Layer tool or Add Data from XY Data -Once you have this as a layer, reproject it into your projection of interest. You may have to insert a step between those of "defining your projection" as WGS84 but I suspect you can go right to the final projection.
... View more
07-08-2010
11:57 AM
|
0
|
0
|
451
|
|
POST
|
Holm, Thanks for providing that - it clears up my understanding of the question. The information I originally providing you with wont work in this situation. Unfortunately the LIST doesn't provide the %n%. Additionally you can't control the output name with the input name via the inline variable with a list in the manner I proposed. (my apologies, I'm confusing functionality between 931 and 10). The %n% count is only available with SERIES and with the Iterators built into ArcGIS 10. It may only be possible to accomplish this with a script. I'll have to look into it a little more.
... View more
06-25-2010
12:51 PM
|
0
|
0
|
2089
|
|
POST
|
Could you post your model or the picture of your model?
... View more
06-25-2010
10:35 AM
|
0
|
0
|
2089
|
|
POST
|
I'd have to see your model to be able to give you the exact syntax, but the basic idea is every "circle" part of ModelBuilder (the input/outputs) can be referenced via the name you set. So, lets say you have copy features and it looks like this in the ModelBuilder window: InputFeatures -- Copy Features -- OutputFeatures If you are iterating over a bunch of FeatureClasses you already know about the "n". So you can set the output to: %InputFeatures%_%n% Which should give you something like: roads -> roads_1 lakes -> lakes_2 rivers -> rivers_3 This help topic does a good job of explaining inline variables: http://webhelp.esri.com/arcgisdesktop/9.3/body.cfm?tocVisable=1&ID=857&TopicName=In-line%20variable%20substitution
... View more
06-25-2010
07:58 AM
|
0
|
0
|
2089
|
|
POST
|
Hopefully this gets you started: Expression: calc ( !percentage! ) Code Block: cumulative = 0
def calc(invalue):
global cumulative
cumulative = invalue + cumulative
return cumulative
... View more
06-22-2010
09:23 AM
|
0
|
0
|
952
|
|
POST
|
Steve, I'm not sure where you're going wrong exactly? Do you need Python syntax for time?
import time
print time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())
Will give: 2010/06/11 11:34:14 Can you bring this into your calc script?
... View more
06-16-2010
09:59 AM
|
0
|
0
|
509
|
|
POST
|
Josh, Changing the output path to: %scratchworkspace%\scratch.gdb\InfoPoints_Freqency should get around the already exist error. The %scratchworkspace% tells ArcGIS Server to handle the output, ensuring that nothing is overwritten (or nothing is attempted to be overwrote). Your results will get created at: C:\arcgisserver\arcgisjobs\<service name>\<unique id>\scratch\scratch.gdb\InfoPoints_Frequency You're probably already onto this, but the example here shows how results are returned to the client within the JavaScript API from a similar operation http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples/gp_zonalstats.html
... View more
06-10-2010
11:33 AM
|
0
|
0
|
1198
|
|
POST
|
Thanks Josh, that narrows it down a bunch. It's probably an issue in the model itself. Could you please attach the TBX and I'll take a look?
... View more
06-10-2010
08:09 AM
|
0
|
0
|
1198
|
|
POST
|
Josh, You mentioned your client being a "web client", can you give more details on this? A web app developed through the ADF, a javascript application, something else?
... View more
06-09-2010
03:42 PM
|
0
|
0
|
1198
|
|
POST
|
James, Its a little tricky to pin point exactly what went wrong, but you provided a great explanation. A couple things for you to check and be sure of: -make sure you set relative paths within your model properties -I'd suggest using %scratchworkspace%\tableoutput as the output (or substitute tableoutput with your results name, but use %scratchworkspace%) -Your comment on bringing the model/map over to the AGS machine - do you have desktop there? If so you can just re-run it for a quick test (if not, no problem), just ensure you drag over everything (easiest if kept in the same folder): ---tbx ---mxd ---output data ---data used as reference for the featureset -and the sde data: sde.sde.option_1a - is this coming right from SDE, (featureclass) or is it pulling from the map (feature layer)? If its the featureclass you may want to make a copy of the SDE connection string (.sde file), and save it to your working directory. Then reference it from that path - not from the SDE Connection node. Like I said, I'm unsure exactly where its failing, but any one of the above things could just fix it. Hopefully this moves you forward.
... View more
06-08-2010
08:02 AM
|
0
|
0
|
3104
|
|
POST
|
If your list is static you can write out a value list. http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=792&pid=786&topicname=Managing_parameters (see screen shot) I haven't tried to do this as a dynamic list at run time via python. It could be worth a try. However if the list is static, I'd simply use the value list to save the overhead of reading the records everytime and creating a list.
... View more
06-03-2010
01:31 PM
|
0
|
0
|
924
|
|
POST
|
Ted, I'm not sure what you're referring to. Can you provide some more information? What toolboxes - system ones, custom ones...? Are you performing a copy operation and it's failing?
... View more
06-01-2010
10:02 AM
|
0
|
0
|
836
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-25-2026 08:25 AM | |
| 1 | 09-29-2025 05:19 AM | |
| 1 | 09-20-2023 06:37 AM | |
| 1 | 09-18-2025 07:07 AM | |
| 3 | 09-18-2025 06:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-25-2026
08:04 AM
|