辽宁师范大学硕士学位论文基于Android的移动空间信息服务研究:怡凯申请学位级别:硕士专业:地图学与地理信息
系统指导教师:王方雄20090601
摘要移动空间信息服务(Mobile
GeospatialInformation
Service,M.GIS),是将Intemet
上的海量信息和地理信息系统的强大应用服务功能扩展到移动终端上,为移动用户基于
位置的信息交换、信息获取、信息共享和信息发布提供了便捷、
经济的技术途型¨。本
文简要介绍了Android平台的体系结构,对平台的地图模块做了详细的介绍,并对平台自带的SQLite数据库以及平台的可视化界面
设计组件进行了简要的介绍,在系统设计中提出了基于Android的M.GIS的体系结构并给出了技术路线,打破了传统的基于矩阵
存储的公交
查询算法设计思路,提出了集合概念下的移动公交查询算法,并设计了系统
用户界面与公交查询算法数据库,通过对平台定位接口提供的定位与定向API的使用,调用getSystemService()方法来实现定位功能,同时,利用地图接口提供的MapView这个类与MapActivity接口,调用getController()、ItemizedOverlay()、draw()等方法,对地图进行各种操作,同时在Map上绘制overlays以及其他信息,实现地图操作模块与图层绘制模块功能,通过SQLiteDatabase类的openOrCreateDatabase()、rawQuery()等方法,实现对数据库的打开与查询操作,同时,通过
Java语言编程,创建了公交查询算法用到的线路类、换乘
方案类等等,实现了公交信息查询模块,利用平台的intent机制,挖掘系统集成的驾车
导航、兴趣点
搜索、通讯录等功能模块,对系统请求的uri进
行解析,以访问空间数据库,获取用户需求信息。本文在Eclipse3.3平台下结合Android
1.5
SDK与ADT0.9.0插件搭建开发环境,
开发出一个基于Android的移动公交信息查询系统——BusFinder,该系统包含公交信息
查询、兴趣点搜索、驾车导航、定位模拟等功能,并在GoogleMap上采集了4条典型的公交路线共18个典型站点的空间与属性数据进行测试,系统运行良好。
关键词:Android;移动空间信息服务;公交信息查询;驾车导航;兴趣点
ABSTRACT
Mobilespatialinformationservice,istoprovide
a
convenientandeconomical
wayforthemobileuseroflocationbasedinformationexchangingandacquistion
andinformationsharinganddisseminationbyexpandingthe
on
mass
ofinformation
theinternetandthepowerfulapplicationserviceofgeographicinformation
to
system
themoblie
terminals.This
a
paper
introduces
theAndroidplatform
architectureandhasdone
as
detailedintroductionofthemapAPIoftheplatform,
well
as
to
thebuiIt—inSOLitedatabaseoftheplatform,briefintroductionmade.Putforward
aa
ofthevisualizationinterfacedesigncomponentsisarchitecturebased
aon
M—GIS
theAndroidplatformandgives
technologyroadmap,make
mobilequeryalgorithmofbusroutesinfromationbybreakingthetraditional
same
matrix—basedway,atthe
time,system
user
interfaceanddatabaseforthe
busroutesiSdesigned.Bytaking
advantageoftheAPlwhichprovidedbythe
locationinterface,callingthegetSystemServiceoflocationMapActivitygetController
come
0
methodtomakethefunction
true,as
well
as
usingtheclassofMapViewandtheAPIofthe
maps
which
provided
by
interface,calling
SOon
methods
of
0,Itemizedoverlay0,draw0
infromation
on
and
tooperatethemapandalso
drawingtheoverlaysmethodsof
thelayerabove
themap.Bycallingthe
SOon
openorCreateDatabase
0
and
rawQuery0
and
to
achieve
the
operationofopenin