Tag Info

Hot answers tagged

5

You could try something like this: for the scenario shown above, the script below import arcpy roads1 = #path to roads layer 1 roads2 = #path to roads layer 2 r1 = [row for row in arcpy.da.SearchCursor(roads1,["SHAPE@","NAME"])] #add field to hold required string arcpy.AddField_management(roads2,"COMMENTS","TEXT") with ...


2

As Vince pointed out in a comment - you could theoretically write code to clip a map/feature service. But that would probably be a lot of custom work. You wouldnt as much be extending the Clip and Ship tool as you'd be writing a custom extraction of JSON from map services. Generally the clip and ship work flow is comprised of 2 services: GP + Map. They both ...


2

The short answer is you can't produce a clipped sid image in ArcGIS 10, the format is proprietary. But you should be able to produce a clipped jpeg 2000 (jp2) which is similar. A typical sid compression is 20 to 1. In ArcGIS to get the equivalent compression on a jp2 you would use 5 in the Environment - Raster Storage form compression quality box. (That ...


1

I don't have access to ArcPy at the moment, but if you are happy working in that environment, then I reckon you'll be able to code it up pretty easy. Now, my assumption is that you can use road line endpoints, and you don't need to do any network traversal in order to build a reasonable model. Doing a network traversal would be a little harder. Here's some ...


1

Checking the Single Part option does not result in each part's attributes being summarized separately. The tool pays no attention to the geometry when doing summaries and does all summaries before it does any geometry manipulation. Therefore, radouxju's recommendation will not solve the problem. This is the behavior I expect. The attributes are ...


1

I assume that you use ArcGIS. You can use the sum statistics for the fields (see dissolve). It will compute the sum of the attribute value for your numeric fields. Make sure that you also select "single_part" to avoid non contiguous parts to merge.


1

Modify your spreadsheet so that Latitude and Longitude are in separate columns. Each point should have its own row with one X and one Y. Also make sure that you format your cells so that they are number values, sometimes ArcGIS is finicky about this. Use this image as a template: Save your excel spreadsheet and close it. (1) Open ArcGIS and add the data ...


1

ArcGIS 10.1 has a few bugs when it comes to working with buffers. Especially with Geodesic buffers and the dissolve type "all" method. (NIM083208, NIM082599, NIM086086,NIM087868,NIM087913). I swapped to a projected system, then separated the buffer component into it's own module and the random errors stopped.



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