#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 )
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 , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
Cc: | added |
---|
follow-up: 6 comment:4 by , 8 years ago
Cc: | added |
---|
comment:5 by , 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?
comment:6 by , 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 , 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 , 8 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
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.