Modify

Opened 6 years ago

Last modified 6 years 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 by stoecker, 6 years ago

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 by jidanni, 6 years ago

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 by stoecker, 6 years ago

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 by jidanni, 6 years ago

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 by stoecker, 6 years ago

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 by jidanni, 6 years ago

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. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to jidanni.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.