# Spatial contextual awareness

Spatial contextual awareness consociates contextual information such as an individual's or sensor's location, activity, the time of day, and proximity to other people or objects and devices. It is also defined as the relationship between and synthesis of information garnered from the spatial environment, a cognitive agent, and a cartographic map. The spatial environment is the physical space in which the orientation or wayfinding task is to be conducted; the cognitive agent is the person or entity charged with completing a task; and the map is the representation of the environment which is used as a tool to complete the task.
An incomplete view of spatial contextual awareness would render it as simply a contributor to or an element of contextual awareness – that which specifies a point location on the earth. This narrow definition omits the individual cognitive and computational functions involved in a complex geographic system. Rather than defining the myriad of potential factors contributing to context, spatial contextual awareness defined in terms of cognitive processes permits a unique, user-centered perspective in which "conceptualizations imbue spatial structures with meaning."
Context awareness, geographic awareness, and ubiquitous cartography or Ubiquitous Geographic Information (UBGI) all contribute to the understanding of spatial contextual awareness. They are also key elements in a map-based, location-based service, or LBS. In cases in which the user interface for the LBS is a map, cartographic design challenges must be addressed in order to effectively communicate the spatial context to the user.
Spatial contextual awareness can describe present context – the environment of the user at the present time and location, or that of a future context – where the user wants to go and what may be of interest to them in the approaching spatial environment. Some location-based services are proactive systems which can anticipate future context. Augmented reality is an application which guides a user through present and into future context by displaying spatial contextual information in their visual system as they traverse through real space.
Numerous examples of LBS user-level software packages (applications), exist which require the ability to leverage spatial contextual awareness. These applications are in demand by the general public and are examples of how maps are being used by individuals to help better understand the world and make daily decisions.

## Context awareness

Context awareness originated as a term from ubiquitous computing or as so-called pervasive computing which sought to deal with linking changes in the environment with computer systems, which are otherwise static.
Context is defined in multiple ways, most often with location as the cornerstone. One source defines it as "location and the identity of nearby people and objects." Another describes it as "location, identity, environment and time". Yet some definitions recognize context awareness as being more inclusive than location.
Dey took this broader approach: "context is any information that can be used to characterize the situation of an entity, where entity means a person, place, or object, which is relevant to the interaction between a user and an application, including the user and the applications themselves." The same author defined a system "to be context-aware if it uses context to provide relevant information and/or services to the user, in which the relevancy depends on the user's task".
The concept of relevancy is described in the following definition of context awareness: "the set of environmental states and settings that either determines an application's behavior or in which an application event occurs and is interesting to the user". Different levels of context, in terms of low and high level have also been outlined. Low-level contexts consist of time, location, network bandwidth and orientation. A high-level context consists of the user's current activity and social context.
A three-level model of context awareness (Figure 1) includes the changeable nature of the environment by differentiating between the contributions of static, dynamic, and internal context:
* Static context – stored digital geographic information which could impact the user's environment
* Dynamic context – information on the changeable aspects of the user's environment obtained by sensors/info services and provided in real time (e.g. weather forecasts, traffic reports)
* Internal context – user information, to include personal preferences, location, speed, and orientation
Static content is driven by stored information while dynamic content is provided and updated by sensors.
Context categories for mobile maps have been identified through pilot user tests. The categories in this table were deemed useful for mobile map services:
| General context categories | Context categories for mobile maps | Features |
| Computing | System | Size of a display Type of the display (black-color screen) Input method (touch panels, buttons, etc.) Network connectivity Communication |
| User | Purpose of use User Social Cultural | User's profile (experience, disabilities, etc.) People nearby Social situation |
| Physical | Location Physical surroundings Orientation | Lighting Temperature Surrounding landscape Weather conditions Noise levels |
| Time | Time | Time of day Week Month Season of the year |
| History | Navigation history | Previous locations Former requirements and points of interest |

## Geographic awareness

Geographic awareness, another term for spatial contextual awareness, clarifies the spatial and geographic aspects of context. Being more than simply present location, it must also include other dimensions and their interdependencies. Figure 2 shows Li's components of context awareness and overlays them on multiple geographic reference systems. To be effective, an LBS application must be able to operate in a heterogeneous space which includes different reference systems. A user of a LBS must be able to seamlessly convert from a Euclidean space (Cartesian Reference Space), to a Linear Reference Space (LRS), to indoor space (to include perhaps the floor, wing, hallway, and room number).

## Ubiquitous geographic information (UBGI)/Ubiquitous cartography

Ubiquitous geographic information (UBGI) is geographic information which is provided at any time and any place to users or systems through communication devices. Critical to the understanding of UBGI is that the information provided is based on the context of the user. UBGI is more than data. It includes a set of concepts, practices and standards for spatial and geographic information and processing for applications accessible for use by the general public.
UBGI must also take into account the situation and goals of the user, or cognitive agent. For that purpose, ubiquitous computing concepts employ sensors to collect data on the user's location as well as environmental parameters.
Ubiquitous cartography is "the ability for users to create and use maps in any place and at any time to resolve geospatial problems". The users and creators of these maps are more than just highly trained geographers and cartographers, but include the average citizen. In contrast to the accused elitism of the GIS community in the early 80's when many advocated for separate technology because geospatial information was different and unattainable to common users or systems, today's goal of ubiquity is to make the user experience with GIS-enabled devices intuitive and simple to use. These devices and other multimedia cartography tools are playing a major role in the effort to get "maps out" to the general public and end the inexcusable practice of perfecting maps as a visualization form only for expert map users operating highly specialized Geographic Information Systems.
The "ease-of-use" objective of ubiquitous cartography can be seen as the fourth generation in the evolution of geographic information. UBGI was preceded by easily accessible of internet maps and the addition of contextual information of LBS and mobile mapping. Digital geographic information was an essential precursor to accessible and mobile maps and these advancements are all an outgrowth of the first generation of paper maps and the effort to better represent and visualize the world (Fig. 3).

