General equilibrium models with discrete choices in a spatial continuum