Products > MetaCarta GSRP > Core Function: Query Parser

Summary

The purpose of the Query Parser is to take a short string, such as the one which might be entered in a search box, and separate it into a query string and a geographic location. This information is then returned, with information about the location, the confidence that the location is correct geographically, and the remaining text from the query.

Usage example:

  • Enterprise has core MetaCarta platform, plus another search engine
  • Front both with Query Parser
  • Query goes to both engines (Query Parser formats query appropriately for MetaCarta)
    • Results returned from both engines
    • Or, query goes to directly to MetaCarta for highly geographic queries

The Query Parser offers output in 3 formats:

  • JSON -- The most fully featured format, the JSON format includes all the available information about the locations.
  • KML -- A more lightweight format, but suitable for use in applications which use KML.
  • PNG -- An image output format, which will return an image with the locations returned displayed on the image.

 


Are you a developer?  Create your own Query Parser application using MetaCarta's publicly available suite of APIs.