## Location-based services (LBS)

A location-based service (LBS) is an information and entertainment service, accessible with mobile devices through the mobile network and utilizing the ability to make use of the geographical position of the mobile device.
LBS services can be used in a variety of contexts, such as health, work, personal life, etc. LBS services include services to identify a location of a person or object, such as discovering the nearest banking cash machine or the whereabouts of a friend or employee. LBS services include parcel tracking and vehicle tracking services. LBS can include mobile commerce when taking the form of coupons or advertising directed at customers based on their current location. They include personalized weather services and even location-based games. They are an example of telecommunication convergence.
Location Based Services have the ability to exploit knowledge about the location of a user or an information device. Whether the output of the device is a simple text message or an interactive graphic map, the user and the user's location are in some way incorporated into the overall system.
Other distinguishing characteristics of LBS include:
* Usually provide personalized services for a user on-the-move
* Based on diverse hardware and software platforms which utilize the internet, GIS, and location-aware devices and telecommunication services
* Receive data from various sources, sensors and systems
* Must integrate and process data in real-time
* Pose unique challenges for visualization due to the fact that the user's location could be constantly changing
LBS can be used to answer user questions which can be placed into four general categories: location, proximity, navigation, and events. Examples include:
* Where am I? Where is my destination? [location]
* Where is the nearest bus stop or fast food restaurant? [proximity]
* What is the best route to my destination? [navigation]
* Is the latest movie showing at the local theater? [events]
Another category is "measurement" to answer the question, how far away is my destination? This is a routine function of personal automobile navigation devices.
New, innovative ideas continue to add to the types of questions in which LBS can answer for a user. For example, computer vision and object based indexing can be used to both identify an object and assist a user in navigating from the location. Spatial contextual awareness plays a key role in this process as it provides an initial geo-reference of the location while simplifying the object recognition process to a manageable degree. This category of LBS use can be called "identification" and answers the question "What is it?"

## Cartographic challenges

Applications (user-level software packages) which require the use of spatial contextual awareness in LBS are confronted with a multitude of cartographic challenges and decisions. Some of these challenges are due to the small displays of the typical PDA user interface and method of use. Other problems result from the large volume of potentially relevant contextual data as difficult choices need to be made on the most important content to display.
A sampling of some of these challenges are:
* Mobility – A map on a mobile platform is changing quickly to keep up with context changes; limited time to view map information before a change in scene may be required.
* Adaptation – Refers to "the ability of flexible systems to be changed by the user or the system in order to meet specific requirements." Users must be able to personalize the display to present content adaptable to their sophistication and familiarity of the environment
* Accessibility – "the matching of people's information and service needs with their needs and preferences in terms of intellectual and sensory engagement with that information or service, and control of it". A service need could include a driver who cannot take their eyes off the road to study a map display; or a visitor in a foreign country who cannot understand the language of the audible cues of a LBS provider.
* Generalization – "Due to the very small display area of mobile devices mobile maps need to be extremely generalized." The design should simple, concise and self-evident as possible and should be instantly usable. "This means to lower the information density following the primacy of relevance over completeness"
* Scaling – Map display is typically very small, requiring scaling functions to show enough area and information to be useful, but at a large enough scale to adequately show detail
* Relevance – "Presenting as much info as needed and as little as required". The information which is "needed" is the content which is effective for the particular spatial context of the user.
* Presentation Form – Multimedia maps provide several display medium options. The option selected should be the one which best generates the user's mental map. Besides the visual medium of a graphic map with representative symbols, textual and vocal presentations are options to consider.
* Visual Variables – Color is an appropriate primary graphic element when portraying different type or classes of qualitative features. Color can contribute enormously to the usability of products as it assists in differentiating between different screen elements. High contrast, harmoniously matched colors need to be considered for quick perception and to reduce eye fatigue resulting from the radiant screen display
* Metadata – Good metadata provides information to the user on the sources and quality of data being referenced to include reliability, accuracy, and authenticity. More useful and higher quality metadata for multimedia applications is an omnipresent challenge. International standards have been developed for geographic information, however, these "need to be extended and linked to information object metadata standards for photographs, videos, imagery, text, and other elements used by multimedia cartography".
* Navigation Views – The determination on best map views to aid user navigation. Considerations include: overview maps available at various scales; automatic zoom to larger scale when user is in motion; maintain egocentric map position with north always marked.

## User-level software packages

* OpenStreetMap: a world-wide community-editable free content map of the Earth with a wide variety of user-level clients
* Google Maps for mobile: Free download to view maps and satellite imagery, determine present location, business search, driving directions, and traffic reports
* Streamspin: Mobile services platform for delivery and receipt of information and services based on subscriber context and metadata.
* Local Location Assistant (Lol@): Prototype of a location-based multimedia service for a Universal Mobile Telecommunications System in which a foreign tourist can take a self-guided tour along a route based on user input and preferences.
* IPointer (Intelligent Spatial Technologies): Based on an augmented reality engine providing a local mobile client search to provide the user with information about their surroundings. Uses location and radial direction to identify a landmark of interest and stream information content.
* Signpost: A location-aware guide utility which uses computer vision technology to track fiducial markers for wide area indoor tracking. Signpost guides conference attendees through the venue with the use of a cell phone.