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 MySQLdb vs mysql-connector query performanc... There are a lot of python driver available for MySQL and two stand out the most. The one, traditionally everybody's choice, sort of industrial standar...
Stream cypher (encrypt) with digital envelope in P... Generating. storing and keeping inventory of hundreds of terabyte large database backups is a challenge by itself which we do on daily basis. It's eve...
Dataimport handler for Sunburnt Solr python librar... Dataimport handler I had to trigger the dataimporter delta-import command from the code so I added support for this function. Example: Followin...

About charlesnagy

I'm out of many things mostly automation expert, database specialist, system engineer and software architect with passion towards data, searching it, analyze it, learn from it. I learn by experimenting and this blog is a result of these experiments and some other random thought I have time to time.
Bookmark the permalink.