|
POST
|
It is my understanding that ArcGIS Runtime is based on a client-server architecture, in which your application is the client and the GIS data and functionality are provided by one or more servers. The main benefit I've seen using Local Server is that it allows me to interact with my data in the same manner regardless of where the data is hosted (i.e. Local, Enterprise, or Online). Have you been having trouble using the Local Server for your workflows?
... View more
09-15-2015
05:02 PM
|
0
|
0
|
1197
|
|
POST
|
I don't believe that you can change the units used in the Map. Have you tried setting the coordinate system of your map to a valid coordinate systems and then adding the basemap to it. The basemap would be reprojected on the server prior to being provided to the map.
... View more
09-15-2015
03:04 PM
|
0
|
0
|
1083
|
|
POST
|
Have you tried iterating through the layers of the Map and counting the number of layers that are of type CsvLayer? I would think that you could do either of the following to accomplish this. Option A var count = 0;
foreach (var layer in MyMapView.Map.Layers) {
if (layer is CsvLayer)
count += 1;
} Option B var count = MyMapView.Map.Layers.OfType<CsvLayer>().Count(); // Linq expression
... View more
09-15-2015
12:43 PM
|
0
|
0
|
785
|
|
POST
|
Correta. ArcObjects 10.2.2 não suporta VS 2013. você teria que usar ArcObjects 10.3 por Visual Studio 2013.
... View more
09-15-2015
12:18 PM
|
0
|
0
|
464
|
|
POST
|
I wouldn't try to create packages if I only needed the symbology. I would think that you'd need to create a series of layer files that will contain the needed symbology. You'd also need to build an application extension that listens for when data is added to the TOC. When the data is added you'd need to review the name of the layer and if it matches your chosen name you when then either call the ApplySymbologyFromLayer tool or use the layer object to update the layers symbology with the needed layer file. Does that make sense?
... View more
09-15-2015
12:04 PM
|
1
|
1
|
1808
|
|
POST
|
You should be able to determine this with calculate value tool. You would need to build execute something similar to the following: def GetSpatialReference(dataset):
return arcpy.Describe(dataset).spatialReference You would need to pass the above function the path to the feature dataset. This function will return you a spatial reference object. You'll need to ensure that you set the output type of the calculate value tool to SpatialReference so that you can use this as input to your tool that requires a spatial reference.
... View more
09-15-2015
12:01 PM
|
0
|
0
|
1071
|
|
POST
|
Have you tried combining the Parse Path Model Only tool with the Calculate Value tool. The parse path tool could give you the name of the raster without the extension and you could use the Calculate Value tool to stitch the .shp extension to the file. Parse Path http://desktop.arcgis.com/en/desktop/latest/tools/modelbuilder-toolbox/parse-path.htm
... View more
09-15-2015
11:56 AM
|
0
|
0
|
1769
|
|
POST
|
You could add a checkbox to your model by inserting a boolean parameter to your model, but modelbuilder isn't going to provide you the functionality to add or not add these items to the display based on this boolean parameter. I'm guessing from the information you've provided that you're running this model as a model and not a tool. On your Salidas parameter you have the Add To Display setting check so that when you run your model it will add each of the iterated feature classes to the display. I would think that this workflow would still work without the Make Feature Layer tool, but I would think that there is a better way to accomplish this task. Are you familiar with python and script tools? If you want a tool that adds all of the data within a workspace to the display you could create a script tool that returns multiple outputs and provides a boolean key that will control the arcpy.env.addOutputsToMap environment variable. This would control whether or not the results of the tool are added to the display.
... View more
09-15-2015
11:53 AM
|
1
|
0
|
1035
|
|
POST
|
Hi Manuel, I was able to also replicate this issue. The problem is that the WFS To Feature Class doesn't return the path to the output feature class in its result object. As a result, the buffer tool doesn't have a input to utilize for the buffer and remain grayed out. I would suggest logging a ticket with the Desktop Usage team in support to have this looked at. I was able to replicate this behavior at 10.3.
... View more
09-15-2015
11:43 AM
|
1
|
0
|
1180
|
|
POST
|
I would think that if you need user input after each tool and cannot programmatically determine the inputs for the following tools that you'd want to run the tools as three separate tools. The process of stopping the model at the completion of each task would somewhat violate the rules of the gp framework (i.e. user inputs are specified prior to running the tool) When your users are specifying the inputs for the next tools, do they need access to the data in ArcMap to evaluate their decisions? If not, have you ever considered running your tool standalone in a dos prompt?
... View more
09-15-2015
11:26 AM
|
1
|
0
|
1887
|
|
POST
|
Are you trying to change the symbology of data that is added based on the name of the data added? Or are you provided a user with specific data and you want these particular classes to be symbolized a particular way?
... View more
09-15-2015
11:20 AM
|
0
|
1
|
1808
|
|
POST
|
This wouldn't be possible using the out-of-the-box tools available to ModelBuilder. I would think that you'd need to build a custom script tool accomplish this. Pythonaddins have the ability to get the selected layer from the TOC. I believe you may be able to leverage this in your script tool, but you would need to programmatically create the fieldmappings object needed for your tool and provide logic to handle when the user doesn't select anything or has multiple layers selected. Is there a reason why you'd want to take this approach instead of just having the user select the needed layer within the parameters of your tool?
... View more
09-15-2015
10:55 AM
|
0
|
0
|
1010
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-19-2016 04:45 AM | |
| 1 | 09-24-2015 06:45 AM | |
| 1 | 09-15-2015 10:49 AM | |
| 1 | 10-12-2015 03:07 PM | |
| 1 | 11-25-2015 09:10 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|