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

Add panoramax=* universal field #1344

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

mnalis
Copy link
Contributor

@mnalis mnalis commented Sep 25, 2024

Description, Motivation & Context

This PR adds panoramax=* universal field which contains UUID of the photo in Panoramax.

Panoramax is FOSS decentralized federated map of geolocated street-level pictures. Its function is similar to Facebook's Mapillary (which has universal mapillary=* already in id-tagging-schema) or Google StreetView, but with emphasis on being fully open-source stack and allowing decentralization.

(i.e. Panoramax is alternative to Mapillary/GoogleStreetView in much the same way as Mastodon is alternative to Twitter/X, thus more aligned with OpenStreetMap premises).

Related issues

Closes #1334

Links and data

Relevant OSM Wiki links:

Relevant tag usage stats:

Current usage (as of the creating this PR) is 1583 uses, and taginfo shows a fast growing curve.

Checklist and Test-Documentation Template

Read on to get your PR merged faster…

Follow these steps to test your PR yourself and make it a lot easier and faster for maintainers to check and approve it.

This is how it works:

  1. After you submit your PR, the system will create a preview and comment on your PR:

    🍱 You can preview the tagging presets of this pull request here.
    If this is your first contribution to this project, the preview will not happen right away but requires a click from one of the project members. We will do this ASAP.

  2. Once the preview is ready, use it to test your changes.

  3. Now copy the snippet below into a new comment and fill out the blanks.

  4. Now your PR is ready to be reviewed.

## Test-Documentation

### Preview links & Sidebar Screenshots

<!-- Use the preview to find examples, select the feature in question and **copy this link here**.
     Find examples of nodes/areas. Find examples with a lot of tags or very few tags. – Whatever helps to test this thoroughly.
     Add relevant **screenshots** of the sidebar of those examples. -->

<!-- FYI: What we will check:
     - Is the [icon](https://github.com/ideditor/schema-builder/blob/main/ICONS.md) well chosen.
     - Are the fields well-structured and have good labels.
     - Do the dropdowns (etc.) work well and show helpful data. -->

### Search

<!-- **Test the search** of your preset and share relevant **screenshots** here.
     - Test the preset name as search terms.
     - Also test the preset terms and aliases as search terms (if present). -->

### Info-`i`

<!-- **Test the info-i** for your fields and preset and share relevant **screenshots** here.
     The info needs to help mappers understand the preset and when to use it.
     [Learn more…](https://github.com/tordans/id-tagging-schema/blob/main/CONTRIBUTING.md#info-i)
 -->

### Wording

- [ ] American English
- [ ] `name`, `aliases` (if present) use Title Case
- [ ] `terms` (if present) use lower case, sorted A-Z
<!-- Learn more in https://github.com/openstreetmap/id-tagging-schema/blob/main/GUIDELINES.md#2-design-the-preset -->

Copy link

🍱 You can preview the tagging presets of this pull request here.

@mnalis
Copy link
Contributor Author

mnalis commented Sep 25, 2024

🍱 You can preview the tagging presets of this pull request here.

Tested, and seems to work fine! (i.e. I can search for panoramax in iD and that tag, and clicking on its external view opens up Panoramax map with the specified image; also info button works fine and leads to appropriate wiki)

Screenshot 2024-09-26 at 00-29-46 (1) iD – Cafe

@Coehill
Copy link
Contributor

Coehill commented Sep 26, 2024

@mnalis You rock! :D

@tordans
Copy link
Collaborator

tordans commented Sep 27, 2024

I wonder if we should take this opportunity and look into how we can improve the Usability for those fields…

  • Should we maybe group the in their label as both "Street level imagery"? Eg ""Street level imagery: Panoramax"
  • Is "reference code" a good term, when we use ID or Key elsewhere? Maybe "Identifier (ID / Key)?
  • Do both wiki pages do a good job to explain how to retrieve this key to be added to this field? Eg. a user in iD that does not know this already, how would she learn how to get from iD to the key?
  • Double check if the wiki pages are clear on only one key per image (no Semicolon usage, right?)
image image image

Mapillary: Wiki, Wikidata item
Panoramax: Wiki, Wikidata item


On the general question of when / if to merge this: I don't see a reason why not other than other image street level image services are out there and they did not ask, yet. — But given this is a global key, I would like to wait for a +1 from another co-maintainer.

@Coehill
Copy link
Contributor

Coehill commented Sep 27, 2024

I wonder if we should take this opportunity and look into how we can improve the Usability for those fields…

* Should we maybe group the in their label as both "Street level imagery"? Eg ""Street level imagery: Panoramax"

* Is "reference code" a good term, when we use ID or Key elsewhere? Maybe "Identifier (ID / Key)?

* Do both wiki pages do a good job to explain how to retrieve this key to be added to this field? Eg. a user in iD that does not know this already, how would she learn how to get from iD to the key?

* Double check if the wiki pages are clear on only one key per image (no Semicolon usage, right?)

image image image

Mapillary: Wiki, Wikidata item Panoramax: Wiki, Wikidata item

On the general question of when / if to merge this: I don't see a reason why not other than other image street level image services are out there and they did not ask, yet. — But given this is a global key, I would like to wait for a +1 from another co-maintainer.

I like the idea of street_level_imagery:panoramax=id since it's clearer and self-documenting.

Imo, "picture identifier" is ideal since it reflects the Panoramax UI:
screenshot of panoramax website showing picture identifier under the picture metadata heading I have updated the wiki accordingly.

I have also updated the wiki with instructions on how to retrieve the picture identifier in Panoramax.

@PanierAvide can you please comment on whether it is expected for panoramax=* to only store one picture ID with no semicolon usage? My guess is yes. If so, we can add the line to the wiki: "Each image only has one picture identifier, so panoramax=* may only contain one UUID value. Multiple values are not permitted."

@PanierAvide
Copy link

My two cents on the topic :

  • We already expect any OSM tag for Panoramax ID to have potentially many values separated by semicolon (as well as having suffixed tags like panoramax:front=*).
  • Grouping in terms of UI all street-level providers in iD seems good, but having an OSM tag like street_level_imagery:panoramax=* seem over-engineered, regarding history of contact:*=* and so on.

@tordans
Copy link
Collaborator

tordans commented Nov 3, 2024

@tyrasd What are your thought on …

@pietervdvn
Copy link
Contributor

panoramax (without street_level_imagry-prefix) has been used for about a year now and has 15K uses nowadays (but this is my fault, as I moved about 10K images to panoramax and MapComplete adds about 50 pictures every day).

Using street_level_imagery has no usages right now, so I don't see the point introducing this.

Another thing to keep in mind: a panoramax-hash is 37 characters long. This means that at most 6 images are supported because of the 255 character limit in OpenStreetMap.

MapComplete instead uses panoramax, panoramax:0, panoramax:1, ... to add an arbitrary amount of images. Even though having more then 6 images is rare, there are 8 entries which have it already.

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.

Requesting Panoramax Field
5 participants