[go: up one dir, main page]

CN103927374B - A Method of Creating Web GIS Map Layer Based on SharpMap - Google Patents

A Method of Creating Web GIS Map Layer Based on SharpMap Download PDF

Info

Publication number
CN103927374B
CN103927374B CN201410169881.XA CN201410169881A CN103927374B CN 103927374 B CN103927374 B CN 103927374B CN 201410169881 A CN201410169881 A CN 201410169881A CN 103927374 B CN103927374 B CN 103927374B
Authority
CN
China
Prior art keywords
map
sharpmap
data
layer
web gis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410169881.XA
Other languages
Chinese (zh)
Other versions
CN103927374A (en
Inventor
徐静
杨洋
姚志垒
徐森
吴素芹
许秋艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Jun - Hou Technology Co Ltd
Original Assignee
Yangcheng Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yangcheng Institute of Technology filed Critical Yangcheng Institute of Technology
Priority to CN201410169881.XA priority Critical patent/CN103927374B/en
Publication of CN103927374A publication Critical patent/CN103927374A/en
Application granted granted Critical
Publication of CN103927374B publication Critical patent/CN103927374B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Instructional Devices (AREA)
  • Navigation (AREA)

Abstract

The present invention relates to a kind of system that local Mobile GI Service is provided based on GPS locating information, comprise wireless communication networks, GPS locating device and mobile terminal, and the Internet and server, by the analysis to a kind of Web GIS product-Sharpmap engine map of increasing income, exploitation SharpMap identity function, be applied in vehicle monitoring system, simultaneously for problems such as existing map loading velocity are slow, effective result scheme is proposed, and utilize the scheme of third party's engine map, the engine map that third party is provided and the collaborative work of this vehicle monitoring system, jointly complete vehicle location, describe the functions such as track.

Description

一种基于SharpMap的Web GIS地图图层创建方法A Method of Creating Web GIS Map Layer Based on SharpMap

技术领域technical field

本发明涉及一种地理信息系统,尤其是一种基于SharpMap的Web GIS地图。The invention relates to a geographic information system, in particular to a SharpMap-based Web GIS map.

背景技术Background technique

车辆监控系统融合了GPS技术、GIS技术和无线通信技术这三种当今世界上的前沿技术,参见附图1,可随时随地对车辆进行远程跟踪监控。其中,GPS技术、GIS技术和无线通信技术是车辆监控系统的核心技术,每一项技术在车辆监控系统中都有着不可替代的作用。GPS(GIobal Positioning System)技术作为车辆监控系统中的定位部分,主要负责移动车辆的位置等信息的采集,GPS定位技术是随着现代科学技术的发展而建立起来的一个高精度、全天候和全球性的导航定位、定时、测速系统,它利用位于距地球2万多公里高的24颗人造卫星不断向地球发射卫星定位信号,地球上的任何一个GPS接收机,只要接收到大于等于4颗定位卫星发射的定位信号,就可以解算出被测载体的运动状态,如经度、纬度、高度、时间、速度等。作为车辆监控系统的信息发布部分,地理信息系统(Geographic Information System简称GIS)是融合计算机图形和数据库于一体,对地理数据进行采集、处理、传输、存储、管理、查询检索、分析、表达和应用的计算机系统,主要包括计算机硬件、软件、地理数据和用户等几个部分,它把地理位置和相关属性信息真实准确、图文并茂地展现给用户,并借助其独有的空间分析能力和可视化表达能力,满足用户对地理信息的需求。将GIS条件下的电子地图应用于车辆监控系统,可为车辆监控提供一个可视化载体,各个互联网用户可以方便地通过电子地图查询相关的地理信息和车辆信息。而无线通信技术则在GPS和GIS之间建起了一座数据通信的桥梁,使得远程监控成为可能。通过准确的定位技术、通信技术以及GIS下的电子地图,车辆监控系统可实现对车辆的定位、跟踪、监控,有效地对车辆进行了管理,从而使车辆管理走上了科学化、正规化的道路。The vehicle monitoring system combines GPS technology, GIS technology and wireless communication technology, these three cutting-edge technologies in the world today, see Figure 1, and can remotely track and monitor vehicles anytime and anywhere. Among them, GPS technology, GIS technology and wireless communication technology are the core technologies of the vehicle monitoring system, and each technology plays an irreplaceable role in the vehicle monitoring system. As the positioning part of the vehicle monitoring system, GPS (GIobal Positioning System) technology is mainly responsible for the collection of information such as the position of the moving vehicle. GPS positioning technology is a high-precision, all-weather and global system established with the development of modern science and technology. It uses 24 artificial satellites located more than 20,000 kilometers above the earth to continuously transmit satellite positioning signals to the earth. Any GPS receiver on the earth, as long as it receives more than or equal to 4 positioning satellites The transmitted positioning signal can be used to calculate the motion state of the measured carrier, such as longitude, latitude, altitude, time, speed, etc. As the information release part of the vehicle monitoring system, the Geographic Information System (GIS for short) integrates computer graphics and databases to collect, process, transmit, store, manage, query, retrieve, analyze, express and apply geographic data. The computer system mainly includes computer hardware, software, geographic data and users, etc. It presents geographical location and related attribute information to users in a true and accurate manner with pictures and texts, and uses its unique spatial analysis ability and visual expression ability , to meet the needs of users for geographic information. Applying the electronic map under the condition of GIS to the vehicle monitoring system can provide a visual carrier for vehicle monitoring, and each Internet user can easily query the relevant geographic information and vehicle information through the electronic map. The wireless communication technology builds a data communication bridge between GPS and GIS, making remote monitoring possible. Through accurate positioning technology, communication technology and electronic map under GIS, the vehicle monitoring system can realize the positioning, tracking and monitoring of vehicles, and effectively manage the vehicles, thus making the vehicle management on a scientific and regular basis the way.

随着Web GIS的发展和成熟,在智能车辆监控导航领域的应用也越来越广泛。在车辆监控系统中,各个移动车辆的定位数据由通信网络传输到监控中心,监控中心通过Web GIS下的电子地图准确、直观地展现各个被控车辆的位置、行驶轨迹等信息,各网络用户通过访问监控中心网站就可以查询他们想要了解的信息,并对车辆实施相应的控制。W曲GIS作为车辆监控系统的主要信息展示媒介,结合地理特征将车辆的信息直观、准确地展现出来,更符合人们的习惯,是车辆监控系统中不可缺少的组成部分。另外,GIS在进入Internet后,其实现原理、数据组织管理、系统的应用模式、软件开发、用户界面等方面都发生了变化,GIS数据也改变了传统的发布模式,通过互联网来传播,那么就必然会受到网络传播速度的影响,这些问题的解决策略都在一定程度决定着系统能否成功,同时,Web GIS系统的开发速度和成本高低也是开发者所关注的问题。可见,面对激烈的竞争,选择一种功能全面、速度快、可靠性高、开发成本低的Web C趱平台来构建车辆监控系统至关重要。With the development and maturity of Web GIS, its application in the field of intelligent vehicle monitoring and navigation is becoming more and more extensive. In the vehicle monitoring system, the positioning data of each mobile vehicle is transmitted to the monitoring center through the communication network, and the monitoring center accurately and intuitively displays the position and driving track of each controlled vehicle through the electronic map under Web GIS. Visit the monitoring center website to inquire about the information they want to know, and implement corresponding control over the vehicle. Wqu GIS, as the main information display medium of the vehicle monitoring system, combines geographical features to display vehicle information intuitively and accurately, which is more in line with people's habits and is an indispensable part of the vehicle monitoring system. In addition, after GIS entered the Internet, changes have taken place in its implementation principles, data organization and management, system application mode, software development, user interface, etc. GIS data has also changed the traditional release mode and spread through the Internet. It will inevitably be affected by the speed of network transmission. The solutions to these problems determine the success of the system to a certain extent. At the same time, the development speed and cost of the Web GIS system are also issues that developers are concerned about. It can be seen that in the face of fierce competition, it is very important to choose a Web C platform with comprehensive functions, high speed, high reliability and low development cost to build a vehicle monitoring system.

发明内容Contents of the invention

本发明的一种基于SharpMap的Web GIS地图加载方法目的在于针对现有技术中GIS地图加载速度慢,运行成本高的问题,提供了一种基于开源代码SharpMap的Web GIS地图图层创建方法,其特征在于:1)创建地图;2)创建图层:设置图层的数据源:将其它地图格式转换为Shapefile格式的地图,地理信息通以表的形式来组织的,该地图图层可根据地图表的形式存储在空间三维数据库中,空间三维数据库存储三维坐标系统,地图图层可分地图集进行存储和显示,可存储为世界地图集、省级地图集、城市地图集,分别存储在空间数据库的不同文件夹下面;3)数据的引入:SharpMap中的数据引入机制是采取Provider模式来实现,每个图层包含了地图的一个不同方面,且每个图层都对应着一系列的数据库表,通过数据引入机制将表中包含的地图数据引入到对应的地图图层上,将用户关注的数据信息与图层代表的地图对象关联起来;4)坐标转换:地图实体的地理空间位置坐标与Shapefile格式文件中的栅格位置坐标进行转换,计算栅格分辨率,完成栅格位置坐标与二维数据单元地址的转换,在已设置好的栅格横向和纵向栅格单元数据的条件下,完成栅格所对应的数组下标与二维数组单元地址的双向转换,从而完成坐标转换;5)符号和文字标注过程:地图符号和文字要素的几何数据、属性数据对应存储到图表中,并同时存储在空间数据库的一个文件夹下,该文件夹不同于上述存储地图数据的文件夹,提供该符号地图集的访问接口,空间图层信息发生变化后,确定需要更新地图符和文字信息,触发显示模块根据需要更新的地图对象去更新相应的地图符号,将更新后的符号和文字标准过程更新到相应的地图图层中;6)SharpMap地图基本功能实现:改变Map类的Center属性和Zoom属性,可完成SharpMap地图基本功能,如地图的颜色设置、轮廓设置、初始比例、比例尺设置、缩放比例设置、指南针设置,Center属性表示地图显示范围的中心点,Zoom属性是指视野,表示当前显示地图范围的宽;7)地图图层、地图符号和文字的合成和加载过程,所述地图的加载过程可采用动态AJAX技术分块加载并显示地图,完成地图的创建、绘制和显示。A kind of Web GIS map loading method based on SharpMap of the present invention aims at the slow loading speed of GIS map in the prior art, the problem of high operation cost, provides a kind of Web GIS map layer creation method based on open source code SharpMap, its Features: 1) Create map; 2) Create layer: set the data source of the layer: convert other map formats into Shapefile format maps, geographic information is organized in the form of tables, and the map layer can be based on the map table The form is stored in the spatial 3D database. The spatial 3D database stores the 3D coordinate system. Map layers can be stored and displayed in atlases. They can be stored as world atlases, provincial atlases, and city atlases, which are stored in spatial databases 3) Data import: The data import mechanism in SharpMap is implemented by using Provider mode, each layer contains a different aspect of the map, and each layer corresponds to a series of database tables , introduce the map data contained in the table to the corresponding map layer through the data import mechanism, and associate the data information that the user cares about with the map object represented by the layer; 4) Coordinate transformation: the geographic space position coordinates of the map entity and The grid position coordinates in the Shapefile format file are converted, the grid resolution is calculated, and the conversion between the grid position coordinates and the two-dimensional data unit address is completed. Under the conditions of the set grid horizontal and vertical grid unit data, Complete the two-way conversion between the array subscript corresponding to the grid and the two-dimensional array unit address, thereby completing the coordinate conversion; 5) Symbol and text labeling process: the geometric data and attribute data of map symbols and text elements are correspondingly stored in the chart, and At the same time, it is stored in a folder of the spatial database. This folder is different from the above-mentioned folder for storing map data. It provides the access interface of the symbol atlas. After the spatial layer information changes, it is determined that the map symbols and text information need to be updated. Trigger the display module to update the corresponding map symbols according to the map objects that need to be updated, and update the updated symbols and text standard processes to the corresponding map layers; 6) Realization of the basic functions of the SharpMap map: change the Center property of the Map class and Zoom Attribute, which can complete the basic functions of SharpMap map, such as map color setting, outline setting, initial scale, scale setting, zoom setting, compass setting, Center attribute indicates the center point of the map display range, and Zoom attribute refers to the field of view, indicating the current display 7) The synthesis and loading process of map layers, map symbols and text, the loading process of the map can use dynamic AJAX technology to load and display the map in blocks, and complete the creation, drawing and display of the map.

