-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
solr-spatial-field backend fails on longitude > 180 degree harvests #307
Comments
The documentation mentions that you'll have to split bboxes across the anti-meridian in order to index in Solr: |
I ended up creating a fix for this, but is there any reason this can't be fixed here, or skipped, instead of crashing the harvest process? |
There is a chance it wasn't as high a priority as other issues. I am not working on CKAN development full time, but I would imagine that your solution could be useful to others, and you could make a pull request to let others benefit from your solution. |
I'll try to contribute back, will have to make a unit test for the geometry splitting functionality. |
I'd be interested in a solution for this too @benjwadams, have you added the geometry splitting in an extension or repo where I could maybe test the code out? Or maybe you could raise a work in progress PR against this repo and add the test later on? |
I'm using
solr-spatial-field
as the CKAN spatial backend, along with ckanext-harvest to kick off harvests.When some datasets with > 180 degrees of latitude are attempting to harvest, the harvester crashes due to an unhandled exception from Solr:
The text was updated successfully, but these errors were encountered: