11. The data warehouse of claim 10 , wherein the interface layer further operating to receive the query result from the regular database and return the query result as an answer to the spatial query, wherein the query result is given in regular data types.
10. A data warehouse that includes a non-transitory computer readable medium on which is encoded computer programming code executed by a computer processor to receive a spatial query and return a spatial result for the spatial query, the data warehouse comprises: a regular database operating to receive and process a regular query and return a query result in response to the regular query; and an interface layer implemented external to the regular database and operating to intercept the spatial query and translate the spatial query into the regular query for processing by the regular database, wherein the translating the spatial query into the regular query comprises: mapping a virtual feature table (VFT) to regular tables, wherein the VFT includes at least one spatial data type found in the spatial query, and the regular tables include at least one regular data type that corresponds with the at least one spatial data type in the VFT; wherein the regular database includes at least one spatial index that is accessed by the interface layer to translate the spatial query into the regular query for processing by the regular database and wherein the interface layer organizes and translates the query result into a geometric data type if the query result was from the intercepted spatial query.