0
votes
1answer
29 views

Clip a shapefile based on raster extent with high accuracy

I am trying to clip a shapefile based on the extents of a smaller raster. I find the extent of the raster using this code: Extents = arcpy.sa.Raster(MyRaster).extent` Then, I use these lines to ...
0
votes
1answer
45 views

Calculate tree cover over certain area from raster data

Last year Hansen et al. published Global Forest Change map as set of raster data available in TIFF format. Basically those are 30-meters resolution satellite images with pixel values ranging from 0 ...
0
votes
1answer
30 views

Clipping several raster layers to the same exact size QGIS

I'm new to QGIS, sorry if this is a newbie question... I need to clip about 40 different raster layers from one vector layer (that has the boundaries of 4 neighboring countries) but I need them all to ...
0
votes
2answers
56 views

Clipping a raster file into the multiple shapefiles

I splitted the single shapefile into the multiple shape file based upon their attributes. Now I want to clip the raster file into the each splitted shape file. How can I do it at once? I am using a ...
1
vote
2answers
116 views

Mask image based on no-data pixels in another image with different projection - GDAL or Python

I've got a land cover image which covers the whole globe, and a satellite image which covers a very small part of the globe. These two images have different projections, co-ordinate systems and pixel ...
2
votes
3answers
534 views

Clip a raster using a shapefile into multiple rasters?

I have a raster file representing a large area and a shapefile of 30 polygons representing watersheds. I would like to clip the raster with the shapefile to create 30 rasters representing each ...
4
votes
1answer
75 views

Cutting Raster using two Polygons as Masks

I am trying to cut this raster in order to drop the outside of the walls white area and the area with the dots. I made one step using as mask the green polygon but i couldn't remove the inside of the ...
1
vote
0answers
30 views

Can I clip raster maps by vector boundaries on fly while serving them via geoserver?

I have a lot of georeferenced raster topographic map sheets which contain not only map itself, but some sketch elements like legends, stamps outside the map frame. I want to make seamless coverage ...
2
votes
1answer
60 views

Raster topo map “collars” overlap

I am using QGIS 2.0. I have downloaded USGS 1:100,000 topographic maps which show adjacent areas. The topographic maps were digitized with the borders (I've seen them called "collars", I think) as ...
1
vote
1answer
207 views

combine raster with another raster mask file - gdal

I have 2 rasters in GeoTiff format. One has all of the land and water and the other is a mask file that shows either 0 for water or 1 for land. I basically want my output to just have the land values ...
1
vote
1answer
295 views

How to clip an Openlayers OSM Background to a Vector Boundary?

I'm new to QGIS. In my project i have two layers: one is my vector (city boundaries) and the other is the OSM (obtained with the plugin). How can I cut the OSM along the edges of the vector? I want to ...
0
votes
0answers
41 views

Geoserver WMS request raster clipped with field boundary

I have recently set up GeoServer instance and uploaded raster data and a set of field boundaries. I would like to be able to select a field boundary and have the server return the portion of the ...
2
votes
1answer
66 views

Raster clipping over 1300 km2 orthophotos

I have all of Denmark in 25 cm orthophotos added to my ArcMap (mosaic dataset). I've added a polygon of an area covering over 1300 km2. I've used the raster clip tool to clip the data into a new ...
1
vote
0answers
45 views

How to Clip a Raster dataset so that it is smooth along a boundary [closed]

I know how to clip a raster, however I need it to be smooth along the edge of a boundary and not jagged as can be seen in the image.
0
votes
2answers
125 views

Clipping polygon layer into multiple polygons via model builder?

I have a huge polygon layer created from a raster, and over that I have a watershed shapefile. I need to run a land-use regression process on each individual watershed so I'd like to clip and export ...
6
votes
2answers
714 views

Best way to clip a large raster ECW file ?

I am trying to clip a large ECW (details below) but the raster file is too big to be processed entirely. Some details of the ECW below Driver: ECW/ERDAS Compressed Wavelets (SDK 5.0) file size: ...
2
votes
1answer
189 views

Split single raster within multiple polygons

I have a raster ('slope') which content only one attribute in the table. On the other hand I have a feature which content several polygons (catchments) in the attributes table. I would like to obtain ...
2
votes
1answer
133 views

Change Values of Georeferenced Raster

I am using QGIS to georeference B&W images. I have now done this and would like to set the black surround of the image (as a result of the georeferencing) to transparent but this does not work as ...
1
vote
1answer
58 views

Area surface doesn't match

I have three municipalities with a total surface of 178 sq km. I want to analyze land cover of those municipalities using both LANDSAT images with a pixel size of 30 x 30 meters and SPOT with a pixel ...
1
vote
1answer
216 views

Can I prevent QGIS raster clipper from changing output cell/pixel size?

I have performed a DEM extraction using the clipper tool in QGIS 1.9.0 Master, using a mask layer, the original resolution of the DEM is 20x20 but in the resultant DEM the new resolution is ...
3
votes
1answer
57 views

Selecting Cells in a raster layer

I am working on a watershed analysis project. The goal of the project is to create a model that will simulate changes the effect that different land uses will have on the watershed as a whole. Using ...
1
vote
2answers
250 views

How to create a raster (topo to raster) with non-rectangular shape?

I'm using Arcmap 10, I need to create a raster from contour lines. These contour lines were clipped out with a certain shape with the purpose to modify them only within that shape and then create the ...
0
votes
1answer
73 views

GDAL clips raster at wrong position

I try to clip raster data with GDAL (in fact I am using QGis, which produces me a command line for GDAL) The raster has been transfored to EPSG:3857, which is also the projection of the shape file ...
11
votes
2answers
3k views

Clipping a raster in R

I am building a map for the northeastern U.S.A. The map background needs to be either an altitude map or a mean annual temperature map. I have two rasters from Worldclim.org which give me these ...
3
votes
3answers
683 views

Is it possible to batch clip rasters in Quantum GIS?

I have been able to batch clip rasters in one directory using python in ArcGIS. However, I am not sure how to do the same in Quantum using the python console. Is this possible? If there are different ...
2
votes
1answer
219 views

Create a subset of a dataset with a specific grid size in ArcGIS using Data Management Tool

I am wondering how you can create a subset of a dataset that is a specific grid size (in pixels) using the Clip tool within the Data Management Tool box for raster data. I was trying to find a hint ...
1
vote
0answers
55 views

How to clip Raster using multiple polygons and Python? [duplicate]

Possible Duplicate: clipping a raster by multiple datasets or polygons I have polygon layer and DEM and I want to write a program using python to cut the raster into multi-raster based on ...
2
votes
1answer
451 views

Output of QGIS raster clipper not as expected?

My goal is to clip a raster with a polygon in QGIS 1.8. Based on an article I read, this should be a pretty straightforward task. However, the output appears to be empty. The raster produced is the ...
3
votes
2answers
237 views

Determine density or cover from a raster layer that has been clipped by a polygon

I am a very new GIS user using ArcMap 10. I have a raster layer of tree canopy that I have clipped so that the layer is in a polygon that is a circle with a 2km radius. I have done this for four ...
3
votes
2answers
825 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 ...
2
votes
1answer
109 views

From Raster to Masked and Filtered Polygon Vector

I have a set of rasters (geologic risk) from which I want to extract zones with a specific color, clipping them with a polygon (administrative borders), outputting a shapefile. I'm using QGis (and ...
2
votes
1answer
255 views

QGIS & GeoTIFF clipping Error “-srcwin 5897 137 0 0 falls outside raster size of 11083x4158 or is otherwise illegal.”

I'm trying to clip a GeoTIFF file and unfortunately I'm getting the following Error "-srcwin 5897 137 0 0 falls outside raster size of 11083x4158 or is otherwise illegal." From another post ...
1
vote
2answers
408 views

How to surround a clipped raster with transparency? (gdalwarp)

I am trying to perform the following task, but it does not seem to work: I have got a raster file (raster.tif) containing an aerial photo, which I want to clip using a Shape file (clip.shp) that ...
1
vote
1answer
164 views

Clipping Rasters with a mask layer error

I've got a NDVI layer that I'm trying to clip with a vector file but when I try and use GDAL Tools clipper I get an error. That shows up like this: What am I doing wrong? This is before I even pick ...
6
votes
6answers
4k views

Rasterfile clipping error: Cannot compute bounding box of cutline

I have a raster file and want to clip it, a vector file is supposed to be the mask layer. I use the most obvious method (Raster->Extraction->Clipper). No matter what I do, I get this error (see pic): ...
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 ...
3
votes
2answers
958 views

Image does not display after clipping raster

I am using ArcGIS 10. I am trying to clip an NLCD layer from a vector polygon. I have used the Clip Raster tool in Data Management and Extract by Mask tool in Spatial Analyst among other things. My ...
4
votes
3answers
1k views

How to Clip a Vector File based on certain Raster Values?

I need to clip a vector file based on certain values of a raster (Slope > 2%). I can´t find a direct way to do it. Trying to vectorize the raster first didn´t work. Is there any tool (ArcGIS or ...
5
votes
2answers
4k views

How to clip a vector feature to the extent of an existing raster dataset using arcpy

I have a clipped raster dataset with polylines (from the contour tool) overlayed (see attached). I am trying to clip the polylines to the extent of the raster dataset, which seems simple enough, but ...
0
votes
1answer
155 views

Progress bar percentage is increasing and decreasing, never finishing

I am trying to clip a raster by shapefile perimeter using the Clip tool. The percentage has been jumping between 0% and 100% for over an hour, back and forth, climbing to 100% then dropping down to ...
2
votes
2answers
840 views

GDAL Clipping (hack)

I am trying to use the python script from http://www.sparkgeo.com/labs/2010/07/07/gdal-clipping-hack/ to clip a raster based on many shapefiles. The script is using a mysql database an i would like to ...
4
votes
1answer
923 views

Why does QGIS's Clipper tell me “Computed -srcwin falls outside raster size” and how do I address it?

I'm trying to clip a heightmap to a small area that I'm interested in. When I attempt to use Raster > Extraction > Clipper I get an error dialog with the message ""Computed -srcwin falls outside ...