CN107609080B - Map data acquisition method and system, electronic equipment and storage medium - Google Patents

Map data acquisition method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN107609080B
CN107609080B CN201710792340.6A CN201710792340A CN107609080B CN 107609080 B CN107609080 B CN 107609080B CN 201710792340 A CN201710792340 A CN 201710792340A CN 107609080 B CN107609080 B CN 107609080B
Authority
CN
China
Prior art keywords
map data
map
electronic
region
current reference
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.)
Active
Application number
CN201710792340.6A
Other languages
Chinese (zh)
Other versions
CN107609080A (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.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service Co Ltd
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 Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN201710792340.6A priority Critical patent/CN107609080B/en
Publication of CN107609080A publication Critical patent/CN107609080A/en
Application granted granted Critical
Publication of CN107609080B publication Critical patent/CN107609080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a map data acquisition method and system, electronic equipment and storage medium, comprising the following steps: based on at least two electronic maps, each electronic map is correspondingly divided into a plurality of areas according to the same preset rule; combining map data of the region in various electronic maps based on each region to obtain combined map data; the merged map data contains map data of the region in each electronic map. The map data acquisition method and system, the electronic equipment and the storage medium are used for carrying out compatible integration on the map data of various electronic maps to acquire the map data with the most comprehensive information so as to meet various requirements of users.

Description

Map data acquisition method and system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a map data acquiring method and system, an electronic device, and a storage medium.
Background
An Electronic map (Electronic map), i.e., a digital map, is a map stored and referred to digitally using computer technology. The method for storing information in electronic map generally uses vector image storage, and the map scale can be enlarged, reduced or rotated without affecting the display effect.
In the prior art, a variety of different electronic maps have been developed, such as a hundred degree map, a dog search map, a google map, and the like. The map data adopted for different electronic maps are not identical, and the respective emphasis points are also different. Therefore, it is often necessary for users to know the characteristics of different electronic maps and select different electronic maps according to different application requirements. This brings about the following disadvantages:
(1) Downloading and installing various electronic maps at the same time when needed, so that certain resource waste is brought;
(2) According to different application requirements, different electronic maps are required to be manually selected, so that the operation is complicated, and the user experience is poor.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, an object of the present invention is to provide a map data acquiring method and system, an electronic device and a storage medium, which can compatibly integrate map data of various electronic maps to acquire the map data with the most comprehensive information, so as to meet various demands of users.
To achieve the above and other related objects, the present invention provides a map data acquisition method, comprising the steps of: based on at least two electronic maps, each electronic map is correspondingly divided into a plurality of areas according to the same preset rule; combining map data of the region in various electronic maps based on each region to obtain combined map data; the merged map data contains map data of the region in each electronic map.
In an embodiment of the invention, the at least two electronic maps are at least two electronic maps of a dog searching map, a hundred degree map, a high-german map, a here map and a four-dimensional map.
In an embodiment of the present invention, when each electronic map is correspondingly divided into a plurality of areas according to the same preset rule, the preset rule is any one of the following:
dividing according to administrative areas;
dividing according to the size of a preset area;
dividing according to specific roads.
In an embodiment of the present invention, merging map data of an area in various electronic maps based on each area to obtain merged map data includes the following steps:
based on each region, selecting map data of one electronic map in at least two electronic maps in the region as current reference map data, and selecting map data of any other electronic map in the region as reference map data;
searching reference map data one by one in the current reference map data based on each region; if the current reference map data is not contained in the current reference map data, adding the current reference map data to obtain updated reference map data;
based on each region, selecting the map data of any remaining electronic map in the region as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
In response to this, the control unit, the present invention also provides a map data acquisition system, the system comprises a dividing module and a merging module;
the dividing module is used for correspondingly dividing each electronic map into a plurality of areas according to the same preset rule based on at least two electronic maps;
the merging module is used for merging map data of the area in various electronic maps based on each area to obtain merged map data; the merged map data contains map data of the region in each electronic map.
In an embodiment of the invention, the at least two electronic maps are at least two electronic maps of a dog searching map, a hundred degree map, a high-german map, a here map and a four-dimensional map.
In an embodiment of the present invention, in the dividing module, the preset rule is any one of the following:
dividing according to administrative areas;
dividing according to the size of a preset area;
dividing according to specific roads.
In an embodiment of the present invention, when the merging module merges the map data of each region in the various electronic maps based on each region to obtain merged map data, the following operations are performed
Based on each area, selecting map data of one of at least two electronic maps in the area as current reference map data, selecting map data of any other electronic map in the area as reference map data;
searching reference map data one by one in the current reference map data based on each region; if the current reference map data is not contained in the current reference map data, adding the current reference map data to obtain updated reference map data;
based on each region, selecting the map data of any remaining electronic map in the region as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
Meanwhile, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the map data acquisition method of any one of the above.
In addition, the invention also provides electronic equipment, which comprises: a processor and a memory;
the memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory, so that the electronic device executes the map data acquisition method according to any one of the above.
As described above, the map data acquisition method and system, the electronic device and the storage medium of the present invention have the following beneficial effects:
(1) Compatible integration is carried out on map data of various electronic maps so as to obtain map data with the most comprehensive information;
(2) Multiple electronic maps are not required to be installed and downloaded at the same time, so that the system overhead is saved;
(3) The obtained map data can meet various requirements of users on the premise of not adding additional operations of the users;
(4) The user experience is greatly improved.
Drawings
FIG. 1 is a flow chart of a map data acquisition method of the present invention;
FIG. 2 is a schematic diagram showing the structure of a map data acquisition system according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to the present invention.
Description of element reference numerals
11. Dividing module
12. Merging module
21. Processor and method for controlling the same
22. Memory device
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention.
It should be noted that, the illustrations provided in the present embodiment merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complex.
According to the map data acquisition method and system, the electronic equipment and the storage medium, the map data of at least two electronic maps are compatible and integrated, and the map data with the most comprehensive information is acquired, so that various requirements of users are met through a single electronic map, and user experience is improved.
Preferably, the at least two electronic maps are at least two electronic maps of a dog searching map, a hundred-degree map, a high-altitude map, a here map and a four-dimensional map.
The above-described various electronic maps are briefly described below.
The dog searching map is the earliest map website facing public service in China, and data covers 3000 counties and tens of millions of poi information points of nearly 400 cities in the whole country, so that driving route navigation in the whole country and bus transfer service of 130 cities are provided. Besides basic functions of searching, public transportation, self-driving navigation and other map, the map navigation system has other special applications such as multifunctional shops, road books, satellite diagrams, mobile phone maps and the like, and comprehensively meets the needs of people for mastering travel life anytime and anywhere.
The hundred-degree map is a network map search service provided by hundred degrees, covers nearly 400 cities and thousands of counties in China, can inquire the geographic positions of streets, markets and parks, and can find all the nearest restaurants, schools, banks, parks and the like. Besides the common electronic map function, the three-dimensional map display device also has the function of viewing the three-dimensional map.
The Goldmap comprises three route planning modes of self-driving, public transportation and walking, comprises intelligent voice navigation, latest and most complete road condition information and the function of real-time avoidance of front congestion road sections, and can download an offline map to cover various functions such as catering, accommodation, preferential, performance, group purchase and the like.
The Here map is a map service derived from nokia, and can provide free turn-by-turn voice navigation, public transportation information, and rich road transportation information, etc.
The four-dimensional map is a new navigation map developed by Beijing navigation map manufacturer, the basic data of the navigation map is obtained by the national surveying and mapping bureau, the route is complete, and basically some small roads in the country are collected.
Referring to fig. 1, the map data acquisition method of the present invention includes the steps of:
step S1, based on at least two electronic maps, each electronic map is correspondingly divided into a plurality of areas according to the same preset rule.
Preferably, the at least two electronic maps are at least two electronic maps of a dog searching map, a hundred-degree map, a high-altitude map, a here map and a four-dimensional map.
Specifically, when the electronic map is divided into areas, the preset rule is any one of the following rules:
1) Dividing according to administrative regions
The administrative area may be province, city, district, street, or village.
2) Dividing according to the size of a preset area
Specifically, a region of a certain shape of a certain size is set as a preset region, and division is performed in units of this preset region. For example, the preset area is a square with a side length of 4 km, the preset area is a rectangle with a length of 2 km and a width of 1 km, and the like. It should be noted that the selected preset area should cover the whole map area after being repeatedly arranged.
3) Dividing according to specific roads
For example, in the open sea, an area formed by beijing, nanjing, chengzhi, and tibetan is taken as one area, and an area formed by beijing, nanjing, chengzhi, and Jiang Ning is taken as another area.
Step S2, combining map data of the area in various electronic maps based on each area to obtain combined map data; the merged map data contains map data of the region in each electronic map.
Specifically, the merging of map data is performed in units of each area. When combining the map data of the area in various electronic maps, taking the union of the map data of the area in various electronic maps, thereby obtaining combined map data containing the map data of the area in each electronic map.
Step S2 comprises the steps of:
21 Based on each area, selecting the map data of one electronic map in the area as the current reference map data, and selecting the map data of any other electronic map in the area as the reference map data.
22 Based on each area, searching the reference map data one by one in the current reference map data; if the current reference map data is not included in the current reference map data, the current reference map data is added to the current reference map data to obtain updated reference map data.
Wherein, if the current reference map data is included in the current reference map data, the current reference map data remains unchanged without performing any operation.
23 Based on each area, selecting the map data of any remaining electronic map in the area as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
Therefore, the map data acquisition method can compatibly integrate the map data of various electronic maps, so as to acquire the map data with the most comprehensive information; when using map data, a user does not need to install and download a plurality of electronic maps at the same time, so that the system overhead is saved; the user experience is greatly improved.
Referring to fig. 2, the map data acquisition system of the present invention includes a dividing module 11 and a combining module 12.
The dividing module 11 is configured to correspondingly divide each electronic map into a plurality of areas according to the same preset rule based on at least two electronic maps.
Preferably, the at least two electronic maps are at least two electronic maps of a dog searching map, a hundred-degree map, a high-altitude map, a here map and a four-dimensional map.
Specifically, when the electronic map is divided into areas, the preset rule is any one of the following rules:
1) Dividing according to administrative regions
Wherein, administrative areas may be provinces, cities, regions, streets, or villages.
2) According to the preset area size division
Specifically, a region of a certain shape of a certain size is set as a preset region, and division is performed in units of this preset region. For example, the preset area is a square with a side length of 4 km, the preset area is a rectangle with a length of 2 km and a width of 1 km, and the like. It should be noted that the selected preset area should cover the whole map area after being repeatedly arranged.
3) Dividing according to specific roads
For example, in the open sea, an area formed by beijing, nanjing, chengzhi, and tibetan is taken as one area, and an area formed by beijing, nanjing, chengzhi, and Jiang Ning is taken as another area.
The merging module 12 is connected with the dividing module 11, and is used for merging the map data of the area in various electronic maps based on each area to obtain merged map data; the merged map data contains map data of the region in each electronic map.
Specifically, the merging of map data is performed in units of each area. When combining the map data of the area in various electronic maps, taking the union of the map data of the area in various electronic maps, thereby obtaining combined map data containing the map data of the area in each electronic map.
The dividing module 12 performs the following steps:
21 Based on each area, selecting the map data of one electronic map in the area as the current reference map data, and selecting the map data of any other electronic map in the area as the reference map data.
22 Based on each area, searching the reference map data one by one in the current reference map data; if the current reference map data is not included in the current reference map data, the current reference map data is added to the current reference map data to obtain updated reference map data.
Wherein, if the current reference map data is included in the current reference map data, the current reference map data remains unchanged without performing any operation.
23 Based on each area, selecting the map data of any remaining electronic map in the area as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
Therefore, the map data acquisition system can compatibly integrate map data of various electronic maps, so as to acquire the map data with the most comprehensive information; when using map data, a user does not need to install and download a plurality of electronic maps at the same time, so that the system overhead is saved; the user experience is greatly improved.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described map data acquisition method. The specific principle of the map data acquisition method is as described above, and thus will not be described herein.
As shown in fig. 3, the present invention further provides an electronic device, which includes a processor 21 and a memory 22;
the memory 22 is used for storing a computer program.
The processor 21 is configured to execute a computer program stored in the memory 21 to cause the electronic device to execute the map data acquisition method described above.
In summary, the map data acquiring method and system, the electronic device and the storage medium of the present invention compatibly integrate map data of various electronic maps to acquire map data with the most comprehensive information; multiple electronic maps are not required to be installed and downloaded at the same time, so that the system overhead is saved; the obtained map data can meet various requirements of users on the premise of not adding additional operations of the users; the user experience is greatly improved. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (6)

