Tag Info

New answers tagged

5

You can accomplish this with the Select Layer By Location (Data Management) tool. Make sure to select the "HAVE_THEIR_CENTER_IN" option in the Relationships parameter. To make the selection permanent, use Copy Features (Data Management).


0

As your data follows a pattern of A1 matches B1 and A2 matches B2, etc you can achieve your processing using a FOR iterator and inline substitution to pass the matching numeric part. The model would look as below: By selecting from each layer their matching counterparts (e.g. A100 and B100) the clip tool will honor these selections during the clip. Make ...


1

Images can only contain full pixels. Keeping both the the pixel size and exact clipping area is only possible if the clipping area is multiple of the pixel size. You can keep 200 by 200 pixels with 2000x2000 meters sized output but not if the output area is 2001x2101 meters. By default the area is kept accurate and pixel size is adjusted. You can alter the ...


0

From what i understad, you want to clip / select all features depending on a date? If this is the case you can use the python module : shapely or ogr2ogr. You can have a look at this link : code examples, ...


1

Per Chris W's comment suggestion I recreated my interpolated raster and used the mask to set the processing extents during interpolation rather than just the extents of the sample points. This resulted in an interpolation raster that fully covered the mask I want to use for extraction.


0

An accurate and relatively automatic way to perform this (commonly needed operation) is to Preprocess the image into a single-band raster. The purpose is to identify clear boundaries to the islands, which in a multi-band image may just taper off into a set of colors (such as the grays in the example). The could be done by separating the image into bands, ...


2

For raster processing, "clip" usually refers to the extraction of rectangular subset. So you are looking for "mask" which extract a region of interest. This post will show you a simple way to mask a raster in QGIS (using raster calculator), but most of the time I prefer masking "on the fly" with the mask plugin. In any case, you'll need a layer with the ...


0

A straight 'clip' using gdalwarp should work (I know this is a hella-old question: 18 months IRL is like a geological epoch in internet years). I have a 70Gb aerial (ECW, 94000x81000 pixel at 10cm/px), and GDAL can arbitrarily clip it with a shapefile using gdalwarp -cutline [clipfile] -crop_to_cutline [infile] [outfile] at the Windows command-line. (I ...


3

The Clipper tool makes an uncompressed image by default. Read the GDAL manual of your format and add manually the compression options into the gdal_translate command that is shown in the lowest pane. For example for GeoTIFF read http://gdal.org/frmt_gtiff.html and use for example-co COMPRESS=DEFLATE -co PREDICTOR=2 which gives a well compressed, lossless ...


1

QGIS uses gdal_translate to clip the raster and the standard output is an uncompressed geo-tiff. Tiff file, however can be compressed using, commonly, one of a couple standard compression algorithms. The first is LZW and the second is JPEG. To set compression in QGIS's clipper module, click the yellow pencil to enable editting of the commandline at the ...


0

make sure that the gdalTools plugin is installed go to "Raster Menu -> Conversion -> Translate" you will see a tick box for "creation option", this will allow you to select a compression. This link shows a comparison the supported lossless compression algorithm, but the performance may depend on the image. If you want to do this at once in the clipper, ...


1

Use Intersect and then Dissolve. See the result below of my use of these two tools. It duplicates the blue polygon for all overlapping square polygons and preserves the FIDs of both layers in new fields. A dissolve that includes both FID fields ends up with each original square's intersection with each blue polygon it touched. It works.



Top 50 recent answers are included