Opened 6 years ago

Closed 6 years ago

#1264 closed defect/bug (fixed)

Android map download not working = mapserver problem

Reported by: jandegr Owned by: cp15
Priority: major Milestone:
Component: port/android Version: git master
Severity: normal Keywords:
Cc:

Description

Downloading a map from within the Android app. does not start. There seems to be nothing in the Android code that causes it, for example for the Azores map the following URL is created in the app : http://maps.navit-project.org/api/map/?bbox=-31.62,36.63,-27.67,40.13

Today that query is redirected to (the '5' in maps5 can change any day) http://maps5.navit-project.org/api/map/?bbox=-31.62,36.63,-27.67,40.13&timestamp=140917 returning a simple html page saying: Selected planet does not exist

but after removing the timestamp from the link it works fine : http://maps5.navit-project.org/api/map/?bbox=-31.62,36.63,-27.67,40.13

or replacing it with the correct one works too : http://maps5.navit-project.org/api/map/?bbox=-31.62,36.63,-27.67,40.13&timestamp=140930

I don't have any idea what adding the timestamp is good for, but if removing it is not an option, setting it right will do as well.

Seasoned users often provide their own maps on the mass storage of the device, but for firsttime users this is one of the first actions they will take after installing Navit and make them think Navit is no good and abandon it.

thx, Jan

Change History (1)

comment:1 Changed 6 years ago by tryagain

  • Resolution set to fixed
  • Status changed from new to closed

Well done. Jan!

Our database, which keeps data about mirrors content, sometimes goes out of sync. Probably, that happens when I have to start map replication by hand, and I have to do it too often these days.

I have removed the timestamp parameter from redirect, so returned link is good regardless of database content.

tryagain.

Note: See TracTickets for help on using tickets.