Map of Metro Station Information

  • Last update:January 22, 2025
  • Overview

    Application Scenario

    Based on the general map, the map of metro station information can display the subway route map and station information of Beijing through latitude and longitude.

    When the cursor hovers over a station, the first and last bus times of the station are displayed. When clicking the corresponding station, you can see its Exit and Info catalogue. Click the catalogue to see related information about the station, as shown in the following figure.
    preview.gif

    Implementation Method

    Customize the point style, and add hyperlinks to display pop-up pages in the point map.

    Example

    Data Preparation

    Choose File > New General Report in the upper left corner of the designer, and create a dataset ds1. The database query statement is as follows:

    SELECT distinct cname,lot-0.006 as lot,lat-0.006 as lat,stationinfo FROM station;

    The first and last bus times of each station are recorded in ds1 separately, as shown in the following figure.

    iconNote:

    The dataset station is in Chinese FRDemo, we need to export the dataset to excel and attach as a file.

    EN_station.xlsx

    image 22.png

    image 24.png

    Chart Insertion

    1. Create a general report Beijing Subway Station Information Main Table.cpt, merge required cells, click the Insert Chart icon on the toolbar above, select Point Map, and click OK, as shown in the following figure. 

    image 8.png

    2. Create a map named Beijing Subway Station Information - Exit Information.cpt, add a database query ds1, and the database query statement is as follows:

    SELECT cname,exitname,addr FROM exitinfo WHERE cname ='${dz}';

    Drag the fields into the template, and the following figure shows the style.

    iconNote:
    Similarly, we need to export to excel and create one dataset with the station name as the passing parameter. Please refer to Excel Dataset for more details. 

    EN_exit.xlsx

    image 25.png

    iconNote: 
    Set the first row as Repeat Title Row.

    Data Binding

    Bind the data of Beijing Subway Station Information Main Table to the map, select the map, choose Cell Element > Data, select Lat/Long for Geographic Info, set Series Name to First/Last Bus, and select First for Summary, as shown in the following figure.

    image 26.png

    Style Setting of the Main Chart

    1. Choose Type > Point Map, set GIS layer as needed, with Beijing as the center, as shown in the following figure.

     image 30.png

    2. Choose Style > Series, select Series as Color Section, and select Custom Image as Point Style, as shown in the following figure.
    image 27.png

    Hyperlink Setting of the Main Chart

    Exit Information Setting

    1. Choose Special Effect > Interaction > Hyperlink, click the Add Hyperlink icon, and add a Web Report hyperlink, as shown in the following figure.

    image 28.png

    2. Select Beijing Subway Station Information - Exit Information.cpt and add a parameter dz, as shown in the following figure.

    image 29.png


    Effect Display

    PC

    Save the template and click Pagination Preview. The following figure shows the effect.

    preview.gif

    Mobile Terminal

    The report can be previewed on both the DataAnalyst app and the HTML5 terminal. 

    Template Download

    Click to download the example template.

    MapExit.cpt

    Map-BeijingStationMain.frm

    Attachment List


    Theme:
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy