Tag Info

Hot answers tagged

7

There isn't any tool to do this in 1 single step, you should either: convert your text file to points convert points to lines with Points to Line convert lines to polygons with Feature to Polygon (Advanced licnese required) Or: Use arcpy :) - no specific license required. See an example at the bottom of the page Writing geometries. The code converts ...


3

(I don't have enough rep to comment so I'm answering instead.) @Michalis Avraam This isn't enirely true, a FGDB has 3 types of locks. SR - schema lock RD - read lock ED - edit lock The proposed solution by StacyR will work in all situations except for exclusive edit locks (ED) according to arcgis help documentation. ...


3

I agree with ian. Please see below. It seems like you're upgrading an Oracle ArcSDE geodatabase but using the old connection syntax to do so. This would be the 10.0 connection syntax used within ArcGIS Desktop 10.1, which should not be used and will cause an upgrade operation to fail: Here is what it should look like (server/service): You can also ...


3

This tool is there in Route Editing Drag from this box to your interface toolbar.


2

You'll need to pass in the value of your group field to the autoIncrement function now, but this would work: import collections recs = collections.defaultdict(int) def autoIncrement(field_value): recs[field_value] += 1 return recs[field_value] So something like this: FeatureClass = "newFC" expCalc = "import collections\n\nrecs = ...


1

You have almost the whole process. After selecting the features you want to have in a separate shapefile (so that they are colored like in the picture), right-click the layer in Table of contents (the list to the left), --> Data --> Export data. Choose where to save the file. To save the rest to a different shapefile, use the highlighted button (switch ...


1

Use the Merge tool on your point files to get one file. Then Summary Statistics on your field in question. This should give you the mean, and more.


1

You can disable a popup on a layer or layers by passing null to layer.setInfoTemplate(). Once you've got the array of feature layers that are used for displaying features from you KML (the lyrs var in your example page, around line 110), loop and clear out the info template like so: lyrs.forEach(function(l) { l.setInfoTemplate(null); });


1

I got good debugging ideas which helped me ultimately come up with my solution which ended up being simpler than what I was trying to do. Basically, I let the arcpy UpdateLayer do more of the work of fixing my Display Expression problem. I'm not sure what was the source of my original problem but the following solution did what I wanted: * EDIT Here's my ...


1

You should be able to call destroy on the current map instance then create a new esri/Map instance and load the new base map. See: https://developers.arcgis.com/javascript/jsapi/map-amd.html#destroy var map1 = new Map('map'); var basemap1 = new ArcGISTiledMapServiceLayer(url); map1.addLayer(basemap1); ... map1.destroy(); ... var map2 = new Map('map'); // ...


1

I'm adding this answer because this topic shows up as a top hit for a similar problem. When we were doing an install using Centos instead of RedHat, we had a similar problem starting. However, instead of missing a library, the error was something along the lines of /root/arcgis/server//framework/runtime/xvfb/Ubuntu/Xvfb: No such file or directory The ...


1

The .loc files generated by an address locator are plain text files. Therefore, you can modify any settings that are specified in the .loc file without the need for an arcpy function. For example, to change the minimum match score from the default to 70%: locator_fn = 'my_address_locator.loc' locator_file = open(locator_fn,'a') # open for appending ...



Only top voted, non community-wiki answers of a minimum length are eligible