A method for acquiring bus stop and route information based on Web-side JavaScript API

A technology of bus lines and line information, applied in the field of network applications, can solve problems such as low efficiency, missing data, and difficulty in obtaining data in different places, and achieve the effect of improving research and work efficiency

Inactive Publication Date: 2019-03-15
JIANGSU UNIV
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the location information of bus stops recorded by this method is very accurate, for cities with large areas or many bus stops, the traditional manual collection method requires a large workload, low efficiency, and easily causes data loss
In addition, manually collected data can only record key site information and parameters, and the collected data needs secondary processing before it can be used
However, the relevant data of the bus line needs to be obtained through the local bus company or the transportation management department, which makes it difficult to obtain data in different places

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for acquiring bus stop and route information based on Web-side JavaScript API
  • A method for acquiring bus stop and route information based on Web-side JavaScript API
  • A method for acquiring bus stop and route information based on Web-side JavaScript API

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0029] Such as figure 1 As shown, a method for obtaining public transportation site and line information based on JavaScript API on the web side, including steps:

[0030] Step (1), according to the size of the research area you need, use the mouse to click on the network electronic map or directly enter the city administrative district name (or geocode, https: / / lbs.amap.com / api / webservice / guide / api / district / ), after determining the research scope, the user clicks to extract bus information; take the mouse to select the research scope as an example, use the mouse to click the upper left corner of the target area, then move the cursor to the lower right, and click the second point , the rectangular frame formed by connecting two points is used as the research range of the click; use the code of the "event binding" scene to bind the click ev...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for acquiring bus stop and line information based on a JavaScript API of a Web terminal, belonging to the technical field of network application. Bus stop and route information is obtained by determining a range or inputting a name (or geo-code) of the administrative region in the electronic map, The pre-defined functions are redeveloped by using the JavaScript APIinterface on the Web side of the electronic map, to obtain the number of bus stops and the bus lines passing through the bus stops within the selected range, and to obtain the information of the reverse bus lines by exchanging the first and last stop order search of the bus lines, and to generate a bus stop set according to the bus lines after obtaining all bus lines; Finally, the bus stop and route data are exported in Excel format. The invention can realize the acquisition of the bus stop and line data in any known area, and can meet the requirements of the bus stop and line data information of a certain area in the work of urban public transport planning and the like. At the same time, it can greatly improve the research and work efficiency of transportation workers.

Description

technical field [0001] The invention belongs to the technical field of network applications, and in particular relates to a method for acquiring bus station and line information based on a JavaScript API at a Web end. Background technique [0002] The acquisition of public transportation stations and route information based on the web terminal of the network electronic map is an important network application technology. The calibration of bus stops and the drawing of bus routes are the first link in the planning and research of urban public transport. For urban public transport planners, they often need to obtain relevant information such as bus stops and bus lines in a certain city or a certain area, and carry out the calibration of bus stops and bus lines in traffic planning software (ArcGIS or TransCAD). Drawing, so as to realize the planning or optimal adjustment of urban bus lines or bus networks. [0003] When there was no network electronic map in the early stage or...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/29G06Q50/30
CPCG06Q50/30
Inventor 景鹏黄浩赵梦璇
Owner JIANGSU UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products