2

You need to match the lenghts of your fields. To achieve that, go to Processing -> Refactor Fields Select you layer with the too short field as input, map it to your "longer" layer and run it. The resulting layer should be mergeable with your original "long" layer.


1

It's often easier to use the GDAL python wrappers. See my attempt below. If you still get errors, check that both raster and shapefile have geographic information (i.e. you can overlap them in QGIS or something like that). from osgeo import gdal from osgeo import ogr def dump_poly(raster_fname, vector_fname, ifeat): # New filename. Assumes input raster ...


1

You can use the Dissolve tool (leave dissolve attribute blank) OR you can select all features and select merge with digitizing tools


1

I fear it is at least quite difficult task with shapefiles. As documented in https://gdal.org/drivers/vector/gpx.html it is possible to combine several layers from a datasource into gpx. The example is using gpx as input and outputformat ogr2ogr -f GPX output.gpx input.gpx waypoints routes tracks but as well the source could be some other format ogr2ogr -f ...


1

https://github.com/mmomtchev/node-gdal-async (disclaimer: I am its author) const gdal = require('gdal-async'); const ds = gdal.open('shape.shp'); for (const layer of ds.layers) { for (const feature of layer) { console.log(feature.toJSON()); } }


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