本发明提出的基于Sharpmap的WebGIS地图加载,有效解决了地图的高成本、加载速度慢的问题。The Sharpmap-based WebGIS map loading proposed by the invention effectively solves the problems of high map cost and slow loading speed.

附图说明Description of drawings

图1车辆监控系统总体结构;The overall structure of the vehicle monitoring system in Fig. 1;

图2ASP.NET2.0的运行过程;Figure 2 The running process of ASP.NET2.0;

图3SharpMap中地图的生成与显示过程;Figure 3 The generation and display process of the map in SharpMap;

具体实施方式Detailed ways

首先,深入分析了Sharpmap的源代码结构。SharpMap地图引擎的源代码是开放的,从互联网上可以免费地下载到,目前稳定的运行版本为O.9。从下载到的SharpMap的源代码可以看到,SharpMap的核心源代码主要包括两个文件夹:SharpMap和SharpMap.UI。其中,SharpMap工程是主体,下面包括了14个命名空间,包括MAP、图层、数据转换、坐标、数据、样式、几何体、渲染等,它们包含了可以实现地图不同功能的函数,通过对相关函数的调用,可以对SharpMap进行功能扩展,增加很多需求的功能。SharpMap.UI是另一个和用户界面相关的文件夹,包含了Forms、Ajax等命名空间,它提供了和用户界面相关的功能的实现。这两个包含了地图源代码的文件夹通过编译被封装成了d11文件,存放在ASE.NET2.0的开发网站下,在SharpMap的实现过程中自动被调用。本文详细分析了这两个文件夹中各个命名空间下的函数的功能及其意义,只有在了解了这些函数的功能及其意义后,才能扩展Sharpmap的功能然后将其应用在车辆监控系统中。First, the source code structure of Sharpmap is deeply analyzed. The source code of the SharpMap map engine is open and can be downloaded for free from the Internet. The current stable running version is O.9. From the downloaded source code of SharpMap, we can see that the core source code of SharpMap mainly includes two folders: SharpMap and SharpMap.UI. Among them, the SharpMap project is the main body, which includes 14 namespaces, including MAP, layer, data conversion, coordinates, data, style, geometry, rendering, etc., which contain functions that can realize different functions of the map. The call can extend the function of SharpMap and add many required functions. SharpMap.UI is another folder related to user interface, which contains namespaces such as Forms and Ajax, and it provides the realization of functions related to user interface. These two folders containing the map source code are packaged into d11 files through compilation, stored under the development website of ASE.NET2.0, and are automatically called during the implementation of SharpMap. This article analyzes in detail the functions and meanings of the functions under each namespace in these two folders. Only after understanding the functions and meanings of these functions can the functions of Sharpmap be expanded and then applied to the vehicle monitoring system.

