[Pkg-osm-maint] Bug#745860: osm-gps-map: Does not display OpenStreetMap tiles
Gordon JC Pearce
gordonjcp at gjcp.net
Fri Apr 25 21:03:16 UTC 2014
Source: osm-gps-map
Version: 0.7.3
Justification: renders package unusable
Severity: grave
Dear Maintainer,
osm-gps-map doesn't show OSM tiles. This is because of a policy change within OSM that requires clients to have a "true" User-Agent string. osm-gps-map 0.7.3 reports itself to be some form of Mozilla, which has been blocked by the tileservers.
The fix is to change line 146 of src/osm-gps-map-widget.c from:
#define USER_AGENT "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
to:
#define USER_AGENT "libosmgpsmap/0.7.3"
and recompile. Unfortunately in compiling using standard dpkg-buildpkg scripts I run into other problems related to GIR, which I cannot resolve.
This problem shows up on Ubuntu 12.04 and onwards, which apparently use their own build of the Debian packages without any changes.
Thanks,
--
Gordonjcp MM0YEQ
More information about the Pkg-osm-maint
mailing list