Tutorials / How to use HERE Studio to Visualize Map Data for Students
Last Updated: September 03, 2020

Introduction

HERE Map Data for Students is a project that provides base data for educational research to assist in solving complex spatial data problems. HERE Map Content can be used by all students interested in static location data for spatial analysis, web/mobile applications, fusion with datasets between different map services, or general educational research.

This data is accessible to all students. By signing up, students agree to the following Terms and Conditions.

On the HERE Map Data for Students’ webpage, students can learn more about the project and available data formats.

The page also includes documentation. If the data that you are searching for is not available on the page, you can contact HERE Map Data for Students team us via e-mail on mapdata.students@here.com to discuss the possibilities of data extraction and future cooperation.

Sign Up for Account

By signing up, students get free access to the webpage where datasets for all available locations can be downloaded. After registration, you will be automatically taken to the download page.

Download a Data Set

To download the data, the student needs to register on the website. Directly after registration, the student will get access to the data download links.

To download Visit HERE Sample MapData.

Register

For this exercise, download data for the city of Eindhoven.

The size of a shapefile is too big to upload directly to the Data Hub in HERE Studio. Therefore, you will need to install HERE CLI.

Register for a HERE Studio Account

If we want to see the data visually, we need to have an account with studio.here.com.

Install the HERE Data Hub CLI

Here Data Hub CLI is a command-line tool to upload data using HERE CLI. Follow the link to install HERE Data Hub CLI

Configure HERE CLI

HERE CLI needs to have access to your projects to help you work with your data. For that, you need to log in using your HERE developer account. You only need to do this once for a project.

HERE configure account

When prompted, enter your email and password that you use in the HERE Developer portal. The CLI will immediately try to verify if the entries can be used to log into HERE XYZ and report back to you accordingly.

Upload Data into a HERE Data Hub Space

Create a new Space

Create 3 spaces for the following data layers: Water, Water lines, POI table.

To do it use below command:

  here xyz create -t "title for space" -d "description for space"  

When you create a new space, a SpaceID will be generated automatically. Save the value of your SpaceID

  here xyz create -t "Eindhoven water" -d "sample data shp"

e.g. SpaceID: RmehrnvJ

  here xyz create -t "Eindhoven water lines" -d "sample data shp"
  here xyz create -t "Eindhoven POI table" -d "sample data shp"   

OPTIONS

-t <title> title for space

-d <desc> description for space

-s <schema definition> schema for space with schema validation

When you have many spaces, you will be glad that you added meaningful titles and descriptions. The schema definition can be in the form of a web address or a schema JSON.

Upload datasets to your space

Shapefile

To upload shapefiles to the previously created spaces, use the “Water”, “Waterlines” and “POI Table” files with the extension “.shp”. Use the following command to upload them. Remember about changing SPACE_ID according to previously created spaces:

here xyz upload SPACE_ID -f /Users/xyz/T2018_EIN_WATERS.shp
here xyz upload SPACE_ID -f /Users/xyz/T2018_EIN_POI_TABLE.shp
here xyz upload SPACE_ID -f /Users/xyz/T2018_EIN_WATER_LINES.shp               

Create a map with the newly created Data Hub space

All datasets which were uploaded via CLI should be in HERE Studio Data Hub. Now it’s time to create a project and customize your map

Conclusion

After completing this tutorial, you should be able to download HERE Map Data for Students and understand its data structure. Additionally, you will learn how to upload data in the shapefile format using HERE CLI. Moving forward, you can customize your map.

Next Steps

Check out our other tutorials on Data Hub: