Skip to content

Fix the view for non-spatial datasets has broken raster viewers#2464

Merged
allyoucanmap merged 1 commit intoGeoNode:masterfrom
subashtiwari1010:fix/non-spatial-raster-2463
Mar 27, 2026
Merged

Fix the view for non-spatial datasets has broken raster viewers#2464
allyoucanmap merged 1 commit intoGeoNode:masterfrom
subashtiwari1010:fix/non-spatial-raster-2463

Conversation

@subashtiwari1010
Copy link
Copy Markdown

Related tasks

Fixes #2463

Describe this PR

This PR updates the condition to display the tabular dataset / non-spatial dataset. It only applies the non-spatial view when the dataset has tabular sub type.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the logic for identifying resources without geometry by replacing the checkIfGeometryAttributeIsNull utility function with a direct check for the 'tabular' subtype in gnresource.js. Consequently, the checkIfGeometryAttributeIsNull function and its unused import of isGeometryType have been removed from ResourceUtils.js. I have no feedback to provide.

@allyoucanmap allyoucanmap merged commit cc3343b into GeoNode:master Mar 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working master regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The view for non-spatial datasets has broken raster viewers

2 participants