Minimal shapefile query library