I've seen other answers detailing how one can clip a .shp file with ogr2ogr but this just returns a clipped set of geographic features. I also want to clip the .shx and the .dbf in the same manner. Is this possible?
For instance, if I have all-of-rhode-island{.shp, .shx, .dbf} in my current directory, I could try:
ogr2ogr -clipsrc 41.31 -71.87 41.50 -71.53 smaller-ri all-of-rhode-island
But ogr2ogr can't figure out which driver to use with that input file.
My actual goal is to take a TIGER Census file and reduce its size drastically. I only need a few features, but I do need "matching" .dbf and .shx files.