SharpMap的运行机制分析,SharpMap是一个基于.Net2.0的Map渲染类库,是采用ASP.NET,Sharpmap的实现结合了ASP.NET2.0的运行过程和地图的生成与显示过程,它们的协同工作共同完成了Sharpmap地图的生成与显示,ASENET是Web服务器(通常是IIS服务器)下的ISAPI扩展,它通常是存在于Web服务器上的。当IIS Web服务器接收到从浏览器发来的请求时,会检查所请求的文件的扩展名,根据文件扩展名将该请求交给合适的ASENET(即ISAPI扩展)来处理,从数据库或者其他资源获取必要的数据,然后ASENET将处理结果返回给IIS Web服务器,再返回到浏览器端,其运行过程如图2所示。Analysis of the operation mechanism of SharpMap, SharpMap is a Map rendering library based on .Net2.0, which adopts ASP.NET, and the implementation of Sharpmap combines the operation process of ASP.NET2.0 and the process of map generation and display, and their synergy The work has completed the generation and display of the Sharpmap map. ASENET is an ISAPI extension under the Web server (usually an IIS server), and it usually exists on the Web server. When the IIS web server receives a request from the browser, it will check the extension of the requested file, and hand the request to the appropriate ASENET (ISAPI extension) according to the file extension to process, and obtain it from the database or other resources. Necessary data, and then ASENET returns the processing result to the IIS Web server, and then returns to the browser side, and its operation process is shown in Figure 2.

Sharpmap中地图的生成与显示过程,Sharpmap中地图的生成与显示过程分为创建地图,创建图层并设置图层的数据源,图层样式设置,添加图层到地图,地图背景、比例、中心点设置和绘制并生成地图等几个步骤,创建地图,如图3所示:其过程包括:一种基于SharpMap的Web GIS地图图层创建方法,其特征在于:1)创建地图;2)创建图层:设置图层的数据源:将其它地图格式转换为Shapefile格式的地图,地理信息通以表的形式来组织的,该地图图层可根据地图表的形式存储在空间三维数据库中,空间三维数据库存储三维坐标系统,地图图层可分地图集进行存储和显示,可存储为世界地图集、省级地图集、城市地图集,分别存储在空间数据库的不同文件夹下面;3)数据的引入:SharpMap中的数据引入机制是采取Provider模式来实现,每个图层包含了地图的一个不同方面,且每个图层都对应着一系列的数据库表,通过数据引入机制将表中包含的地图数据引入到对应的地图图层上,将用户关注的数据信息与图层代表的地图对象关联起来;4)坐标转换:地图实体的地理空间位置坐标与Shapefile格式文件中的栅格位置坐标进行转换,计算栅格分辨率,完成栅格位置坐标与二维数据单元地址的转换,在已设置好的栅格横向和纵向栅格单元数据的条件下,完成栅格所对应的数组下标与二维数组单元地址的双向转换,从而完成坐标转换;5)符号和文字标注过程:地图符号和文字要素的几何数据、属性数据对应存储到图表中,并同时存储在空间数据库的一个文件夹下,该文件夹不同于上述存储地图数据的文件夹,提供该符号地图集的访问接口,空间图层信息发生变化后,确定需要更新地图符和文字信息,触发显示模块根据需要更新的地图对象去更新相应的地图符号,将更新后的符号和文字标准过程更新到相应的地图图层中;6)SharpMap地图基本功能实现:改变Map类的Center属性和Zoom属性,可完成SharpMap地图基本功能,如地图的颜色设置、轮廓设置、初始比例、比例尺设置、缩放比例设置、指南针设置,Center属性表示地图显示范围的中心点,Zoom属性是指视野,表示当前显示地图范围的宽;7)地图图层、地图符号和文字的合成和加载过程,所述地图的加载过程可采用动态AJAX技术分块加载并显示地图,完成地图的创建、绘制和显示。The generation and display process of the map in Sharpmap, the generation and display process of the map in Sharpmap is divided into creating a map, creating a layer and setting the data source of the layer, layer style setting, adding a layer to the map, map background, scale, center Several steps such as point setting and drawing and generating map, create map, as shown in Figure 3: its process comprises: a kind of Web GIS map layer creation method based on SharpMap, it is characterized in that: 1) create map; 2) create Layer: set the data source of the layer: convert other map formats into Shapefile format maps. Geographic information is organized in the form of tables. The map layers can be stored in the spatial 3D database in the form of map tables. Spatial 3D The database stores the three-dimensional coordinate system, and the map layers can be stored and displayed in atlases, which can be stored as world atlases, provincial atlases, and urban atlases, which are stored in different folders of the spatial database; 3) Data introduction : The data import mechanism in SharpMap is implemented by the Provider mode. Each layer contains a different aspect of the map, and each layer corresponds to a series of database tables. The map contained in the table is imported through the data import mechanism. The data is imported into the corresponding map layer, and the data information that the user cares about is associated with the map object represented by the layer; 4) Coordinate conversion: the geographic spatial position coordinates of the map entity are converted to the grid position coordinates in the Shapefile format file , calculate the grid resolution, complete the conversion between the grid position coordinates and the two-dimensional data unit address, and complete the array subscript and the two-dimensional Two-way conversion of the unit address of the dimensional array, thereby completing the coordinate conversion; 5) symbol and text labeling process: the geometric data and attribute data of map symbols and text elements are correspondingly stored in the chart, and stored in a folder of the spatial database at the same time, This folder is different from the above-mentioned folder for storing map data. It provides the access interface of the symbol atlas. After the spatial layer information changes, it is determined that the map symbol and text information need to be updated, and the display module is triggered to update according to the map object that needs to be updated. Corresponding map symbols, update the updated symbol and text standard process to the corresponding map layer; 6) Realization of the basic functions of the SharpMap map: change the Center property and Zoom property of the Map class to complete the basic functions of the SharpMap map, such as map Color setting, outline setting, initial scale, scale setting, scaling setting, compass setting, Center attribute indicates the center point of the map display range, and Zoom attribute refers to the field of view, indicating the width of the currently displayed map range; 7) map layer, The synthesis and loading process of map symbols and characters, the map loading process can use dynamic AJAX technology to load and display the map in blocks, and complete the creation, drawing and display of the map.

