heldersepu / GMapCatcher

An offline map viewer
Other
218 stars 69 forks source link

gmapcatcher/mapServers/nokia.py uses here.com - JSON or REST + Oauth? #475

Closed Veek closed 3 years ago

Veek commented 4 years ago

So my GMapCatcher started giving me HTTP Error 401: Unauthorized because HERE.com expired the default key.

  1. So I signed in and created some new keys but it is not clear to me what I should use? JSON or REST? Also in REST should I use the OAuth token along with the app_id?

(works great with other map servers but I like Nokia to be working as well since I am used to it) (I tried all combinations and none of it worked - I get the same error and in addition if I use JSON/REST WITH NO OAuth I suspect the app_code is too long.. I get a python traceback as well - but I can't replicate that currently)

  1. How is the client authenticating with the servers - I couldn't find a setting for REST|JSON in the file - it just has a template URL?

  2. How do I flush my tile cache and switch to "different folder per MapService"? Just rm -rf ./ and start over?

heldersepu commented 4 years ago

I think that the app_id is hardcoded here: https://github.com/heldersepu/GMapCatcher/blob/master/gmapcatcher/mapServers/nokia.py#L14-L15