1 A computer-implemented method for defining a model comprising: analyzing one or more images of a physical space that include a plurality of distinctive visual features, at least one of the visual features being a predefined marker having associated semantic information, wherein the associated semantic information is defined in accordance with a markup language that specifies model aspects and rules for combining semantic information from a plurality of markers; and defining the model based at least in part on the associated semantic information.