Sharpmap中应用了AJAX技术,AJAX技术是当今世界上一种无人不知无人不晓的时尚前沿技术,它改变了传统的浏览器与服务器的交互模式,做到了按需索取数据、局部刷新页面、异步发送请求,是一种构建网站的强大方法。Web2.0的诞生使Ajax得到了很好的应用,给网站的构建带来了一片全新的局面,目前,Canail、Amazon、A9.tom搜索都采用了Ajax技术,它将桌面应用程序所具有的动态性和快速性在Web应用程序中体现出来,实现了高效的Web开发。而将这项技术应用在数据量大、地图加载速度慢的GIS领域是再合适不过韵了,像Google Earth、Google Maps都因采用了Ajax技术而在GIS领域出尽了风头。在Sharp№ap中也引入了Ajax技术,使SharpMap强大起来。AJAX technology is applied in Sharpmap. AJAX technology is a fashionable and cutting-edge technology known to everyone in the world today. It has changed the traditional interaction mode between browsers and servers, and achieved on-demand requesting data and partially refreshing pages. , Sending requests asynchronously is a powerful way to build a website. The birth of Web2.0 has made Ajax well applied and brought a whole new situation to the construction of websites. At present, Canail, Amazon, and A9.tom search all use Ajax technology, which combines the advantages of desktop applications. Dynamics and rapidity are reflected in web applications, enabling efficient web development. It is very suitable to apply this technology in the GIS field with large amount of data and slow map loading speed. Like Google Earth and Google Maps, they have all made a splash in the GIS field because of the use of Ajax technology. Ajax technology is also introduced into Sharp№ap, which makes SharpMap powerful.

