Extract Spatial Relationships in Data with the Mapsense Context API

Mapsense, a startup specializing in tools and services that understand big location data sets, has announced the availability of the Mapsense Context API, which allows users to extract spatial relationships in their data. Launched in May of this year, the Mapsense Developer platform is a suite of tools that can be used to build location-based applications and to analyze massive data sets of location-based information.


Screenshot of the Context API Demo showing demographic information for a point in Golden Gate Heights, San Francisco.

The Mapsense Context API makes it possible to perform point-in-polygon queries, allowing users to understand the spatial context of geotagged data. The API is designed to work on gigabytes of complex geographic shapes and with any polygon dataset. When a latitude and longitude is provided to the Context API, the API returns information for all the polygons that contain the point. The query can be filtered based on Select and Where. “Select” is a list of meta-data fields to return on each feature. “Where” is a boolean expression such as "motorways" used to filter the query results.

Developers can use the Context API to analyze millions of spatial data points found in geotagged data such as tweets, Census Bureau demographics, etc. The Mapsense Platform features a number of built-in geographic data sets, including world airports, earthquakes, rainfall, farmers markets, hurricanes, and more.

Mapsense also recently added a CSS Styler App, which allows users to quickly apply CSS styles to Mapsense tiles without having to write any code. The app includes several style templates with which users can experiment.

For more information about the Mapsense platform and the Context API, visit http://www.mapsense.co/.

Be sure to read the next Mapping article: DigitalGlobe Launches New Maps API and Developer Site