Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yandex GPS tracks #3

Closed
bertt opened this issue Jun 29, 2018 · 4 comments
Closed

Yandex GPS tracks #3

bertt opened this issue Jun 29, 2018 · 4 comments

Comments

@bertt
Copy link
Owner

bertt commented Jun 29, 2018

Copied from #2 (comment) by @luiswoo

"Hi, is it possible to add gps tracks by Yandex (n.maps.yandex.ru)?
https://core-gpstiles.maps.yandex.net/tiles?style=point&x=37275&y=19294&z=16
https://core-gpstiles.maps.yandex.net/tiles?style=red_combined&x=37268&y=19297&z=16

"ygpx": {
"name": "yandex gps point",
"prefix": "ygpx", # tile directory
"ext": "png", # tile images extension
"scalable": False, # could zN tile be constructed of four z(N+1) tiles
"fetch": fetchers.Tile, # function that fetches given tile. should return None if tile wasn't fetched
"remote_url": "https://gps-tiles.maps.yandex.net/tiles?style=point&x=%s&y=%s&z=%s",
"transform_tile_number": lambda z,x,y: (x,y,z-1),
"dead_tile": install_path + "yandex_nxt.jpg",
"proj": "EPSG:3395",
},
"ygpx_red_combined": {
"name": "yandex gps red_combined",
"prefix": "ygpx_red_combined", # tile directory
"ext": "png", # tile images extension
"scalable": False, # could zN tile be constructed of four z(N+1) tiles
"fetch": fetchers.Tile, # function that fetches given tile. should return None if tile wasn't fetched
"remote_url": "https://gps-tiles.maps.yandex.net/tiles?style=red_combined&x=%s&y=%s&z=%s",
"transform_tile_number": lambda z,x,y: (x,y,z-1),
"dead_tile": install_path + "yandex_nxt.jpg",
"proj": "EPSG:3395",
},
^
this is for TWMS https://github.com/Komzpa/twms

https://n.maps.yandex.ru/#!/help?z=16&ll=24.740202%2C59.432151&l=nk%23sat"

@luiswoo
Copy link

luiswoo commented Jun 30, 2018

@bertt
Copy link
Owner Author

bertt commented Jun 30, 2018

Can you send a pr?

@luiswoo
Copy link

luiswoo commented Jun 30, 2018

No, because of my own, about zero knowledge of English, I can hardly understand how to do it.

@bertt
Copy link
Owner Author

bertt commented Jul 2, 2018

Added Yandex gps points in 141b1cb

and closing this issue

@bertt bertt closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants