Search API

Points

In the Search service, there are multiple times when points are used. Points can be used to denote a point to search around, multiple ones can be used to create shapes to denote an area to search, and they can be used for user defined remote data. Below is a table demonstrating the different ways of forming points and how they can be used.

Type Description Formats Parameters Used With
Address A single-line address. For details on acceptable single-line address formation, refer to the Locations documentation. 1555 Blake St, Denver, CO
  • origin
  • locations
Latitude/Longitude Using a latitude/longitude pair. This is also called raw. 39.750307,-104.999472
  • shapePoints
  • origin
  • boundingBox (has to be exactly two latitude/longitude pairs)
  • locations
Simple Geo (WKT Standard) This is the WKT way of formatting Simple Features. See the Simple Features Wiki description page for more detail. POINT(39.750307,-104.999472)
  • shapePoints
  • origin
  • boundingBox (has to be exactly two points)
  • locations
Compressed This is a compressed format of a latitude/longitude pair. See the Compressed Lat/Lng description page for more detail, including sample source code and an interactive encoder/decoder. _`wsF~lvpM
  • shapePoints
  • origin
  • boundingBox (has to be exactly two points)
  • locations