SHIFT Tool causing resolution degregation


When I execute the Shift tool for a Emmissivity file I go from a high resolution (1-meter) to a coarser resolution (27km). When I shift the layer, I am only shifting the file -180 degrees in the X direction. As far as I am aware of, the shift tool has no re-sampling functions, which would leave me to believe my layer should retain its resolution. Since I am moving 180 degrees in the X direction I shouldnt expect a pixel distortion, since I am projecting the file in UTM coordinates. I’m confused as to why I am losing this resolution.

How to track changes in feature class so as to update only the specific locations in cached service


I have a non versioned enterprise geodatabase.
I need to know when a feature class changes, and which features have changed every time.

I need this for updating only specific tiles in a cached map service

Tool Dialogs appear blank in ArcGIS for Desktop?


All of a sudden my Toolbox in ArcGIS 10.1 for Desktop has stopped working.

Last week i was using clip tool but the toolbox window was blank, i tried other tools but it shows the same blank window.

enter image description here

Simultaneous multiple vector layer intersection algorithm


Is there an algorithm, you can suggest or recommend, that I can implement to intersect multiple vector layers?

I have a few hundred layers I want to intersect and thinking of developing a little QGIS python script to solve it (it doesn’t have to be QGIS). All the layers are of the same geometric type of either polyline or polygon.

I am aware that I can intersect them two at a time but perhaps it’s more efficient to implement a mechanism that intersects all these layers at the same time?

What is “Simplify tolerance” in QGIS's Simplify geometries tool?


I am trying to use QGIS 2.8 to simplify vector geometries. But I do not understand the significance of the Simplify tolerance value in the Simplify geometries tool.

The documentation does not explain it.

ArcMap 'in_memory' trouble?


Being new to ArcMap, and ArcPy I have a problem with a script including several geoprocessing functions.
The number of functions inspired a search for a means to save outputs (subsequent inputs) to memory, leading to the ‘in_memory’ assist provided by ArcMap.

However the following script errors out at the RasterToPolygon_Conversion() and I am unsure why…

import arcpy

arcpy.CheckOutExtension("spatial")
arcpy.env.overwriteOutput = True
arcpy.env.workspace = "C:\Users\Important\testMap.mxd"

DEM_raster_layer = "C:\canyon.tif"
Camera_point_layer = "C:\birdsEye.shp"

# Process: Visibility analysis
arcpy.gp.Visibility_sa(DEM_raster_layer, Camera_point_layer, "in_memory", "",
                      "FREQUENCY", "NODATA", "0.00001201","FLAT_EARTH", "0.13", "", "",
                      "OFFSETA", "", "", "AZIMUTH1", "AZIMUTH2", "VERT1", "VERT2")

# Process: Visibilty boundries cleanup
arcpy.gp.BoundaryClean_sa("in_memory", "in_memory\1", "ASCEND", "TWO_WAY")
arcpy.Delete_management("in_memory")

# Process: Visibility raster to polygon(s)
arcpy.RasterToPolygon_conversion("in_memory\1", "in_memory\2", "NO_SIMPLIFY", "")
arcpy.Delete_management("in_memory\1")

Here is the following error return:

Runtime error Traceback (most recent call last): File “”, line 32, in File “c:arcgisdesktop10.2arcpyarcpyconversion.py”, line 244, in RasterToPolygon raise e ExecuteError: ERROR 000582: Error occurred during execution.

Im guessing there is some syntax or logic mistake in this method?

Generate a single shapefile from various intersection agreements


I have five vector files wherein I want to determine the spatial agreements among them using intersect. Here is my illustration. (Actually these are forest shapefiles from five different forest maps.)

 A = vector_file_1.shp
 B = vector_file_2.shp
 C = vector_file_3.shp
 D = vector_file_4.shp
 E = vector_file_5.shp

So that I will have a set of spatial agreement from 2/5, 3/5, 4/5 to 5/5.
For example:

1)   2/5 = A∩B, A∩C, A∩D, A∩E, B∩C, B∩D, B∩E, C∩D, C∩E
2)   3/5 = A∩B∩C, A∩B∩D, A∩B∩E, A∩C∩D, A∩D∩E, A∩C∩E, B∩C∩E, B∩C∩D, B∩D∩E, C∩D∩E
3)   4/5 = A∩B∩C∩D, A∩B∩C∩E, B∩C∩D∩E, A∩C∩D∩E
4)   5/5 = A∩B∩C∩D∩E

