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

Arcgis services description #58454

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Arcgis services description #58454

wants to merge 4 commits into from

Conversation

arx-it
Copy link

@arx-it arx-it commented Aug 21, 2024

Add a description type to arcgis rest services browser list (ex: Feature Service or MapService)

@github-actions github-actions bot added this to the 3.40.0 milestone Aug 21, 2024
@nyalldawson
Copy link
Collaborator

Have you got a screenshot what this looks like?

@arx-it
Copy link
Author

arx-it commented Aug 22, 2024

Yes
Picture1

@arx-it
Copy link
Author

arx-it commented Aug 22, 2024

It add for each arcgis rest service if is a MapService or Feature Service

@nyalldawson
Copy link
Collaborator

Thanks for the contribution, but I'm a -1 to this change. I think it adds a lot of extra text to the browser just to show something which is already visible via the icon.

@arx-it
Copy link
Author

arx-it commented Aug 22, 2024

Several entities have asked us for this change to quickly see the type of service, it is just the additional text in brackets (FeatureService or MapService)...

@nyalldawson
Copy link
Collaborator

What about putting this in the tooltip?

The other issue I have is that some datasets are exposed as both feature services AND map services. QGIS shows two items for these under the same group. If you add the service type to the group, then it's misleading for these items...

@arx-it
Copy link
Author

arx-it commented Aug 23, 2024

I will speak with my colleagues about it...
Keep in touch

Copy link

github-actions bot commented Sep 7, 2024

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Sep 7, 2024
Copy link

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist.

@github-actions github-actions bot closed this Sep 14, 2024
@jlo-arxit
Copy link

Hi,
Quick follow-up on this PR after some discussion with the requestor.
We don't really understand your comments @nyalldawson (Aug 22), see our screenshot, it doesn't seem to us that both feature service and map service of a same dataset:

  • have different icons > All services have the same kind of database icon
  • are grouped > All services are listed in a flat way under ArcGIS Server connexion

... or perhaps they now are in a latest QGIS version ? (sorry if it the case)

Anyway, if you think that adding some text in ( ) after service name make the UI too dense, we can indeed propose to use specific icons for feature / map / image services

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Sep 27, 2024
Copy link
Author

@arx-it arx-it left a comment

Choose a reason for hiding this comment

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

Reopen pull request

@nyalldawson nyalldawson reopened this Sep 30, 2024
Copy link

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 62e36b2)

@nyalldawson
Copy link
Collaborator

@arx-it

Let's take an example:

https://gislegacy.scc.qld.gov.au/arcgis/rest/services/Biota/Biota_SCRC/MapServer

This is how it's shown in QGIS:

image

The datasets on the server have BOTH the "export map" and "query" capabilities, so they can be accessed using either the mapserver or feature server protocols. Accordingly it makes no sense to append either "Feature Server" or "Map Server" on the "Biota_SCRC" group, as the group contains both service types.

You can also see in the screenshot that different icons are used for mapserver (raster)/feature server (vector) versions of these layers.

@jlo-arxit
Copy link

@nyalldawson
Thanks for your reply.
I think there is a confusion between ESRI "feature layers" (what you are talking about) and "feature/map services" (what we are talking about)

Your screenshot is showing the multiple feature layers inside a single map service called Biota_SCRC and reachable at the following endpoint :
https://gislegacy.scc.qld.gov.au/arcgis/rest/services/Biota/Biota_SCRC/MapServer
Note the end of the URL : "MapServer" means that you are targetting a single ArcGIS Server service
image

What our development intend to adress is the distinction between map services, feature services and image services inside a global ArcGIS Server endpoint such as : https://xxx/arcgis/rest/services
This endpoint list all services available in the targetted ArcGIS Server, not only one. Please note this database icon, same one for all services in the endpoint, whatever there type (mapserver / featureserver / imageserver)

Here is an example :

image

In QGIS :

  • for Biota map service, you are right, there is an icon distinction between the different feature layers of this single ArcGIS map service endpoint. The icon depends on how you want to use the feature layer : image/map or feature/query (in this second case, also an icon distinction based on geometry type)
  • but our concern is one level higher, we need distinction between map services, feature services and image services when we are referencing a global ArcGIS rest endpoint in QGIS

image

Here an example of what we can do to differentiate map service, feature service and image services (quick work, surely need to rework icons) :
image

I hope it's clearer

Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Oct 16, 2024
@jlo-arxit
Copy link

A little up before it gets closed ...
Thanks

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Oct 16, 2024
Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Oct 31, 2024
@jlo-arxit
Copy link

A little up before it gets closed ...
Thanks

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 4, 2024
Copy link

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 19, 2024
@jlo-arxit
Copy link

Up

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 20, 2024
Copy link

github-actions bot commented Dec 5, 2024

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 5, 2024
@jlo-arxit
Copy link

Up

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 5, 2024
@olivierdalang
Copy link
Contributor

olivierdalang commented Dec 6, 2024

@jlo-arxit Hey ! You still have failures on the CI, I guess you'll have better chances getting another review and approval once fixed. From a quick look at the logs you probably miss some docstrings and haven't updated the SIP bindings (see https://docs.qgis.org/3.34/en/docs/developers_guide/codingstandards.html#generating-the-sip-file - I hope it's up to date, haven't used this in a long while)

edit: ping @arx-it

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

Successfully merging this pull request may close these issues.

4 participants