Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2471

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

3 votes

How do I calculate a weighted centroid with respect to a raster, e.g. population weighted ce...

The following code is my attempt at replicating the now removed $$XMap and $$YMap grid expressions in python in ArcGIS 10.0: import arcpy import numpy # reference to the weight raster weightRas = arcpy.Raster … , specifying the lower left corner of the # raster as well as cell size for x and y, which we pull from our weight raster xMap = arcpy.NumPyArrayToRaster( xCoords, arcpy.Point(weightRas.extent.lowerLeft.X …
mindless.panda's user avatar
8 votes
2 answers
7k views

How do I calculate a weighted centroid with respect to a raster, e.g. population weighted ce...

In ArcGIS 10.0, how do I calculate the weighted centroid of a collection of polygons, where I want the weight to be a raster layer. … In particular I am using a raster of population counts and would like to generate the population weighted centroid as a result. …
mindless.panda's user avatar
3 votes
2 answers
2k views

How do I only view selected rasters from a geodatabase raster catalog in ArcGIS 10.0

I am using a geodatabase raster catalog to hold raster files for multiple countries, mostly for the sake of organization. … Also, for spatial analysis, I would want the selected raster to be the only raster operated on. How do I accomplish this? …
mindless.panda's user avatar
5 votes
3 answers
2k views

How can I have ArcGIS not automatically add raster clip output from Python window to the cur...

doing this in the Python window using the following as the main processing function: arcpy.Clip_management( inputRasterFilename, "#", outputRasterFilename, "shapefile" ) Basically I want to read the raster
mindless.panda's user avatar