1. A map data acquisition method characterized by:
the method comprises the following steps:
based on at least two electronic maps, each electronic map is correspondingly divided into a plurality of areas according to the same preset rule, wherein the preset rule comprises at least one of division according to administrative areas, division according to the size of the preset areas and division according to specific roads;
combining map data of the region in various electronic maps based on each region to obtain combined map data; the merged map data contains map data of the region in each electronic map;
combining map data of the region in various electronic maps based on each region to obtain combined map data comprises the following steps:
based on each region, selecting map data of one electronic map in at least two electronic maps in the region as current reference map data, and selecting map data of any other electronic map in the region as reference map data;
searching reference map data one by one in the current reference map data based on each region; if the current reference map data is not contained in the current reference map data, adding the current reference map data to obtain updated reference map data;
based on each region, selecting the map data of any remaining electronic map in the region as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
2. The map data acquisition method according to claim 1, characterized in that:
the at least two electronic maps are at least two electronic maps selected from a dog searching map, a hundred-degree map, a Goldmap, a here map and a four-dimensional map.
3. A map data acquisition system characterized in that:
the system comprises a dividing module and a merging module;
the dividing module is used for correspondingly dividing each electronic map into a plurality of areas according to the same preset rule based on at least two electronic maps, wherein the preset rule comprises at least one of dividing according to administrative areas, dividing according to the size of the preset areas and dividing according to specific roads;
the merging module is used for merging map data of the area in various electronic maps based on each area to obtain merged map data; the merged map data contains map data of the region in each electronic map;
the merging module performs the following operations when merging map data of an area in various electronic maps based on each area to obtain merged map data:
based on each region, selecting map data of one electronic map in at least two electronic maps in the region as current reference map data, and selecting map data of any other electronic map in the region as reference map data;
searching reference map data one by one in the current reference map data based on each region;
if the current reference map data is not contained in the current reference map data, adding the current reference map data to obtain updated reference map data;
based on each region, selecting the map data of any remaining electronic map in the region as reference map data, taking the updated reference map data as current reference map data, repeating the operation until the operation on all the remaining electronic maps is completed, and taking the finally obtained updated reference map data as combined map data.
4. A map data acquisition system according to claim 3, characterized in that:
the at least two electronic maps are at least two electronic maps selected from a dog searching map, a hundred-degree map, a Goldmap, a here map and a four-dimensional map.
5. A computer-readable storage medium having stored thereon a computer program, characterized by:
the program, when executed by a processor, implements the map data acquisition method of any one of claims 1 to 2.
6. An electronic device, characterized in that:
comprising the following steps:
a processor and a memory;
the memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory, to cause the electronic device to execute the map data acquisition method according to any one of claims 1 to 2.
CN201710792340.6A 2017-09-05 2017-09-05 Map data acquisition method and system, electronic equipment and storage medium Active CN107609080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710792340.6A CN107609080B (en) 2017-09-05 2017-09-05 Map data acquisition method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710792340.6A CN107609080B (en) 2017-09-05 2017-09-05 Map data acquisition method and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107609080A CN107609080A (en) 2018-01-19
CN107609080B true CN107609080B (en) 2024-02-02