Sharpmap可实现地图的中文显示;存储数据的数据库可为二维数据库;可实现分地图集现实地图数据功能实现。Sharpmap can realize the Chinese display of the map; the database for storing data can be a two-dimensional database; it can realize the function of sub-atlas real map data.

Sharpmap地图可用来显示车辆的定位信息、实时跟踪车辆;可进行车辆轨迹跟踪、动态路径规划、车辆导航。The Sharpmap map can be used to display vehicle positioning information and track vehicles in real time; it can perform vehicle trajectory tracking, dynamic path planning, and vehicle navigation.

Sharpmap中的所述数据库可与地图显示在同一终端,也可在远程终端;可在地图上标准餐饮、酒店等旅游信息。The database in Sharpmap can be displayed on the same terminal as the map, or on a remote terminal; tourist information such as standard restaurants and hotels can be displayed on the map.

最后说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换,而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it is noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it still can The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced, and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (8)

1., based on a Web GIS map layer creation method of SharpMap, it is characterized in that:
1) map is created;
2) create layer: the data source that layer is set: the map other format map being converted to Shapefile form, geography information is organized usually in the form of a table, this map layer can the form of base area chart be stored in space three-dimensional database, space three-dimensional database purchase three-dimensional coordinate system, map layer can divide atlas to carry out storing and showing, atlas of the world, provincial atlas, urban atlas can be stored as, below the different files being stored in spatial database respectively
3) introducing of data: it is take Provider pattern to realize that the data in SharpMap introduce mechanism, each layer contains a different aspect of map, and each layer correspond to a series of database table, introducing mechanism by data is incorporated on corresponding map layer by the map datum comprised in table, is associated by the data message that user pays close attention to the map object that layer represents;
4) coordinate conversion: the grid positions coordinate in the geospatial location coordinate of map entities and Shapefile formatted file is changed, computation grid resolution, complete the conversion of grid positions coordinate and 2-D data element address, under the condition of the horizontal and vertical grid cell data of the grid set, complete the bi-directional conversion of array index corresponding to grid and two-dimensional array element address, thus complete coordinate conversion;
5) symbol and label character process: the geometric data of map symbol and word key element, attribute data corresponding stored are in chart, and under being stored in a file of spatial database simultaneously, this file is different from the file of above-mentioned store map data, the access interface of this symap collection is provided, after space map data mining platform changes, determine to need to upgrade map symbol and Word message, the map object that triggering display module upgrades as required goes to upgrade corresponding map symbol, is updated in corresponding map layer by the symbol after renewal and word;
6) SharpMap map basic function realizes: the Center attribute and the Zoom attribute that change Map class, SharpMap map basic function can be completed, described map basic function comprises the color setting of map, profile setting, initial proportion, engineer's scale is arranged, scaling is arranged, compass is arranged, the central point of Center attribute representation map denotation scope, Zoom attribute refers to the visual field, represents the wide of current display body of a map or chart;
7) synthesis of map layer, map symbol and word and loading procedure, the loading procedure of described map can adopt dynamic AJAX technology piecemeal load and show map, completes the establishment of map, drafting and display.
2. the Web GIS map layer creation method based on SharpMap according to claim 1, can realize the Chinese display of map.
3. the Web GIS map layer creation method based on SharpMap according to claim 1, described database can be 2-D data storehouse.
4. the Web GIS map layer creation method based on SharpMap according to claim 1, can realize a point atlas display map data functional realiey.
5. the Web GIS map layer creation method based on SharpMap according to claim 1, can be used to the locating information, the real-time follow-up vehicle that show vehicle.
6. the Web GIS map layer creation method based on SharpMap according to claim 1, can carry out Vehicle tracing, active path planning, automobile navigation.
7. the Web GIS map layer creation method based on SharpMap according to claim 3, described database with Map Integration in same terminal, also can be arranged on remote terminal.
8. the Web GIS map layer creation method based on SharpMap according to claim 1, can mark food and drink, hotel's travel information on map.
CN201410169881.XA 2014-04-24 2014-04-24 A Method of Creating Web GIS Map Layer Based on SharpMap Expired - Fee Related CN103927374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410169881.XA CN103927374B (en) 2014-04-24 2014-04-24 A Method of Creating Web GIS Map Layer Based on SharpMap

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410169881.XA CN103927374B (en) 2014-04-24 2014-04-24 A Method of Creating Web GIS Map Layer Based on SharpMap

