After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768392 - Remove mapquest map source
Remove mapquest map source
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: map-sources
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks:
 
 
Reported: 2016-07-04 17:23 UTC by Nayan Deshmukh
Modified: 2016-07-16 17:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
factory: remove Mapquest map source (3.93 KB, patch)
2016-07-04 17:25 UTC, Nayan Deshmukh
none Details | Review
factory: remove Mapquest map sources (5.78 KB, patch)
2016-07-08 12:31 UTC, Nayan Deshmukh
none Details | Review

Description Nayan Deshmukh 2016-07-04 17:23:01 UTC
Due to change in their ToS, we can no longer use it.

http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/
Comment 1 Nayan Deshmukh 2016-07-04 17:25:13 UTC
Created attachment 330861 [details] [review]
factory: remove Mapquest map source

Due to change in their ToS, we can no longer access their
tile servers directly.
Comment 2 Jiri Techet 2016-07-05 10:49:57 UTC
Pity.

Thanks for letting me know and for the patch.
Comment 3 Nayan Deshmukh 2016-07-05 13:18:09 UTC
On second thoughts, gnome-maps and gnome-contact use libchamplain and both 
of them will break with this change. So instead of removing the string OSM_MAPQUEST we could mark it as deprecated and if someone is using it, we instead use mapnik map source instead of mapquest. And remove it in next release.
Comment 4 Rico Tzschichholz 2016-07-08 10:23:19 UTC
Please revert this and do a proper deprecation handling. As noted this breaks the compilation of the mentioned projects and is a serious API break.
Comment 5 Nayan Deshmukh 2016-07-08 12:31:04 UTC
Created attachment 331074 [details] [review]
factory: remove Mapquest map sources

Due to change in their ToS, we can no longer access their
tile servers directly.
Comment 6 Jiri Techet 2016-07-13 18:35:26 UTC
Sorry for the delay guys.

I completely forgot about this but we handled this stuff in the past already with other sources. I reverted the patch and did it the same way as in the past - moved the macros between GTK_DISABLE_DEPRECATED guards and disabled the affected map source registrations into the factory. I also made all the factory functions work the same way - i.e. return NULL when the given map source doesn't exist.

I'm afraid all applications using libchamplain and hard-requesting the Mapquest sources will have to be updated anyway - at the moment both of the Mapquest sources return error tiles and these map sources are unusable...

Feel free to reopen this bug if you think it should be handled in a different way.
Comment 7 Nayan Deshmukh 2016-07-14 05:12:38 UTC
Hi Jiri,

You did not mark the CHAMPLAIN_MAP_SOURCE_OSM_AERIAL_MAP as deprecated in the champlain-0.12.vapi in the new patches.
Comment 8 Jiri Techet 2016-07-16 17:12:37 UTC
Thanks for noticing, fixed now.