Family

ID=61057277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710792340.6A Active CN107609080B (en) 2017-09-05 2017-09-05 Map data acquisition method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107609080B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319701B (en) * 2018-02-05 2020-09-15 北京纬思拓信息科技有限公司 Map data comprehensive processing method
CN108427412A (en) * 2018-03-21 2018-08-21 广州市申迪计算机系统有限公司 AGV dispatching methods, device, computer equipment and storage medium
CN109141446B (en) * 2018-07-04 2021-11-12 阿波罗智能技术(北京)有限公司 Method, apparatus, device and computer-readable storage medium for obtaining map
CN109215051B (en) * 2018-09-13 2020-10-02 浙江省国土勘测规划有限公司 Real estate surveying and mapping administrative region dividing method and system
CN110888963B (en) * 2019-12-05 2022-09-20 北京百度网讯科技有限公司 Data acquisition method and device, electronic equipment and storage medium
CN114185908B (en) * 2021-12-13 2024-02-06 北京百度网讯科技有限公司 Map data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556165A (en) * 2009-04-24 2009-10-14 方舟信息技术(苏州)有限公司 Method for updating embedded mobile electronic map data base in real time
CN104156357A (en) * 2013-05-13 2014-11-19 北京四维图新科技股份有限公司 Testing method and device for electronic map data
WO2015149544A1 (en) * 2014-04-02 2015-10-08 北京百度网讯科技有限公司 Electronic map implementation method, device, storage medium and equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4613075B2 (en) * 2005-02-16 2011-01-12 クラリオン株式会社 Map processing device, navigation device, and map display method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556165A (en) * 2009-04-24 2009-10-14 方舟信息技术(苏州)有限公司 Method for updating embedded mobile electronic map data base in real time
CN104156357A (en) * 2013-05-13 2014-11-19 北京四维图新科技股份有限公司 Testing method and device for electronic map data
WO2015149544A1 (en) * 2014-04-02 2015-10-08 北京百度网讯科技有限公司 Electronic map implementation method, device, storage medium and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘立辉 ; .电子地图应用系统数据分离框架设计.计算机技术与发展.2010,(08),全文. *
王锐君 ; .县域地理空间信息平台电子地图发布与共享的方法.遥感技术与应用.2011,(05),全文. *

