v.20.7New Feature

Polygon Dictionary for Efficient Reverse Geocoding Lookups

Polygon dictionary type that provides efficient "reverse geocoding" lookups - to find the region by coordinates in a dictionary of many polygons (world map). It is using carefully optimized algorithm with recursive grids to maintain low CPU and memory usage. #9278 (achulkov2).
Introduces a new Polygon dictionary type that enables efficient reverse geocoding lookups to find the region corresponding to given coordinates within a dictionary of numerous polygons, such as a world map.

Why it matters

This feature addresses the challenge of quickly and efficiently determining the polygonal region containing specific coordinates from a large set of polygons. It uses a carefully optimized algorithm with recursive grids to ensure low CPU and memory usage, making reverse geocoding scalable and performant for large datasets.

How to use it

Users can enable the Polygon dictionary type by defining a dictionary with type set to polygon. The dictionary supports lookups that return the region for input coordinates using the configured polygons. Integration involves specifying the polygons data source and configuring the dictionary to utilize the optimized recursive grid algorithm for lookups.