热血传奇百分百猜拳:GPS地图,请问按这个数据结构文挡,如何制作地图

来源:百度文库 编辑:高校问答 时间:2024/05/05 22:08:57
是什么格式的dd,用什么软件能做出来地图,如何制作,能否详细介绍一下,我是菜鸟。MapInfo能用吗
基础地图数据结构
==========================
------------ 版本8 bytes -------------
------------ 地图说明(地图名称,坐标转换系数,坐标系,图层数量,最大边界,最小边界,X,Y的比值) ------
------------ 图层数据第1层(从最下面的图层开始) ---------
------------ 图层数据第2层 ---------
------------ 图层数据第n层 ---------
数据版本 8 字节
====================
不同版本的数据结构不同,所以用8个字节来表示数据结构的版本。
地图说明 长度 > 112 bytes
========================================
-------地图名称长度--------2 bytes-------地图名称-------------?-------坐标转换系数-------------8 bytes------- 坐标系 (1=Langitude/Latitude 2=NoEarth) -------------1byte
-------图层数量-------------8 bytes-------最大边界x1-------------8 bytes-------最大边界y1-------------8 bytes-------最大边界x2-------------8 bytes-------最大边界y2-------------8 bytes-------显示边界x1-------------8 bytes-------显示边界y1-------------8 bytes-------显示边界x2-------------8 bytes-------显示边界y2-------------8 bytes-------X比值-------------8 bytes-------y比值-------------8 bytes
-------Scale value ---------8 bytes
图层
========================================
------------- Name Length ------------------2 bytes------------- Name -------------------------?------------ 图层bounds x1 --------------8bytes------------ 图层bounds y1 --------------8bytes
------------ 图层bounds x2 --------------8bytes------------ 图层bounds y2 --------------8bytes------------ isShowLabel--------------1byte------------ isShow --------------1byte------------ isZoomLayer --------------1byte------------ isZoomLabel ----------1byte------------ MaxZoom --------------8bytes
------------ MinZoom --------------8bytes------------ MaxZoomL --------------8bytes------------ MinZoomL --------------8bytes
------------ OverridePriority --------1byte------------ FeatureTotalCount --------8bytes------------ LabelColor ---------------8bytes------------ Symbol Index -------------1byte
/*--------------------------------------------
下面是图层包的所有 Feature 对象,按照顺序排列
*----------------------------------------------*/------------ Feature Size --------------4bytes------------ geomtory type -------------1byte------------ minx ------------------------4bytes
------------ miny ------------------------4bytes----------- maxx ------------------------4bytes------------ maxy ------------------------4bytes------------ Name length ---------------2bytes
------------ Name ----------------------?------------ PK ------------------------4bytes------------ OBJID lenght --------------2bytes------------ OBJID ---------------------?---------- fill color ----------------4bytes------------ PointLists Count --------------4bytes------------ Every PointList Length(4 bytes) --------------?------------ Points Count --------------4bytes--???------- x and y(4 bytes) -------------------?

==========================
------------ 版本8 bytes -------------
------------ 地图说明(地图名称,坐标转换系数,坐标系,图层数量,最大边界,最小边界,X,Y的比值) ------
------------ 图层数据第1层(从最下面的图层开始) ---------
------------ 图层数据第2层 ---------
------------ 图层数据第n层 ---------
数据版本 8 字节
====================
不同版本的数据结构不同,所以用8个字节来表示数据结构的版本。
地图说明 长度 > 112 bytes
========================================
-------地图名称长度--------2 bytes-------地图名称-------------?-------坐标转换系数-------------8 bytes------- 坐标系 (1=Langitude/Latitude 2=NoEarth) -------------1byte
-------图层数量-------------8 bytes-------最大边界x1-------------8 bytes-------最大边界y1-------------8 bytes-------最大边界x2-------------8 bytes-------最大边界y2-------------8 bytes-------显示边界x1-------------8 bytes-------显示边界y1-------------8 bytes-------显示边界x2-------------8 bytes-------显示边界y2-------------8 bytes-------X比值-------------8 bytes-------y比值-------------8 bytes
-------Scale value ---------8 bytes
图层
========================================
------------- Name Length ------------------2 bytes------------- Name -------------------------?------------ 图层bounds x1 --------------8bytes------------ 图层bounds y1 --------------8bytes
------------ 图层bounds x2 --------------8bytes------------ 图层bounds y2 --------------8bytes------------ isShowLabel--------------1byte------------ isShow --------------1byte------------ isZoomLayer --------------1byte------------ isZoomLabel ----------1byte------------ MaxZoom --------------8bytes
------------ MinZoom --------------8bytes------------ MaxZoomL --------------8bytes------------ MinZoomL --------------8bytes
------------ OverridePriority --------1byte------------ FeatureTotalCount --------8bytes------------ LabelColor ---------------8bytes------------ Symbol Index -------------1byte
/*--------------------------------------------
下面是图层包的所有 Feature 对象,按照顺序排列
*----------------------------------------------*/------------ Feature Size --------------4bytes------------ geomtory type -------------1byte------------ minx ------------------------4bytes
------------ miny ------------------------4bytes----------- maxx ------------------------4bytes------------ maxy ------------------------4bytes------------ Name length ---------------2bytes
------------ Name ----------------------?------------ PK ------------------------4bytes------------ OBJID lenght --------------2bytes------------ OBJID ---------------------?---------- fill color ----------------4bytes------------ PointLists Count --------------4bytes------------ Every PointList Length(4 bytes) --------------?------------ Points Count --------------4bytes--???------- x and y(4 bytes) -------------------?