Modify

Opened 8 years ago

Closed 8 years ago

Last modified 6 months ago

#14070 closed defect (worksforme)

mapbox access_token

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: Cc: kre3d, Don-vip

Description (last modified by Klumbumbus)

There are some Imagery URLs at ELI from mapbox, which have an access token.
e.g. - [BR] IBGE Distrito Federal - https://api.mapbox.com/styles/v1/wille/cirnnxni1000jg8nfppc8g7pm/tiles/256/{zoom}/{x}/{y}?access_token=pk.eyJ1Ijoid2lsbGUiLCJhIjoicFNVWk5VWSJ9.hluCd0YGvYHNlFi_utWe2g

Also both JOSM and ELI have the same access token for Maps/USA#NewMisalignedTIGERRoads2015

This seems not right to me. I asume JOSM needs his own access token. (Or is this actually JOSMs token?). How to proceed here?

https://www.mapbox.com/help/define-access-token/
https://www.mapbox.com/help/create-api-access-token/

Attachments (0)

Change History (9)

comment:1 by Klumbumbus, 8 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 8 years ago

Description: modified (diff)

comment:3 by stoecker, 8 years ago

Cc: kre3d added

comment:4 by stoecker, 8 years ago

Cc: Don-vip added

The token

pk.eyJ1Ijoiam9zbSIsImEiOiJjaWlydjFvc24wMDl5dm5tNmxqcWFoZ3N5In0.ZRCa4WnO-tZ_JjlZHPw22Q

is JOSM's access token, but it seems nowhere used.

Maybe we should add a parameter {token_mapbox} instead of a hardcoded value and supply it in JOSM? But that will take some time, as we need the updated JOSM version used before we can fix the maps pages.

comment:5 by Klumbumbus, 8 years ago

ELI has these two:

-  [BR] IBGE Mapa de Setores Rurais - http://{switch:a,b,c}.tiles.mapbox.com/v4/tmpsantos.i00mo1kj/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw
-  [BR] IBGE Mapa de Setores Urbanos - http://{switch:a,b,c}.tiles.mapbox.com/v4/tmpsantos.hgda0m6h/{zoom}/{x}/{y}.png?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJncjlmd0t3In0.DmZsIeOW-3x-C5eX-wAqTw

In JOSM we use them without access_token (which works). Should we add our token in our list anyway?

in reply to:  4 comment:6 by Don-vip, 8 years ago

Replying to stoecker:

The token
pk.eyJ1Ijoiam9zbSIsImEiOiJjaWlydjFvc24wMDl5dm5tNmxqcWFoZ3N5In0.ZRCa4WnO-tZ_JjlZHPw22Q
is JOSM's access token, but it seems nowhere used.

I think I created it some time ago (a year?) to test some MapBox web service but forgot which one...

comment:7 by stoecker, 8 years ago

Checking the tokens it seems, that the tokens are a per-service token, so these are not user depended. So simply copy the URL's as they are.

comment:8 by Klumbumbus, 8 years ago

Resolution: worksforme
Status: newclosed

comment:9 by Klumbumbus, 8 years ago

The entries are on ignore list ImageryCompareIgnores

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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