added linkId and spatial filters
added linkId and spatial filters