Hot answers tagged

3

Make sure all images are of the same data type. Make sure all images have the same number of bands. Make sure all images have the same band names. Here is a reproducible conceptual example: Code Editor script // Import a Landsat 8 image and calculate NDVI. var img = ee.Image('LANDSAT/LC08/C01/T1_SR/LC08_038029_20190712'); var ndvi = img....


2

Have a look at the dissolve tool. It dissolves/merges all features of a layer into a single multi-feature, or dissolves based on an attribute, e.g. the name of the rivers (no need for 50 separate layers next time). As with most tools, you may start batch editing at the bottom left. When filling in the layers into the batch dialogue, make sure to select all ...


1

Another option: use the PostGIS ST_LineMerge function. Here's the previous example redone with it: WITH data(geom) AS (VALUES ('LINESTRING (0 0, 1 1)'), ('LINESTRING (2 2, 1 1)'), ('LINESTRING (7 3, 0 0)'), ('LINESTRING (2 4, 2 3)'), ('LINESTRING (3 8, 1 5)'), ('LINESTRING (1 5, 2 5)'), ('LINESTRING (7 3, 0 7)') ), merged AS (SELECT (ST_Dump( ST_LineMerge(...


Only top voted, non community-wiki answers of a minimum length are eligible