Skip to content

#12509 Expose documents resources in GeoNode catalog service#12549

Open
allyoucanmap wants to merge 2 commits into
geosolutions-it:masterfrom
allyoucanmap:issue_12509
Open

#12509 Expose documents resources in GeoNode catalog service#12549
allyoucanmap wants to merge 2 commits into
geosolutions-it:masterfrom
allyoucanmap:issue_12509

Conversation

@allyoucanmap

Copy link
Copy Markdown
Contributor

Description

This PR introduces support for documents resource inside the GeoNode catalog service. Selected documents with geolocalization will be converted in a vector layers visible on the map

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Feature

Issue

What is the current behavior?

#12509

What is the new behavior?

GeoNode catalog service list documents and convert them into a vector layer

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

Other useful information

@allyoucanmap allyoucanmap added this to the 2026.03.00 milestone Jun 25, 2026
@allyoucanmap allyoucanmap added the New Feature used for new functionalities label Jun 25, 2026
@cla-bot cla-bot Bot added the CLA Ready label Jun 25, 2026
@stefanocudini

stefanocudini commented Jun 30, 2026

Copy link
Copy Markdown
Member

following some functional tests on the feature I add below some improvement proposals for this same PR, they are simple changes but they should improve the overall UX,

  • Proposal 1 about MS
  • Proposal 2 about GNODE-CLIENT

Proposal 1

MS identify panel for Documents:
image

These two fields are available among the returned metadata to display additional, more useful information in the Identify panel.
These could be used at the top of the Identify panel above the metadata.

embed_url: "https://test-gn.geosolutionsgroup.com/documents/69/embed#/"
thumbnail_url: "https://test-gn.geosolutionsgroup.com/uploaded/thumbs/document-ec9c8e63-ab18-4fa0-98c5-042a12c836ee-thumb-e0a90848-de0d-40dd-a8c6-6909bd91a7e2.jpg"

Currently in geonode the identify on documents inserted in a map show an embedded like this:
image

It probably makes sense for documents that both viewers (MS and GNODE) ​​should include a direct link/button to the resource to open it in new-tab or full-screen. In particular, this feature seems indispensable at the moment, otherwise the user will not be able to view PDF or similar documents in any way, the right side panel is too narrow for any content

Proposal 2

test created on this resource: http://localhost:8081/#/viewer/67554

In subsequent interactions when adding new documents, it's not immediately clear where and how many documents have been imported, and in which new layers in the TOC. This situation occurs with two layers with the same name:

image

Additional visual feedback may probably be needed just for the legend of layers that group documents like this one. There are two options: one is to display the number of documents linked to the newly created layer, like this:
image

An alternative is to adjust the title of the new layer created for the document. This way, the newly created layer can be differentiated from the previous ones just created in TOC:
image

@stefanocudini stefanocudini linked an issue Jun 30, 2026 that may be closed by this pull request
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Ready New Feature used for new functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose documents resources in GeoNode catalog service

2 participants