My question is what geoprocessing technique will I use to generate a single shapefile from each agreement above (except item # 4), supposing I’ve done the intersection combinations for agreement items 1-3? Will I use intersection again, union or other technique?

(My professor told me to just add a field and put a number code on that field, for each shapefile, unfortunately I forgot the next process he mentioned.)

How to configure “Same as Display” as processing extent by default in ModelBuilder?


I’m working on a very simple model for creating a path from a selected point to the closest polyline, in this model I used a Cost Distance and Cost Path tool for creating the more feasible track (considering the slope).

Everything works fine, but because I’m using a Cost Raster from a very large area (whole México country) the processing is very slow, so I set the processing extent as “Same as Display”, the problem comes when I select another point from a different extent, the processing extent have to be configured in the model as “Same as Display” other way it is automatically set as “As Specified Below”

enter image description here

What I want to know is if there is a way to configure the Processing Extent as “Same As Display” and it stay like that as default doesn’t matter where I select the point. I want this model to be published on web but I don’t want to add the processing extent as parameter

Create KML from MXD that contains map service layers like feature layers


How can I create a KML (tools suggestion), provided that I have a map (.mxd) file which layers are service layers of hosted services and not local data coming from a geodatabase.
I know that the map to kml tool works only for local data and not with data coming from services.
Any ideas ?

Improving ArcGIS Results saving and manipulating


The ArcGIS Results Window is an incredibly useful way to keep track of what has been done in a particular map. I use it constantly as a means of documenting the essential parts of a project’s workflow, re-using often accessed geoprocessing tools, and archeology (now, what the heck did we use for the input last time? today’s result doesn’t $%^#$%& match!).

However, it’s also frustrating, because some things which ought to be straightforward just aren’t, and it’s easy to inadvertently lose stuff you want to keep. Does anyone have any solutions for these friction points? Namely:

  • ArcCatalog results are not saved at all, if you don’t consciously save them they’re gone baby.
  • ArcMap results are only kept if you save an .mxd. If I created an .mxd every time I needed to do a few things my document management overhead would go through the roof. (Imagine needing to create a .doc for every email of moderate import.)
  • nasty addition to previous: if your ArcMap session crashes, say goodbye to all your results since last save.
  • Many operations never show up in the Results panel (e.g. Context menu >> Data >> Export). As end users, I suspect there’s little to nothing which can be done about this, but it’s related to keeping track of steps and is a frequent source of irritation. ;-)
  • You can drag and drop from Results panel to a model, but not to anywhere else. I want to also copy to a personal toolbar, another map, a folder, a toolbox, a Word document, a … (Wouldn’t it be great if you could just plunk a significant geoprocessing step straight into the metadata editor?)
  • Some results are Favourites that should are kept indefinitely, e.g. this map project will always need to buffer the selection area of interest by 3km. Currently you can set ArcMap to keep results for a few days, months, or forever. The default of 2 weeks is way too short, and forever will get very very messy and ugly.
  • Results stay with the map, this is good, but they are also confined to that one .mxd. They’re in jail; not so good. It’s rare for a project of any significance to have only 1 or 2 .mxd’s. Sharing the results is laborious. (This is actually just a restatement of a previous point; light from another angle reveals more facets.)

  • there is a “Shared” item in the results list (see bottom of graphic), but it doesn’t seem to do anything. You can’t drag a Current or Previous Session into it and it doesn’t have a context menu.

These result things, the record of steps taken, are important. I want to treat them that way. Not as temporary chaff swept up by the night time cleaning staff on the weekends when I’m not around.

This is a rant, but it’s not just a rant. I’m convinced there are means and methods of utilizing what Esri already provides in an improved manner. Let’s flush them out of the brush, dust ‘em off, and dress up for general consumption.

ArcGIS Results panel

Question and Answer is proudly powered by WordPress.
Theme "The Fundamentals of Graphic Design" by Arjuna
Icons by FamFamFam