0
votes
2answers
204 views

Can you change the processing extent in environment settings using python to a shapefile?

I have managed to do this manually at Geoprocessing>Environments>Processing Extent and setting the shapefile in the drop down bar. I was wonder if this could be automated with a python script? My ...
3
votes
2answers
161 views

Using python to Raster clip the extent to be the same as the display?

I've been trying to figure this out for almost a week now. I am creating a tool which first needs the raster to be clipped out to the current display. I have tried all sorts of things. Below is the ...
0
votes
1answer
57 views

Retrieving raster/coverage width and height in pixels from GeoServer

Is it possible to retrieve the original width and height in pixels for a coverage in GeoServer using either the Python API or REST? I could not find anything in the documentation regarding how to ...
0
votes
1answer
311 views

How to “spatially normalize” rasters of different extents to sum values of overlapping cells

How do I add rasters together that are of different spatial extents? I have many, many features that overlap over a large area (entire east coast) and I am looking to sum them "stacked" where they ...
2
votes
1answer
348 views

extracting data from rasters using shapefile boundaries in r

I have a raster.stack of 8 environmental variables and a shapefile of Ecoregions for the southern U.S. files<-list.files(path='E:/Ecoregions Models/Border Bioclim/',pattern='asc', ...
0
votes
1answer
197 views

It seems there is a bug in St_Clip function of PostGIS

The code I am using for clip feature is : raster ST_Clip(raster rast, geometry geom, double precision[] nodataval=NULL, boolean crop=true); I tried clip a shape depends on the polygon from the ...
8
votes
5answers
765 views

Finding minimum bounding extent of given pixel value within raster?

I am wondering if there is a way to find the minimum bounding extent for a raster with a particular value. I clipped a raster from a global image and the extent is set as the global extent with a lot ...
3
votes
2answers
828 views

How to get an extent for Raster using python

I have to get an extent of a given raster so that I can save it and use the same to clip another raster with that extracted extent. As of now I am stuck in the extent part. import arcpy from arcpy ...
5
votes
3answers
942 views

How do I extract a raster's extent in python?

I am looking for an easy way to extract a raster's extent in python. Currently, I am using gdalinfo and then parsing out the corner coordinates. The problem with this approach is that gdalinfo is ...
2
votes
0answers
434 views

Output raster extents when using the Spatial Analyst Extract By Mask tool to clip a raster

I am using ArcGIS 9.2 and I have a simple python script that does the following : Loop over a polygon feature class (shown in red in the image below) For each record, create a feature layer to ...