1. A system comprising: at least one processor; and at least one memory including computer program code which when executed by at least one processor causes operations comprising: generating a database query including a predicate for the database query and a plurality of spatial context information stacked within the database query to enable a first portion of the plurality of spatial context information to be used as an intermediate result for a second portion of the plurality of spatial context information, the database query providing an analytical query of a multidimensional database, at least one of the plurality of the spatial context information including feature information, geometric information, and a result topology, the feature information explicitly defining a location for the database query, the geometric information further defining, based on a data model, spatial context for the database query, the result topology defining a hierarchical structure for a result to the database query, wherein the result topology corresponds to the spatial context defined by the geometric information; sending the generated database query to a spatial query processor including the multidimensional database; and receiving, in response to the sent database query, a response comprising a multidimensional database query response generated in accordance with the predicate, the plurality of spatial context information, the feature information, the geometric information, and the result topology, wherein the response is presented with a map.
1. A system comprising: at least one processor; and at least one memory including computer program code which when executed by at least one processor causes operations comprising: generating a database query including a predicate for the database query and a plurality of spatial context information stacked within the database query to enable a first portion of the plurality of spatial context information to be used as an intermediate result for a second portion of the plurality of spatial context information, the database query providing an analytical query of a multidimensional database, at least one of the plurality of the spatial context information including feature information, geometric information, and a result topology, the feature information explicitly defining a location for the database query, the geometric information further defining, based on a data model, spatial context for the database query, the result topology defining a hierarchical structure for a result to the database query, wherein the result topology corresponds to the spatial context defined by the geometric information; sending the generated database query to a spatial query processor including the multidimensional database; and receiving, in response to the sent database query, a response comprising a multidimensional database query response generated in accordance with the predicate, the plurality of spatial context information, the feature information, the geometric information, and the result topology, wherein the response is presented with a map. 3. The system of claim 1 , wherein the feature information identifies at least one of an administrative boundary, a political boundary, a continent, a country, a state, a province, a county, a city, a road name, a body of water, a river, a landmark, a pipe line, or a power grid.