I am trying to use the sqlite symdifference function in windows command line with ogr but can't seem to get the syntax right. Here is what I have:
ogr2ogr -dialect sqlite -sql "select symdifference(a.geometry, b.geometry) from shp1 a, shp2 b" output.shp E:\temp\shp1.shp E:\temp\shp2.shp
I think there is an issue with how am I referencing the 2 source files (shp1 and shp2) at the end. Is it possible to run this function from command line, and if so how should the syntax be adjusted?