-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
wxGUI: Minimal changes to rename location to project #2993
wxGUI: Minimal changes to rename location to project #2993
Conversation
Are we heading for another field/layer type of confusion? |
I guess so. In addition, this PR could potentially lead to misleading names of existing "locations" because not all location names are project names and vice versa. I think this change deserves a "major" version because it's such a big (at least to me) change in semantics. |
I think I have missed this discussion. Any link to this consensus would be great! |
Even worse, column vs. field/layer :-( |
Notes from GRASS GIS at OSGeo Community Sprint 2022 discussing also other possible renames (not considered now): https://grasswiki.osgeo.org/wiki/GRASS_GIS_at_OSGeo_Community_Sprint_2022#Discuss_naming_and_presentation_of_GRASS_GIS_data_hierarchy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some other edits suggested :)
I have long thought that changing the name of locations to something else could make GRASS more approachable, especially for new users. The reason is that locations are how GRASS manages projections (CRS), and do not represent a particular geographic "location". That may have been the original usage, but it is no longer the case. However, changing the name to "project" does not help and in fact will add more confusion. To most people, a "project" implies a collection of maps, the way they are overlayed, and displayed, and perhaps any ancillary visualizations or analyses to go with them. This is the case for other widely used GIS platforms that users may encounter. For ArcGIS: " A project is a collection of related items—which may include maps, layouts, item connections, and many other resources—that contribute to a common purpose." For QGIS: "The state of your QGIS session is called a project." It includes much of the same range of geospatial data as ArcGIS projects. In GRASS, a "workspace" is most analogous to projects in Arc and Q. But "workspace" is also a widely understood term and seems OK in this context. Calling a location a project suggests that it is analogous to the way the term is used in other GIS platforms and that is very misleading. A location has a single CRS/projection and all maps stored in a location folder must use that same CRS/projection. A GRASS location does not represent the state of a GRASS session, the maps displayed, the layouts, the view extent ("region"), styles, colors, etc. Its only purpose is to ensure that all maps (and all mapsets) in a location use the same projection/CRS and will accurately overlay. Changing the name of locations to "projection" or "CRS" are accurate terms for what locations do. Calling them "projects" is as misleading (or more so) than calling them locations and will only further confuse future GRASS users. |
Yes! Workspaces sound better. Thank you @cmbarton for the great idea! |
To be clear, I was not recommending that locations be renamed to workspaces, though that is less confusing than locations or projects. Currently the term "workspace" is used in GRASS in the same way that the term "project" is used in ArcGIS, QGIS, and other programs. If we rename locations to workspaces, we would also need to rename workspaces to something like projects. |
Might be helpful for reference: Terminology comparison between ArcGIS and GRASS GIS |
Project is a word with a broad meaning. For software, it often refers to whatever is the main native thing the software deals with unless there is another more common name (document, image, database). However, it is a common word outside of GIS and software and people are used to the word coming with different definitions in different contexts. Reading little further in that ArcGIS Pro documentation page:
The ArcGIS Pro project files are grouped together with actual data storage, not just views or links to data. While QGIS project does not store data, it stores auxiliary data and it can be stored inside a GeoPackage with the data (so go as far as saying [QGIS] GeoPackage Project. In cases of ArcGIS and QGIS, actual data storage can be part of the project, so it is not just purely state of the GUI. For wxGUI, the workspace file referred originally to state of the GUI (some windows, added layers, d-command styling, 3D) and now it includes also path to mapset. The word workspace is used in ArcGIS:
So the two closet things we have are what is currently called mapset (not location!) and current working directly ( And QGIS documentation uses that to refer to whatever sort of the state of the GUI thing:
That would be the GUI workspace file, except that QGIS project can have associated external data like Shapefile on the disk and the workspace file cannot. However, GRASS GIS can do it in a location, or more precisely in a mapset (v.external, r.external). A GRASS location (or mapset) does represent the state of what the user was doing in a sense that it has all the data you were working with, history of what you were doing, current computation extent and resolution, default extent, bookmarked extents (spatial bookmarks aka saved regions), associated styles when stored as color tables, labels for cartography (v.label, d.label), links to external data, even your selected CRS. One may argue that the state of the GUI is missing. I would agree. I think what is now a workspace file would make most sense as part of a mapset (I'm thinking that since I saw the low uptake of workspace file with stored mapset path and the much more successful data management panel). While projection or CRS is an import part of what location is in GRASS GIS, both projection and CRS refer to something completely different than data storage and what locations do is storing data. They store them in a particular way which involves data format and CRS, but they are more than just data storage, they also store much of the information users generates when working with the software. |
From time to time I'm using ArcGIS Pro, here some experiences and thoughts.
|
bf3cab5
to
f43477b
Compare
A proof of concept available in PR #3113. |
The reason is similar to why we spell it GRASS instead of grass. I realize that GRASS is also an acronym but it distinguishes the special usage of it in GRASS from the common usage of a word. Project is a very common word and as proposed, a Project has a specific meaning in GRASS (like Location vs. location). It's not a huge issue, but it would nice to 1) be consistent, which it is not currently, and 2) clearly signal to users what a GRASS Project is. It is not a matter of trying to force others to use it this way, but my suggestion is that in our docs to be consistent and use capitalization to make usage more clear. For example, "You will need to project all the maps that you use in a project to the same CRS. A GRASS Project is a place to store all the maps from your project that have the same projection." Capitalizing GRASS Project (or even all caps PROJECT) makes these sentences more understandable than they would be otherwise. |
Consistency would be easier to achieve with lower case in my opinion. I think it's common to use lower case, e.g. QGIS project. Clarity can be achieved by other means, e.g. in your sentence you can simply drop the lower case project word and it will work just as well. So I would vote for lower case. |
@cmbarton is for Project with capital P or possibly for all caps PROJECT. @veroandreo and @petrasovaa are for all lowercase project. While I'm author of most of the occurrences of Location with capital L, I must say I did not see much buy-in (no one came up and said, "hey, let's change it everywhere") and I definitively did not see any significant improvement in understanding of Location as a result of that (if there would be any, we would not be here renaming location to project). Given the difficulties with enforcement of this, lack of application of the same uppercase logic to other concepts (mapset, vector, raster, ...), and the experience with Location with upper case L, I'm for an all lowercase project. I'm going with project. Approving reviews would help merging this. |
I'm certainly not going to block this. I do want to clarify a couple things. When I recommend using Project instead of project, I'm only referring to places where users will see the word: in official GRASS documentation and perhaps in GUI tooltips. This is to distinguish the Project folder and concept from the other uses of this common word. For commands, lower case project is good. And case insensitive is even better so that, for example g.mapsets project= , g.mapsets Project= , g.mapsets PROJECT= all are recognized as the same. The same thing would go for any use in C or Python code. Since you are doing a batch replace of Location, this should be pretty easy--except for having to manually look at "location" in documentation to see what is meant (the same thing I suggest to avoid). We can't police how other people should write this outside of official GRASS documentation, though we have (or should have) standards for writing documentation for commands. |
I'd just like to pitch in, also in favor of lowercase, that it might be easier overall in other languages. We were having a pretty deep debate on an English-specific writing conviention, without thinking if a distinction of the sort is even possible for other of our supported languages. Does that special meaning really stay? All of us in this project come from different countries and we certainly all speak and write another language than English, some of us being English not even being our mother-tongue, so we probably could be able to reflect on this. Also in favour of lowercase, is a more practical reason: it's way easier to have tooling to help us standardize if we are not inventing a grammar rule :) I'm talking about spell checking, grammar checking, translation management, ML translations, etc. |
…owercase, only lowercase mapset in database doc
I found a bunch of other candidates: shall I list them here or edit the PR? |
This really aims at minimal changes in wxGUI. Do you think your changes are
necessary for the scope of the PR or can we merge this and other open PRs
and do the other changes afterwards?
…On Sat, Mar 16, 2024, 9:19 AM Markus Neteler ***@***.***> wrote:
I found a bunch of other candidates: shall I list them here or edit the PR?
—
Reply to this email directly, view it on GitHub
<#2993 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJSKZGDHWLR6XOT3C3ERRTYYRBHPAVCNFSM6AAAAAAYYKTBCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHE4DKMJUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Right, I overlooked "wxGUI only". So they can wait, no problem. |
Do you want to review this one so we can start merging?
…On Sat, Mar 16, 2024, 9:35 AM Markus Neteler ***@***.***> wrote:
Right, I overlooked "wxGUI only". So they can wait, no problem.
—
Reply to this email directly, view it on GitHub
<#2993 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJSKZEULQXHIW3ZATJGXULYYRDBFAVCNFSM6AAAAAAYYKTBCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHE4DQOJSGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Smaller PRs that require review/feedback by only one person, one subject/skill set are faster to go through |
I went through and added some change suggestions/comments. |
Just a question on the side since we're undertaking a full review of the docs soon: is the implementation of using markdown docs ready or not close enough? That change will be progressive, it will still need another full review of docs. Or was is only ready for the parser output? |
Co-authored-by: Markus Neteler <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go!
This renames location to project in user messages in wxGUI.
This does not change any documentation or variable names. It does not change names outside of wxGUI.
This changes only location to project. It leaves mapset as is because there seems to be much higher consensus about renaming location to project than about renaming mapset in general.