Hot answers tagged

5

This method only requires two steps: Create a vector Grid vector>Research Tools>Create Grid (it might be good to add a little overlay on each grid) Clip Raster by Mask layer (using vector grid from step 1) raster>Extraction>clip raster by mask layer... select the green arrow to iterate over every feature in the vector grid, creating a separate ...


3

My suggestion is as follows: Use the Create grid tool to create a grid for map area. Use the Split vector layer tool to split the data obtained in the previous step into separate files (you will probably need manual editing in this step to correct the borders of the crop area and the map). Use the Clip tool in Batch Process mode to crop the map.


2

If you only want to get rid of the white background, you could add a NoData Value to your JPEG image (Layer properties - transparency - No Data Value) or set custom transparency (Layer properties - transparency - Custom Transparency options). If you want to clip your jpeg, you can usually do it with the regular clip raster tools, if I'm not totally wrong. ...


2

You can use the updated code for QGIS 3.x. It's not in the official repo but in a forked version. Download zip https://github.com/ChrFr/osmpoly_export/archive/master.zip and install plugin from zip You may prefer using command line tool for Python 3 at https://github.com/smellman/ogr2poly There is a good list of libraries and tools to import/export from POLY ...


1

Ended up merging this answer into my code and finally got it to run. import os import tifffile def tile(filename, dir_in, dir_out): name, ext = os.path.splitext(filename) img = tifffile.imread(os.path.join(dir_in, filename)) windowsize_r = 10000 windowsize_c = 10000 i = 0 for r in range(0, img.shape[0] - windowsize_r, windowsize_r):...


1

This is an approach to this problem using that strategy of the 'inner central horizontal edge'. In resume: Create buffers of the polygons. Intersection of buffers to get overlaping zones. Extract intersection coords to create the new medium edge. Clip buffers with lines and assign the parcel ID. Here are the layers to try out. Here is the code: library(sf) ...


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