Skip to content
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

Updating map groups via API #12965

Closed
SH801 opened this issue Mar 11, 2025 · 1 comment
Closed

Updating map groups via API #12965

SH801 opened this issue Mar 11, 2025 · 1 comment

Comments

@SH801
Copy link

SH801 commented Mar 11, 2025

I've successfully uploaded a number of datasets to a new map via the API but would like to organise these datasets into thematic groups, also using the API. I was therefore wondering whether it's possible to update the layer groups via the existing API (without creating a new project and extending the core GeoNode code)?

I'm using GeoNode 4.4.1 and have tried a variety of combinations, including POSTing the map blob of a manually-created map with layer groups.

But nothing seems to work - so I'd love to know whether such functionality currently exists and what the documentation for it is.

I've also noticed that the 'visibility' and 'opacity' fields of layers doesn't seem to be amenable to the API - while the /api/v2/map/ call shows the visibility/opacity fields changed after an API call, this is not reflected in the UI which shows the default true/100% values. I've updated the blob field as I noticed that this was necessary to get API-created maps to work.

Many thanks in advance for any help! Really enjoying getting to grips with GeoNode :-)

@SH801 SH801 closed this as completed Mar 11, 2025
@mwallschlaeger
Copy link
Member

hey i did some work on creating maps to geonode api in https://github.com/GeoNodeUserGroup-DE/geonodectl/blob/main/src/geonoderest/maps.py sadly i did touch the grouping of maps so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants