Modify

Opened 2 years ago

Last modified 2 years ago

#13992 new defect

URL validator on source:url

Reported by: santiago-josm.openstreetmap.de-5195b@… Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: source:url Cc:

Description

Hi,

source:url may contain any text, not just URLs. If the value is not an URL, it triggers URL validator and gives the warning: "URL contains an invalid authority".

Thank you,
Santiago

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by Klumbumbus

Owner: changed from team to santiago-josm.openstreetmap.de-5195b@…
Status: newneedinfo

Why would you put something else in source:url than an URL? If it is not an URL then source would be the appropriate key. See also usage for source:url on taginfo.

comment:2 Changed 2 years ago by santiago-josm.openstreetmap.de-5195b@…

Example: there is an amenity=place_of_worship already on OSM with several tags. I have the phone and url provided by "Ayuntamiento de Madrid", so I add the tags:

Sometimes it is not possible to just use the source tag alone on the objects or changeset because there are different sources for each tag.

See: https://wiki.openstreetmap.org/wiki/Key:source#How_to_use_.28historic.29

comment:3 Changed 2 years ago by Klumbumbus

Keywords: validator removed
Owner: changed from santiago-josm.openstreetmap.de-5195b@… to team
Status: needinfonew

Here we have two different usages of the source:url tag.

  • give an URL where you got the added infos from
  • give the source where you got the URL from

You use the second one (which is in line with source:name, source:addr,...) However this tag is used much more with the first method as my taginfo link shows.

So it should be clarified outside this JOSM bug tracker what this tag describes.

Not sure what to do with the JOSM validator for now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to santiago-josm.openstreetmap.de-5195b@flanera.net
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.