HERE Maps integration

424 views
Skip to first unread message

Joel Aldor

unread,
Jan 31, 2016, 7:13:24 PM1/31/16
to Arches Project
I found out that HERE Maps (formerly Nokia Maps) have more complete satellite imagery in our country, especially the old towns that we need to map but have no good imagery on Bing Maps. I also read here that it is technically possible to use this for OpenLayers, but I'm not sure if I'm reading the documentation right and that I don't need to buy a plan right now just to get the satellite view for HERE Maps as basemap for Arches.

Here's the StackOverflow article: http://stackoverflow.com/questions/15784249/can-use-nokia-here-rest-map-api-in-openlayerAlso, here are the pricing plans. I hope we can just get the Basic Plan for this. https://developer.here.com/plans/api/consumer-mapping

I really hope this is possible because it'll be definitely awesome and super helpful for our mapping activities.

Adam Cox

unread,
Feb 1, 2016, 11:50:43 AM2/1/16
to Arches Project
Hi Joel, it's always exciting to find great imagery resources!  Nice work.  You should have no trouble adding this to Arches.

Here's another post I found, which uses open layers 3 (instead of 2), so that url should be almost exactly what you need.  Looks like you'll just have to supply your new token and language (the lg=... parameter).  There is some Arches-HIP documentation on how to add a new basemap, and looks like all you'll need to do is uncomment some lines and add the HERE url...  Let us know how it goes!

Adam

Joel Aldor

unread,
Feb 1, 2016, 7:56:08 PM2/1/16
to Arches Project
Thanks, Adam! Was able to add the code on base-layers.js with the following and it worked like a charm:

    baseLayers.push({
         id: 'heremaps',
         name: 'HERE Maps (Satellite View)',
         icon: arches.urls.media + 'img/here.jpeg',
         layer: new ol.layer.Tile({
             visible: false,
             source: new ol.source.XYZ({
                 url: 'http://{1-4}.aerial.maps.api.here.com/maptile/2.1/maptile/newest/hybrid.day.transit/{z}/{x}/{y}/256/png8?app_id=<insert your app ID>&app_code=<insert your app code>'
             })
         })
     });

I read the FAQs for licensing of HERE Maps on this URL: https://developer.here.com/faqs#licensing-terms and it looks like we are definitely allowed to use the Consumer Mapping Basic Plan for the Philippine Heritage Map. I would recommend the rest to add this one as their basemap as well.

Thanks again!

Regards,

Joel
Reply all
Reply to author
Forward
0 new messages