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

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...
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...
Solr python interface – Sunburnt fork I forked tow (Toby White, gratitude for his great work) sunburnt repository from github because I needed range facet funcionality and the workaround (...