3

The WriteArray() method has two useful optional arguments to accomplish this: xoff: specifies the offset on the x axis. yoff: specifies the offset on the y axis. This means that it will write a 2D array (this is very important) to the band, starting from the specified offsets (which are 0 by default). This is very useful because you don't have to read the ...


2

Figured it out by further configuring the REST interface. Create the coverage store from the server-resident file (which automatically creates a coverage as well). system(paste('curl -f -k -u admin:geoserver -XPUT -H "Content-type: text/plain" -d "/usr/share/geoserver/data/data/myworkspace/myraster.tif" "http:// my_mv_ip/geoserver/rest/workspaces/...


2

I downloaded a zipfile and checked one of the rasters with gdalinfo: micha@RMS RGI60-18 $ gdalinfo RGI60-18.00001_thickness.tif Driver: GTiff/GeoTIFF Files: RGI60-18.00001_thickness.tif Size is 13, 13 Coordinate System is: PROJCS["WGS 84 / UTM zone 60S", The raster size is reported as 13x13 and the coordinate system is UTM60S, So I created a new GRASS ...


1

To compare the overlap between two images find the extent of each image in the same coordinate system and then compare the coordinates. This question has some examples of how to get the extent using python.


1

If you are using the internal GeoWebcache then you simply need the WMTS capabilities document which is linked from the front page of GeoServer. Inside that document you will find the templates you need as ResourceURLs: <ResourceURL format="image/png" resourceType="tile" template="http://localhost:8080/geoserver/gwc/service/wmts/rest/nurc:Pk50095/{style}...


1

Pulling an uncompressed and untiled geotiff (even a small one like 128Mb) is going to be slow. You should process the GeoTiff using the advice in GeoServer on Steroids (video) or Paul Ramsey's GeoTiff Compression for Dummies. This will probably make your tiff small enough that the network transport cost doesn't overwhelm your reading time.


1

A raster is a set of cells that form a grid; each cell has a value. When you reproject a raster, you are re-drawing the grid to be aligned with a new projection. So, in the below figure, your original raster grid is shown in blue, and the reprojected grid is shown in red. Right away you can see a problem--the grids do not align. So, for example, in the ...


1

From the command line, execute this command inside the directory of GeoTIFF rasters you wish to stack (like a sandwich) together: gdal_merge.py -o your_depth_stack.tif -ps x y -separate *.tif This will stack all images inside the directory. If you only wish to stack a certain subset replace *.tif with the desired images: image1.tif image2.tif image3.tif ...


1

The blocky noise around the borders looks like the image was compressed with a lossy method. The lossy compression is especially hard on sharp boundaries and white spaces, introducing slight color variations that ArcGIS isn't seeing as white when you tell it to remove the white background. Ensure that both your TIFF and the pyramids are compressed with a ...


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