Local Models for Spatial Analysis