Publications (2)

Publication Number Publication Date
CN103927374A CN103927374A (en) 2014-07-16
CN103927374B true CN103927374B (en) 2015-09-09

Family

ID=51145595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410169881.XA Expired - Fee Related CN103927374B (en) 2014-04-24 2014-04-24 A Method of Creating Web GIS Map Layer Based on SharpMap

Country Status (1)

Country Link
CN (1) CN103927374B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199910B (en) * 2014-08-28 2017-07-28 公安部交通管理科学研究所 The A-road net traffic safety law enforcement automatic distribution method in service station based on GIS
CN104881448B (en) * 2015-05-15 2019-03-01 福建星网锐捷网络有限公司 A kind of map path mask method and device
CN105447101B (en) * 2015-11-12 2020-01-07 北京锐安科技有限公司 A method and device for implementing a map engine
CN110019590B (en) * 2017-09-13 2021-10-12 北京嘀嘀无限科技发展有限公司 Method and device for displaying map in page, electronic equipment and storage medium
CN107610227A (en) * 2017-08-24 2018-01-19 深圳市易景空间智能科技有限公司 The preparation method of indoor three-dimensional map
CN108460071B (en) * 2017-12-22 2021-11-02 华北计算技术研究所(中国电子科技集团公司第十五研究所) A method of reporting terrain changes
CN108534830A (en) * 2018-04-13 2018-09-14 山东省农业信息中心 A kind of agricultural technology service station positioning display method and system based on GIS and space-time Internet of Things
CN108595613A (en) * 2018-04-20 2018-09-28 广州林邦信息科技有限公司 GIS local maps edit methods and device
CN109241371B (en) * 2018-08-28 2020-09-22 广州城市信息研究所有限公司 Map data storage method, map data loading method, map data storage device, map data loading device and computer equipment
CN109508359A (en) * 2018-11-01 2019-03-22 广东国鸿氢能科技有限公司 A kind of real-time map monitoring method and device
CN110975292A (en) * 2019-11-22 2020-04-10 福建天晴在线互动科技有限公司 Game map drawing method and system based on PSD (position sensitive Detector) file
CN113535867A (en) * 2021-05-31 2021-10-22 福建省基础地理信息中心 Vector tile generation method and system adaptive to multiple data sources
CN117687967B (en) * 2023-12-08 2024-06-07 北京联创高科信息技术有限公司 CAD map fusion labeling and displaying method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591709A (en) * 2011-12-20 2012-07-18 南京大学 Shapefile master-slave type parallel writing method based on OGR (open geospatial rule)
CN103035164A (en) * 2012-12-24 2013-04-10 广东威创视讯科技股份有限公司 Rendering method and system of geographic information system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591709A (en) * 2011-12-20 2012-07-18 南京大学 Shapefile master-slave type parallel writing method based on OGR (open geospatial rule)
CN103035164A (en) * 2012-12-24 2013-04-10 广东威创视讯科技股份有限公司 Rendering method and system of geographic information system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
广域监控系统中WebGIS子系统的设计与研究;王霞;《中国期刊网全文数据库》;20090601;第19-62页 *

