auto schema for shapefiles