Sunburnt Solr spatial filter support

I’ve added spatial filtering to the sunburnt library. The feature is now available with filter_spatial function.

Example usage

Currently this will use bbox by default. I’m planning to add more features to it in the future but so far it fits my needs. Let me know if you need additional parameters configurable.

Solr config file:

The library can be found on GitHub:

https://github.com/charlesnagy/sunburnt

You might like these too

5 things to love about python Syntax Takes a bit of time to get used to it but after a certain point it just becomes natural. Like english. No heavy-weight operators or complicate...
Python timeit – when speed matters – S... Although there are always multiple ways to solve a single problem not always the most elegant is the best performant. Python gives a perfect tool to c...
Priority queue in Redis aka ZPOP Redis list is great to use it as a processing queue. So great that it sort of became the standard and many people using that instead of dedicated queu...