Also Published As

Publication number Publication date
CN103927374A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103927374B (en) A Method of Creating Web GIS Map Layer Based on SharpMap
EP2560144B1 (en) Generating and serving tiles in a digital mapping system
Jovanović et al. The application of GIS and its components in tourism
US7599790B2 (en) Generating and serving tiles in a digital mapping system
CN101156158A (en) Generate and provide puzzles in digital mapping systems
Vert et al. Relevant aspects for the integration of linked data in mobile augmented reality applications for tourism
Aurelia et al. Mobile augmented reality and location based service
EP1738329B1 (en) Generating and serving tiles in a digital mapping system
Krek et al. Interoperable Location Based Services for 3D cities on the Web using user generated content from OpenStreetMap
CN102902698A (en) Content providing method for mobile arithmetic device
Batty et al. Data mash-ups and the future of mapping
KR100412023B1 (en) Method For Indication Of Advertisement by using position information In Electronic Map
Janelle et al. Territory, geographic information, and the map
Li et al. Bringing geospatial data closer to mobile users: A caching approach based on vector tiles for wireless multihop scenarios
Doumit Geospatial Technologies: A Comprehensive Guide for Geographers
McKee et al. Inside the opengis specification
Antonini et al. Foundations of Map-based Web Applications
Fachria Location-based service (LBS) application design as Jeneponto district tourist information media
Chrást et al. Original Scientific Paper Cartographic Analysis of the Construction of Fabricius' Map of Moravia (1569) https://doi. org/10.32909/kg. 21.38. 3
Kouzeleas et al. Architectural, urban digital design and spatial simulation tools in digital cities cartography: Contribution in spatial design and perception
Kumar et al. Geo-enabled e-Democracy Tools and Services for Smart Cities
Azyat MGISP: Integrated Framework Based on GPS for Spatial Data Acquisition, Management and Geovisualization
Painho et al. Spatial Data Infrastructure for the Zambezi Valley (Mozambique)
CN118857318A (en) Offline storage outdoor navigation method, device and computer equipment
Kilibarda et al. Application of Google Maps API service for creating web map of information retrieved from CORINE land cover databases

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180720

Address after: 224051 B9 intelligent terminal Industrial Park, Yancheng hi tech Development Zone, Jiangsu

Patentee after: Jiangsu Jun - Hou Technology Co., Ltd.

Address before: No. 9 hope Avenue, Yancheng City, Jiangsu Province, Jiangsu

Patentee before: Yangcheng Institute of Technology

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

Termination date: 20210424