I am writing a shapefile after some processing; however, in the final step I need to do some selection by attributes from the the shapefile.
I am using the command in a shell with the aim of using it in a Python script when it works.
ogr2ogr -f "ESRI Shapefile" -select * where ID="1" outfile.shp infile.shp
I am getting the error message:
FAILURE:
Unable to open datasource `Downloads' with the following drivers.
What could I be doing wrong?