Modify

Opened 23 months ago

Last modified 23 months ago

#17618 new enhancement

Add {x+1} etc. tile simple math capabilities for URL templates

Reported by: jidanni Owned by: team
Priority: trivial Milestone:
Component: Core imagery Version:
Keywords: Cc:

Description

Maybe like
https://github.com/openstreetmap/iD/issues/6198
there should be the capability to say {x+1} etc. instead of just {x}.

Attachments (0)

Change History (6)

comment:1 Changed 23 months ago by stoecker

Actually I'd rather ask them if they can find and fix the error in their server. That does not look correct to me at all.

They probably copied the data with an off-by-one error.

comment:2 Changed 23 months ago by jidanni

All I am saying is that one day one might be faced with such problems,
so there should be some flexibility in place in case it is needed.
Upstream might not be back in the office until Monday,
or their team might need a week to get their contractor to fix it...

http://www.offline-maps.net/en/help/maps/stored/custom#custom_variables users
can deal with it out of the box, whereas JOSM users would be out of luck!
In fact it would be pretty hard to make some middleman function between JOSM and the Internet.

comment:3 Changed 23 months ago by stoecker

There are many possibilities, but it makes no sense to implement each obscure system. I prefer to ignore strange stuff until there is a real need to support it. If everybody supports each bullshit there is no reason for the providers to follow any standards.

comment:4 Changed 23 months ago by jidanni

Well all I can say is one day if a new standard came along, JOSM users would be helpless waiting for it to be approved by standards bodies, and then added to the list of fixed functions, whereas e.g.,
http://www.offline-maps.net/en/help/maps/stored/custom#custom_variables
users could be up and running within minutes. All because their software had the ability to define "macros".

comment:5 Changed 23 months ago by stoecker

If a new "standard" establish JOSM usually supports it as soon as it is used. But supporting broken servers is not our goal.

comment:6 Changed 23 months ago by jidanni

One notices the site in question has a left window / right window slider. Though not actually the factor here, you never know why some sites might have shifted their tiles ... the site using such layers https://gis.swcb.gov.tw/ certainly has no such problem dealing with it, with the shift, and Google's layer, without the shift, at the same time. Reminds me of https://www.wikidata.org/wiki/Q29043602 . JOSM users would be locked out. Just what China wanted.

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 jidanni
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.