I'm trying to use Vector Ruggedness Measure (VRM) tool with ArcMap 10.2.2 an the tool runs somewhat smoothly, but the output raster won't show in the chosen folder. Tool creates slope and aspect rasters and the output raster shows in the result window, but when I click add to display from result window, nothing happens.   Any ideas what I'm doing wrong? Is there any way to fix this?
120727
I need to use the Vector ruggedness measure (VRM) tool available from . However, I am using ArcGIS 10.2 for Desktop and these tools are made for 9.0, 9.1 and 9.3 only. I have tried to run this tool regardless and get the error:      Traceback (most recent call last):   File   "C:\Users\jc221340\Documents\project\Processed   data\My_tools\Downloaded\ruggedness.py", line 20, in        gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Spatial Analyst Tools.tbx")   RuntimeError: Object: Toolbox C:/Program   Files/ArcGIS/ArcToolbox/Toolboxes/Spatial Analyst Tools.tbx does not   exist      Failed to execute (Ruggedness(VRM)).   How can I use this tool?
63734
I am new to using blender and have been watching youtube videos on how to use it. I copied the steps of how to create cracks in a surface. I can see what it looks like if it gets rendered but then when I go to render it I get the message "no render output node in scene". It's not an animation, it's just a single image. Here is a screenshot of all my nodes and the error after trying to get it to render.
91757
Is there a way to prevent ArcMap from automatically adding Export to CAD results to the current map?   Export Data gives you the choice when the operation is completed but Export to CAD does not.
75398
I am flummoxed on how to use GRASS's v.kernel.  I have a vector layer of around 2.5 million points. I want to make a heat map using v.kernel to show concentrations, since I have variable instances with overlapping points, sometimes huge overlaps.  I've already gotten this vector layer in GRASS, and it displays just fine.  I've tried using GRASS's v.kernel command based on what I've seen here and on other forums, and I can't get it to do anything besides output a raster that's just a pink square.  Here's the command I'm using:  v.kernel --verbose input=master_grass7 output=master_grass7a_heatmap stddeviation=.0001   I've varied the stddeviation to all sorts of values from 1000000 to .000001, and it had no effect.  I've read the  repeatedly and don't really understand what it's getting at. At least, the instructions are on esoteric concepts, nothing practical. I've also checked the , and I'm not really understanding it, either. Yes, I can read C. The problem is it depends on a lot of stuff defined elsewhere in GRASS GIS.  I've also done a lot of Google searching, and I can't find a comprehensive guide. All that I'm getting are scattered copies of the v.kernel doc/man page or people who apparently got it to work without a fuss.  I've also checked up on the concept of kernel density estimation (KDE), and even then I don't see how to use the v.kernel command. That command appears to be a specific interpretation of KDE; its switches don't appear to correspond well to generic KDE concepts.  So back to the main question here: how can someone who is not intimate with GRASS product development use the v.kernel command? Is there a plain language translation available?
44745
I have been attempting to use the Spatial Analyst Curvature tool with mixed results.  I originally tried to use it with a raster that was projected using a 1983 Teale Albers projection and the results were black, indicating the lowest values.  I then transformed the raster into UTM projection and ended up with grid-like lines on the raster which have values that are obviously not accurate.  Does anyone know why these lines have appeared or what I'm doing wrong.  Thanks.
26240
I am looking for basic viewer for ArcGIS JSAPI  but not  getting  proper sample/example.  I am going through  also but looks like its not working.  Going through  question also.  Checking out  example and getting confused that what is difference between Viewer template and layout?  So any help regarding this will be great!
20066
I have two raster files that are the same cell size but I cannot get them to align properly. (I want the black to line up with the pink)    When creating the black raster file (from using polyline to raster), I imported the pink raster in the Snap Raster section in the Environments setting. I thought that Snap Raster was supposed to make it line up?  Am I doing something wrong or is it a bug in Arc (I remember reading that this was a problem about two years ago), and if it is a bug is there a work around?  I have also read there is a Raster Shift, but I'm not sure what to enter in the X Coordinate and Y Coordinate. Since I only want the black raster to shift down, I know that the X Coor = 0 and the Y Coor should be negative something, but what are the units?  Thanks.
104891
Why can't I add a base map to my data frame in ArcMap?  I am using ArcGIS 10.2 for Desktop and the options under Add Data for Add Basemap and Add Data From ArcGIS Online are both disabled (grayed out).
65231
I'm new to GIS. I want the sum of nighttime lights (DMSP) by district for some country. I'm running this arcpy.gp.ZonalStatisticsAsTable_sa(Limites_distritales, "IDDIST", rc, temp_table, "DATA", "") and then converting to .csv. However, when I check the output some districts (identified by IDDIST) are missing. I've checked all my script and they shouldn't be dropped; my guess is that they are being assigned NoData because they overlap multiple grids (and no single grid is in the polygon) and thus no statistics are being calculated for them.  One of the problematic districts is shown in the picture below.   Is there a workaround for this?
113095
Anyone have some logic or code samples to automate creating band data for alignment/integrity pipeline sheets showing various point/polyline events along the pipe in configurable way or otherwise ArcMap 10.0 and Arcpy?  Even logic or code in ArcObjects would be helpful.    I've seen some applications use polygons and polylines to build the border and band elements like tick marks and the pipeline representation in the band.  It seems like final printed sheet dimension output would need to be a configurable variable.  What else?
88764
I have to analyze 8 raster layers, 5 of them are 0.5 degree resolution and the other three are 0.05 degree resolution.  Firstly, should I resample the 5 to finer resolution (0.05 degree) and if possible how to do this.  Secondly, if it is better to resample the 3 to the resolution of the others (0.5), what tool do I use to do this without changing the values of the raster. The 3 fine resolution rasters are livestock count data.  I am using ArcGIS Desktop 10.2.
122579
I cannot get ArcMap 10.0 or 10.1 to "Export Map" to a png or gif with a transparent background -- no matter what I set the background and transparent colors to.  Thus, I created the following script, which does the trick, but I'd rather be able to get the default tool in ArcMap to do it.  Any better ideas?    # Purpose: This script exports an MXD view to a png file with transparent background, # which is problematic to do manually due to a Windows-related bug in the ArcMap UI. # Warning: It will make any white features (e.g. the default background color) transparent. # # INSTRUCTIONS: # When in ArcMap, viewing a saved mxd... # 1. From the Geoprocessing menu, select 'Python'. # 2. In the new Python window, right-click somewhere after &gt;&gt;&gt;, and select 'Load...' # 3. Select this script. # 4. When this script appears, press Enter twice to run it. # 5. A new [mxd-name].png with transparent background will appear in the same directory as the mxd. # 6. When finished/satisfied, close the Python window. # http://forums.arcgis.com/threads/65463-Zoom-to-tile-and-Export-to-JPEG-with-World-File import arcpy png_resolution = 300    # Can adjust DPI # Set mxd and png name mxd = arcpy.mapping.MapDocument("CURRENT") pngname = mxd.filePath.replace(".mxd",".png") df = arcpy.mapping.ListDataFrames(mxd)[0] # Calculate ideal image size from the mxd view and desired DPI png_width = int((df.extent.XMax - df.extent.XMin) * png_res * 12 / df.scale) png_height = int((df.extent.YMax - df.extent.YMin) * png_res * 12 / df.scale) #Export PNG print "Exporting: {0}\n{1} x {2} pixels, {3}-dpi".format(pngname,png_width,png_height,png_res) arcpy.mapping.ExportToPNG(mxd, pngname, df, df_export_width = png_width, df_export_height = png_height, resolution = png_res, transparent_color = "255, 255, 255") #Clean up del df, pngname, png_res, png_width, png_height, mxd
97327
I am using ArcGIS 9.3 and python 2.5. My code is shown at the bottom of this post.  I have a raster containing fire intensity information at 200m cell resolution. I run the script and the first count cell part returns the size of the fire. This works fine.  I then clip the raster using a polygon representing a forested catchment. The new raster represents the area of the catchment that is burnt. When I try to use the same code to count the number of cells of the new raster, it always gives me an answer of zero, even if there is definitely a raster created by the clip tool.  I have tried every combination of every tool I can think of.  my code...      fire = str(ignitionID) + "_" + str(weatherID) + "_Intensity.asc"     print "fire: " + fire      # ---------------------------------------------------------------------------     # this section calculates the size of the fire for model calibration purposes     # ---------------------------------------------------------------------------      # Process: Build Raster Attribute Table...     the_fire = input_fires + fire     shutil.copy(the_fire, "C:\\FIRESTORM\\Workspace") # copy the fire to workspace     the_fire = "C:\\FIRESTORM\\Workspace\\" + fire      try:       gp.BuildRasterAttributeTable_management(the_fire, "NONE")       resultf = gp.GetCount_management(the_fire)  # count num of rows in raster       countf = int(resultf.GetOutput(0))       fire_area = countf * 4  # each cell has an area of 4 ha       print "the fire area = " + str(fire_area) + " ha"      except:  # the attribute table cannot be created coz the fire is too large        fire_area = 300000 # default value for large fires 300000 ha       print "the fire area EXCEEDS 262,140 ha"      # -----------------------------------------------------------------------------     # this section calculates the area of the catchments that are burnt by the fire     # -----------------------------------------------------------------------------      # Local variables...     catch_extent = input_catch + "WS_Catchment_region.shp"  # catchment boundary     fire_raster = "C:\\FIRESTORM\\Workspace\\fire_raster"     fire_ascii = the_fire     Output_raster = "C:\\FIRESTORM\\Workspace\\Extract_ASCI1"     Output_ASCII = "C:\\FIRESTORM\\Workspace\\rastert_extract1.asc"     catch_burn_area = 0  # reset catchment burn area      # Process: ASCII to Raster...     gp.ASCIIToRaster_conversion(fire_ascii, fire_raster, "INTEGER")      # Process: Define Projection... based on projection of catch_extent     desc = gp.Describe(catch_extent)     spatialRef = desc.SpatialReference     gp.DefineProjection_management(fire_raster, spatialRef)      # Process: Extract by Mask...     gp.ExtractByMask_sa(fire_raster, catch_extent, Output_raster)      # Convert raster to ascii     gp.RasterToASCII_conversion(Output_raster, Output_ASCII)      # Process: Build Raster Attribute Table...     gp.BuildRasterAttributeTable_management(Output_ASCII, "OVERWRITE")      # count number of rows in raster     resulti = gp.GetCount_management(Output_ASCII)     counti = int(resulti.GetOutput(0))     catch_burn_area = counti * 4  # each cell has an area of 4 ha      print "catchment area burnt = " + str(catch_burn_area) + " ha"
16280
I was wondering how to check the value of a pixel at a mouse click in QGIS (as of 2.4).  In ArcGIS, the Identify tool does the job for both rasters and vectors. However, in QGIS, the Identify tool seems to be greyed out when only one raster layer is loaded.
58919
Does anyone know a source from which to download vector UK Ordnance Survey grids at varying resolutions? Or failing that, a tool that can create an OS grid at a specified resolution? There are plenty of ways to generate a vector grid, but I've found no way of populating the attributes with OS grid references.
62545
How can I convert raster (stream segments result of a watershed analysis) to vector polylines, preferably shapefile. In ArcGIS this is easily acomplished with the Raster to Polyline tool.  I only see Polygonize (Raster to Vector) tool under the Raster -> Conversion menu.
157
Which tool do I use in ArcGIS 10.1 for Desktop to exclude areas covered by vector polygon layers from a raster layer?   I want to keep portions of the raster layers that exclude the portions covered by the vector layer.