基于PHP的车辆GPS轨迹回放软件设计与实现 下载本文

内容发布更新时间 : 2024/7/3 19:37:19星期一 下面是文章的全部内容请认真阅读。

摘 要

随着国内经济的迅猛增长,人民的生活水平显著提高,而一些其他问题也随之而来,私家车的数目的增多导致了交通的拥堵,绿色出行的理念慢慢被人们接受并提倡。使用公共交通工具既缓解了交通的压力,使得出行更为便捷,又减少了对环境的污染。

本文讨论了基于PHP+MySQL的公交轨迹回放系统软件的设计与实现,其中重点描述了系统软件的实现,包括系统分析、系统调查、数据流程分析、功能设计、数据库设计等。系统采用Web-GIS技术,通过百度地图和php实现对公交车的GPS位置信息管理。本系统的主要功能模块如下:查询公交车的线路信息、提供车辆换乘导航服务。查询某一辆公交车的实时GPS信息、车辆当前位置、车辆运行轨迹。系统通过浏览器实现公交车轨迹的回放、当前位置显示等功能,方便了百姓乘坐公交车以及工作人员管理公交车。

关键词:GPS;轨迹回放;WebGIS。

Abstract

With the rapid growth of the domestic economy and people's living standards improved significantly, while some other problem has cropped up, the increasing number of private cars has led to traffic jams, the concept of green travel slowly being accepted and promoted. Using public transport both to ease the pressure of traffic, making travel more convenient, but also reduce environmental pollution.

This paper discussed the design and implementation of PHP + MySQL bus track playback system, which focuses describes the implementation of system software, including system analysis, system survey, data flow analysis, functional design, database design. System uses Web-GIS Baidu Maps and php technology to realize the bus GPS location information management. The main functional blocks of the system are as follows: Query bus line information, providing transfer vehicle navigation services. Check a bus in a real-time GPS information, the current position of the vehicle, the vehicle trajectory. System through the browser implementations bus track playback, the current position display function to facilitate the people to take the bus and the bus staff management.

Keywords: GPS;track playback;WebGIS

目录

引言 ....................................................................................................................................... 1 第一章 系统分析 ................................................................................................................. 2 1.1系统需求分析 .............................................................................................................. 2 1.2用户需求 ...................................................................................................................... 2 1.3系统可行性分析 .......................................................................................................... 3 第二章 系统开发技术准备 ................................................................................................. 4 2.1WEB-GIS技术介绍 ........................................................................................................ 4 2.1系统开发所需工具 ...................................................................................................... 4 2.2开发环境的搭建 .......................................................................................................... 4 第三章 系统设计 ................................................................................................................. 8 3.1 系统总体结构设计 ..................................................................................................... 8 3.2.数据库设计 .................................................................................................................. 9 3.2.1数据库的完整性 ................................................................................................... 9 3.2.2数据库设计 ........................................................................................................... 9 第四章 系统实施 ............................................................................................................... 13 4.1程序设计 .................................................................................................................... 13 4.1.1连接数据库模块设计 ......................................................................................... 13 4.1.2地图模块实现 ..................................................................................................... 14 4.1.3菜单模块 ............................................................................................................. 14 4.1.4系统的数据传输 ................................................................................................. 15 4.1.5查询公交线路信息 ............................................................................................. 15 4.1.6查询位置信息 ..................................................................................................... 16 4.1.7公交换乘方案查询 ............................................................................................. 17 4.1.8车辆轨迹数据 ..................................................................................................... 18 4.1.9车辆实时位置信息查询 ..................................................................................... 20 4.1.10车辆轨迹回放 ................................................................................................... 20