adding sql rw properties for spatial queries