|
POST
|
I have a geoprocessing service published on ArcGIS server 10.3 that is protected with tokens. This GP Service is a python script. Is it possible to retrieve the user information, such username and password, from inside the script using the token passed as parameter when executed? Is there a way with arcpy to retrieve user information from a valid token?
... View more
07-14-2016
06:34 AM
|
0
|
0
|
1296
|
|
POST
|
@Bill Daigle Thank you for your answer. Maybe you could help me a little further. I use a little python script at the end of my model builder to return the data in json format like that: import arcpy FC_In = arcpy.GetParameterAsText(0) feature_set = arcpy.FeatureSet() feature_set.load(FC_In) arcpy.AddMessage(feature_set.JSON) In the client I call the GP Service with ajax and I have noticed that the response contains two members { messages: [ ], results: [ ] } In the messages member I have the json data from my GP, but results is an empty array. Why does the results empty? Would not be better to pass the json data inside the results parameter instead of the messages parameter? How can I do that?
... View more
04-28-2016
11:50 AM
|
0
|
0
|
2687
|
|
POST
|
Is it a good practice to use the GP service message parameter to return json data as string when calling the GP from javascript client through REST? arcpy.AddMessage(json.dumps(data))
... View more
04-28-2016
09:51 AM
|
0
|
4
|
4698
|
|
POST
|
It's a shame that in 2016 ArcGIS cannot export a table to xlsx dirrectly!
... View more
04-22-2016
12:42 PM
|
0
|
0
|
1909
|
|
POST
|
I would like to use the model builder to solve OD Cost Matrix in iterations because my origins/destinations FC need to be grouped by attributes. I use the Iterate Feature Selection tool to do so. After performing all OD Cost Matrix in loop, I want to merge all result lines into a single FC and export its table into an excel sheet. I separate the Iteration part of the process into a subModel with a Collect Values as output: Then I use the subModel output into another model to do the merge and the export to excel: The subModel seems to run in iteration correctly, but when it's time to merge the output I got these errors: ERROR 000622: Failed to execute (Merge). Parameters are not valid. ERROR 000400: duplicate input not allowed Can someone have an idea what is incorrect in my process? Thank you
... View more
04-21-2016
05:42 AM
|
0
|
2
|
5183
|
|
POST
|
I just prefer working with offline doc because it displays faster than online. Thank you for your answer! Have a good day!
... View more
04-12-2016
11:41 AM
|
0
|
0
|
1979
|
|
POST
|
Thank you Mr Patterson, Do you have an idea why there is none?
... View more
04-12-2016
11:07 AM
|
0
|
2
|
1979
|
|
POST
|
I have found the Module Docs which could be useful. Does it means there is no html documentation available offline?
... View more
04-12-2016
10:57 AM
|
0
|
0
|
1979
|
|
POST
|
Hi! I would need the arcpy 10.3 offline documentation, same as found online here: What is ArcPy?—Help | ArcGIS for Desktop I cant find it nowhere. The offline documentation installed with ArcGIS desktop dont seem to include the arcpy documentation with classes and functions complete definitions. Can I download it somewhere? Thank you very much!
... View more
04-12-2016
10:49 AM
|
0
|
5
|
4967
|
|
POST
|
Thank you for your answer, Unfortunately, even with a Parameters with Data Type: Folder, I have the same error. It said that the folder already exist. Error 000725 When I specify the folder parameter as an input, i have an error saying that the file doesnt exist.
... View more
11-22-2012
06:45 AM
|
0
|
0
|
1042
|
|
POST
|
Hello, I am actually trying ArcGIS 10 Desktop for my organization in order to evaluate the benefits to migrate to ESRI's technology in a near future. Actually, we are using MapInfo and FME. One of our main interest in ArcGIS is the possibility to use MAPLEX for automatic label positioning. I have noticed a bug (or something undesirable) when we convert MAPLEX labels to annotations. If we use the stake labels option in MAPLEX, when we modify the field labeled in the linked feature class of this annotation, the annotation text loose the line feed. The annotation will be written on one line even if MAPLEX had setted it on 2 or 3 lines. Maybe you will say its normal because annotations are not dynamic and MAPLEX works on dynamic lebels only, but this behaviour is very undesirable... MAPLEX would become useless to me. Is there a solution? Maxime Demers
... View more
11-22-2012
06:30 AM
|
0
|
1
|
794
|
|
POST
|
Hello, I have a simple script that Export to Pdf the current Page_Layout of a mxd. I want to use it in a toolbox with a path parameter for the output. I have an error when I select an output that already exists. I suppose I have to code something about allowing overwriting in the validation of this parameter but I cant find any info about that. Anyone can help?
... View more
11-22-2012
04:48 AM
|
0
|
4
|
1633
|
|
POST
|
Hello, I am actually trying ArcGIS 10 Desktop for my organization in order to evaluate the benefits to migrate to ESRI's technology in a near future. Actually, we are using MapInfo and FME. One of our main interest in ArcGIS is the possibility to use MAPLEX for automatic label positioning. My question is the following: is it possible to create annotations from labels in a single feature class at multiple scale using MAPLEX? Im working with Data Driven Page and I want to place some labels manually. The tool tiled labels annotation can only receive polygone in input but I need to create annotations on points feature class. Any suggestion? Is there a solution with Python? Thank you Maxime Demers
... View more
11-21-2012
10:54 AM
|
0
|
1
|
2670
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 06-03-2024 10:33 AM | |
| 2 | 05-14-2025 10:45 AM | |
| 1 | 04-12-2022 07:00 AM | |
| 1 | 02-26-2025 05:37 AM | |
| 1 | 01-30-2023 11:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|