New answers tagged


Try using ogr2ogr -f geojson \ -dialect sqlite \ -sql "select map.*,tbl.atrr from map left join 'tbl.csv'.tbl AS tbl on cast( as text) =" \ /vsistdout/ map.geojson The casting is nececessary, but it has no sense to apply left join. It's an old bug


If the required output is polygon, it is best to use the Spatial_Join_analysis tool.


The problem could be related to your lyr.replaceDataSource assignments. The first argument should be pointing to the workspace, not the data or non-existing folder or existing folder without the right data in it. Previously you create your copy in GIS/shapefile/output but then you are looking for another folder, GIS/shapefile/output/Baseline, which might ...


Use the Field Calculator to copy the joined fields into permanent fields. After doing the join, put the shapefile layer into edit mode. Use the Field Calculator to copy the values from one of the joined fields into a new field. Repeat step 2 for every joined field. Save the layer edits. Example: I have a layer joined field called "emission lines_name". ...

Top 50 recent answers are included