Filtering by Polygon

You can limit the results from the Search endpoint (See Search for details) to those within a geographical polygon using the geometry parameter.

When specifying the geometry parameter, you need to use well-known text format to represent your geographical polygon. We only support polygons which points are less than 100.

Example

For example, to search for restaurants located within the polygon specified by :

http://api.sensis.com.au/v1/test/search?query=restaurants&geometry=Polygon%28%28144.9245500 -37.8369260,144.9245500 -37.9569260,145.9445500 -37.9569260,145.9445500 -37.8369260,144.9245500 -37.8369260%29%29&key=...

This would exclude any results not in the specified polygon.