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

[Feat] wxGUI/datacatalog: Showing EPSG code next to the project name #5294

Open
lindakarlovska opened this issue Mar 4, 2025 · 9 comments
Open
Labels
enhancement New feature or request GUI wxGUI related

Comments

@lindakarlovska
Copy link
Contributor

lindakarlovska commented Mar 4, 2025

Is your feature request related to a problem? Please describe.
Currently, the EPSG code of the project's coordinate system is not displayed in the Data Catalog. Adding this information next to the project name would improve spatial awareness and make it easier to confirm the correct projection especially when having a bunch of projects.

Describe the solution you'd like
I would like to see the EPSG notation next to the project name in [] parentheses.

Example:
world_latlong_wgs84 [EPSG: 4326]

Additional context
The EPSG notation existence will be managable via per-project settings (#5295) as well as general GUI settings (#5296). The project-per settings have higher priority.

@lindakarlovska lindakarlovska added enhancement New feature or request GUI wxGUI related labels Mar 4, 2025
@sudhanshu112233shukla
Copy link

@lindakarlovska Displaying the EPSG code next to the project name might seem helpful, but it just adds unnecessary clutter to the UI. Anyone working with spatial data already knows where to find the projection details when needed.

Also, will there be an option to turn this off? Not everyone wants extra text in their project list, especially when dealing with long names. Instead of forcing this into the UI, wouldn’t it make more sense to offer it as an optional setting.

@veroandreo
Copy link
Contributor

@lindakarlovska Displaying the EPSG code next to the project name might seem helpful, but it just adds unnecessary clutter to the UI. Anyone working with spatial data already knows where to find the projection details when needed.

@sudhanshu112233shukla, you would be surprised by how many GIS users have no idea which CRS/EPSG their data is in

@lindakarlovska, have you considered other placement options, i.e. next to where the MASK thingy appears or somewhere there next to coordinates in the lower part of the map display pane?

@petrasovaa
Copy link
Contributor

Also, not all projects have EPSG. Another option would be to have something like "Show metadata" or "Show projection info" in the context menu of projects/mapsets.

@lindakarlovska
Copy link
Contributor Author

@lindakarlovska Displaying the EPSG code next to the project name might seem helpful, but it just adds unnecessary clutter to the UI. Anyone working with spatial data already knows where to find the projection details when needed.

I cannot agree there. As @veroandreo has already written, many GIS users unfortunately have no idea about CRS. But there is also another perspective - when you have several projects in grassdb, having CRS info next to the project name could simplify orientation.

Also, will there be an option to turn this off? Not everyone wants extra text in their project list, especially when dealing with long names. Instead of forcing this into the UI, wouldn’t it make more sense to offer it as an optional setting.

It is actually planned as the optional settings - please look at related sub-issues #5295 and #5296. I edited the info at the top to refer to these sub-issues.

@sudhanshu112233shukla
Copy link

sudhanshu112233shukla commented Mar 5, 2025

I see the value in making this an optional setting, as it would give users more flexibility. However, I wonder if this addition truly enhances usability or if it might introduce unnecessary clutter. Would it be more effective to focus on improving how users can quickly access CRS details when needed, rather than displaying EPSG codes next to project names?
Additionally, as @petrasovaa mentioned, not all projects have an EPSG code. Would it make more sense to include an option like 'Show projection info' in the context menu rather than displaying it next to the project name?"

@lindakarlovska
Copy link
Contributor Author

@lindakarlovska Displaying the EPSG code next to the project name might seem helpful, but it just adds unnecessary clutter to the UI. Anyone working with spatial data already knows where to find the projection details when needed.

@sudhanshu112233shukla, you would be surprised by how many GIS users have no idea which CRS/EPSG their data is in

@lindakarlovska, have you considered other placement options, i.e. next to where the MASK thingy appears or somewhere there next to coordinates in the lower part of the map display pane?

I see the value in making this an optional setting, as it would give users more flexibility. However, I wonder if this addition truly enhances usability or if it might introduce unnecessary clutter. Would it be more effective to focus on improving how users can quickly access CRS details when needed, rather than displaying EPSG codes next to project names? Additionally, as @petrasovaa mentioned, not all projects have an EPSG code. Would it make more sense to include an option like 'Show projection info' in the context menu rather than displaying it next to the project name?"

I think that "Show projection info" can actually mean additional clutter since you would need to create a new dialog showing this info (more code = more maintainence needed).. but generally, I am not against it. It can be an advantage in projects with custom CRS. I think that "Show projection info" context menu on a project node in the data catalog in combination with what @veroandreo suggested (CRS info (e.g. [EPSG:XXXX/Custom CRS]) at the right bottom corner next to the MASK thing) would work fine. Additionally, similarly as in QGIS, this right-bottom info can be implemented as the button and also refer to the Projection info dialog.

@sudhanshu112233shukla You can actually work on it as part of the GSoC, this issue is a part of a greater roadmap for Data pane enhancements #5267, some other things related to Data tab will be added soon.

@sudhanshu112233shukla
Copy link

@lindakarlovska I would be happy to review issue #5267 and contribute.

@petrasovaa
Copy link
Contributor

I meant for it to run g.proj in the console, similarly to Show Metadata for layers that run eg r.info, so no new dialog

@lindakarlovska
Copy link
Contributor Author

lindakarlovska commented Mar 6, 2025

I meant for it to run g.proj in the console, similarly to Show Metadata for layers that run eg r.info, so no new dialog

I like it, so that it is cohesive and we can display all the important metadata, I suggest implementing these new context menu options:

  • new context menu option on the location node "Show Projection" (possibly also on a mapset node although it will be the same, so maybe a location node is enough?)
    It will run g.proj.

  • new context menu option on the mapset node "Show Region" (possibly also for a location node for a Default region?)
    It will run g.region.

Further, as the alternative to the EPSG code next to project name, I suggest creating CRS info (e.g. [EPSG:XXXX/Custom CRS]) at the right bottom corner next to the MASK thing (initially suggested by @veroandreo ). It could be implemented as a button - clicking on it will run the g.proj command - so we will have two simple ways how to find out project projection details.

What do you think @petrasovaa, @veroandreo ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GUI wxGUI related
Projects
None yet
Development

No branches or pull requests

4 participants