Also Published As

Publication number Publication date
CN107609080A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107609080B (en) Map data acquisition method and system, electronic equipment and storage medium
US20210095988A1 (en) Apparatus and method for providing map data and system thereof
US7987045B2 (en) Method for stitching multiple converging paths
US9322656B2 (en) Variable density depthmap
CA2746910C (en) Method and system for displaying points of interest
US8738284B1 (en) Method, system, and computer program product for dynamically rendering transit maps
US8352480B2 (en) Methods, apparatuses and computer program products for converting a geographical database into a map tile database
RU2008148959A (en) CATALOGS OF PLACES AND METHOD OF DRAWING UP CATALOGS OF PLACES
US11507606B2 (en) Visual search system for finding trip destination
US11402232B2 (en) Off-viewport location indications for digital mapping
US20180276242A1 (en) System and Method For Efficient Geospatial Indexing
US9970769B2 (en) Flexible organization of navigation attributes to support hybrid navigation and data streaming
US20160196282A1 (en) Storage medium, map information processing apparatus, and data generation method
CN104713544A (en) Location information display method and equipment
CN107560633B (en) Path planning method and electronic equipment
CN107356259A (en) The navigation method and system, car-mounted terminal of a kind of changeable electronic map
Deidda et al. A tourist location based service (lbs) for the Cagliari city
Shiau et al. Establishment of the Tour-Site Navigation System-Using HsinChu City as an Example
Solihah Mahamud et al. Graphical user interface for tourism decision support system (TDSS).

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant