Skip to content

Search results map - #1027

Draft
julian-schneider wants to merge 3 commits into
IQSS:developfrom
julian-schneider:feat/search-results-map
Draft

Search results map#1027
julian-schneider wants to merge 3 commits into
IQSS:developfrom
julian-schneider:feat/search-results-map

Conversation

@julian-schneider

Copy link
Copy Markdown

What this PR does / why we need it:

Adds a browsable map of all search results with geospatial information. It is located in a tab on the search results page, as an alternative to the normal list of search results. The map displays one pin per dataset, which can be clicked for a small preview that leads the user to the details page. Clusters of pins are grouped to declutter the area.

This implementation is entirely based on the proof of concept by @PaulBoon described in detail here. That PoC uses a custom footer to inject the map into the classic UI, while this implementation is based on react-leaflet.

This PR is a work-in-progress draft version. Some open issues I'm aware of:

  • The geospatial metadata block contains any number of bounding boxes, while the map is currently designed to display one point. This current prototype simply displays the southwest corner of the first bounding box.
  • The current prototype only displays published datasets
  • Performance with large amounts of datasets still untested
  • i18n should be used

Which issue(s) this PR closes:

Suggestions on how to test this:

Populate an installation with datasets filling out the official geospatial metadata block, and the map should display them.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Yes. The map was entirely based on the design of the previously-mentioned PoC.

Is there a release notes or changelog update needed for this change?:

Yes

based on the custom footer PoC by Paul Boon
@julian-schneider

Copy link
Copy Markdown
Author

Screenshot:
image

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 98.063% (+0.2%) from 97.861% — julian-schneider:feat/search-results-map into IQSS:develop

@ChengShi-1 ChengShi-1 moved this to In Progress 💻 in IQSS Dataverse Project Jul 23, 2026
@cmbz cmbz added FY27 Sprint 2 FY27 Sprint 2 (2026-07-15 - 2026-07-29) FY27 Sprint 3 FY27 Sprint 3 (2026-07-29 - 2026-08-12) labels Jul 29, 2026
@PaulBoon

PaulBoon commented Aug 5, 2026

Copy link
Copy Markdown

@julian-schneider Great work!
If you want to look at the performance you could have look at the stress tests that I did some time ago; you could probably reuse the test data generating Python code and possibly the Jmeter tests.
https://github.com/DANS-KNAW/dataverse-dataset-geomap-view/tree/main/examples/testdata/stresstests

@qqmyers

qqmyers commented Aug 5, 2026

Copy link
Copy Markdown
Member

FWIW: Using ?query_entities=false in the Dataverse API is a factor or 10x faster, so unless you needed the added info, I'd definitely add it.

- pins are now placed in the averaged center of bboxes
- when clicking a pin, the map zooms out to show all bboxes
- while popup & bboxes are displayed, the pin will not be clustered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY27 Sprint 2 FY27 Sprint 2 (2026-07-15 - 2026-07-29) FY27 Sprint 3 FY27 Sprint 3 (2026-07-29 - 2026-08-12)

Projects

Status: In Progress 💻

Development

Successfully merging this pull request may close these issues.

Feature Request/Idea: Display dataset search results on a geographical map

6 participants