vecnet / dl-discovery

Map based discovery interface for digital library records
Other
4 stars 3 forks source link

Enrich the copied solr records with coordinate metadata #11

Closed dbrower closed 9 years ago

dbrower commented 9 years ago

This adds some basic enrichment to the metadata records copied from the base vecnet system. It is not perfect, in particular the following still need to be addressed:

dbrower commented 9 years ago

One more thing: bounding boxes which cross the anti-meridian do not show up correctly. Solr requires east and west values to be in the range -180 to 180. So, these straddling bboxes have an east coordinate "to the left" their west coordinate. I don't know if it is solr or leaflet which then decides this is an error, and swaps the east and west values, giving a bounding box covering the exact longitudes which the original bbox did not cover.

Could someone please track this down? In fact, I will make an issue for this right now. (Edit: #12)

stevenvandervalk commented 9 years ago

Thanks. Not sure how to address the solr_bbox issue yet. Will look into the meridian.