I am using ClusterPoint database to access Open Street Map data (https://github.com/clusterpoint/osm), but I'd like to find POI contained within multiple separate polygons.
Is there any example available how to define and use multiple polygons within query?
To use multiple polygons in one query, you need to define them under <shapes> tag. Each polygon should have individual name. If you want to search within multiple polygons, than use OR operator "{}" in query.
Example with two polygons and one circle could look like:
If polygons are overlapped, then matching points within this area will not "duplicate" in result set (will be displayed once).