CN109241371A - Map data storage method, loading method, device and computer equipment - Google Patents

Map data storage method, loading method, device and computer equipment Download PDF

Info

Publication number
CN109241371A
CN109241371A CN201810989936.XA CN201810989936A CN109241371A CN 109241371 A CN109241371 A CN 109241371A CN 201810989936 A CN201810989936 A CN 201810989936A CN 109241371 A CN109241371 A CN 109241371A
Authority
CN
China
Prior art keywords
layer
map
element type
symbol
factor data
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.)
Granted
Application number
CN201810989936.XA
Other languages
Chinese (zh)
Other versions
CN109241371B (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.)
GUANGZHOU CITY INFORMATION RESEARCH INSTITUTE Co Ltd
Original Assignee
GUANGZHOU CITY INFORMATION RESEARCH INSTITUTE 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 GUANGZHOU CITY INFORMATION RESEARCH INSTITUTE Co Ltd filed Critical GUANGZHOU CITY INFORMATION RESEARCH INSTITUTE Co Ltd
Priority to CN201810989936.XA priority Critical patent/CN109241371B/en
Publication of CN109241371A publication Critical patent/CN109241371A/en
Application granted granted Critical
Publication of CN109241371B publication Critical patent/CN109241371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of map data storage methods, which comprises obtains target map, the target map includes multiple figure layers, and each figure layer respectively includes multiple map symbols;The element type of each figure layer is obtained according to the map symbol included by each figure layer;The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type;The factor data after conversion is stored respectively to database corresponding with each element type.The present invention program can be improved loading velocity, and economize on resources.

Description

Map data storage method, loading method, device and computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of map data storage method, loading method, device And computer equipment.
Background technique
Map is the nature for showing earth surface with descriptions such as lines, symbol, color, text annotations according to a certain percentage Geography, administrative region, social condition figure.
Mainly there are two methods to store for ArcGIS (GIS platform) map symbol at present, and one is in local guarantor MXD file (MXD is a kind of document format, and in ARCGIS, the file using MXD as extension name is map document) is deposited, is passed through Map datum symbolism is realized in switch data source;Another method is that MXD file is saved in database binary field, Downloading saves as local MXD file before program starting, then Cartographic Symbolization is realized in switch data source.
The map symbol stored using existing two kinds of storage methods, needs first to open entire MXD during the loading process File, then to each figure layer switch data source of entire MXD file, loading velocity is slow.
Summary of the invention
The purpose of the present invention is to provide a kind of map data storage method, loading method, device and computer equipments, can To improve loading velocity, and economize on resources.
The purpose of the present invention is achieved through the following technical solutions:
A kind of map data storage method, which comprises
Target map is obtained, the target map includes multiple figure layers, and each figure layer respectively includes multiple map symbols;
The element type of each figure layer is obtained according to the map symbol included by each figure layer;
The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type;
The factor data after conversion is stored respectively to database corresponding with each element type.
The map symbol described according to included by each figure layer obtains each figure in one of the embodiments, Layer element type include:
Extract any map symbol in each figure layer, stored in query token database with extracted ground icon Number corresponding sign pattern;
The element type of the figure layer including the extracted map symbol is obtained according to the sign pattern.
In one of the embodiments, the map symbol by each figure layer be separately converted to it is acquired The corresponding factor data of element type includes:
The map symbol of each figure layer is subjected to serializing conversion respectively, is obtained corresponding with the element type Binary data, the binary data are the factor data.
In one of the embodiments, the factor data by after conversion store respectively to each factor kind The corresponding database of type includes:
Each factor data after conversion is added to the figure layer mark of corresponding figure layer respectively;
It will be stored respectively added with each factor data of figure layer mark to data corresponding with each element type Library.
A kind of loading method of the map datum stored using storage method described above, which comprises
Target figure layer mark is obtained, the factor kind corresponding with the target figure layer mark stored in identification information library is inquired Type;
Database corresponding with the element type inquired in multiple databases of storage is obtained, acquired number is inquired According to the factor data for being added with target figure layer mark in library;
The factor data inquired is converted to corresponding map symbol according to the element type inquired;
The map symbol after load conversion obtains target figure layer.
The factor data that will be inquired according to the element type inquired is converted in one of the embodiments, Corresponding map symbol includes:
Factor data in the database inquired is subjected to unserializing conversion, is obtained corresponding with the element type Multiple map symbols.
A kind of map datum storage device, described device include:
Map obtains module, and for obtaining target map, the target map includes multiple figure layers, each figure layer difference Including multiple map symbols;
Type acquisition module obtains wanting for each figure layer for the map symbol according to included by each figure layer Plain type;
First conversion module, for the map symbol of each figure layer to be separately converted to and acquired factor kind The corresponding factor data of type;
Memory module, for being stored the factor data after conversion respectively to number corresponding with each element type According to library.
The type acquisition module includes: in one of the embodiments,
Query unit, for extracting any map symbol in each figure layer, stored in query token database with The corresponding sign pattern of extracted map symbol;
First acquisition unit, for obtaining the figure layer including the extracted map symbol according to the sign pattern Element type.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, and feature exists In the processor realizes following steps when executing the computer program:
Target map is obtained, the target map includes multiple figure layers, and each figure layer respectively includes multiple map symbols;
The element type of each figure layer is obtained according to the map symbol included by each figure layer;
The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type;
The factor data after conversion is stored respectively to database corresponding with each element type.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Following steps are realized when being executed by processor:
Target map is obtained, the target map includes multiple figure layers, and each figure layer respectively includes multiple map symbols;
The element type of each figure layer is obtained according to the map symbol included by each figure layer;
The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type;
The factor data after conversion is stored respectively to database corresponding with each element type.
According to the scheme of aforementioned present invention, target map is obtained, the target map includes multiple figure layers, each figure Layer respectively includes multiple map symbols, and the element of each figure layer is obtained according to the map symbol included by each figure layer Type classifies multiple figure layers according to element type, only needs to load the figure layer of corresponding element type, energy in this way when load Enough improve loading velocity;The map symbol of each figure layer is separately converted to want corresponding with acquired element type Prime number evidence stores the factor data after conversion respectively to database corresponding with each element type, by ground icon Number according to element type classification storage, loading velocity can be improved, and when a small number of map symbols update, it is only necessary to update pair The database for the element type answered can save resource.
Detailed description of the invention
Fig. 1 is the applied environment figure of map data storage method in one embodiment;
Fig. 2 is the flow diagram of map data storage method in one embodiment;
Fig. 3 is the flow diagram of map data storage method in another embodiment;
Fig. 4 is the flow diagram of map datum loading method in one embodiment;
Fig. 5 is the structural block diagram of map datum storage device in one embodiment;
Fig. 6 is the structural block diagram of map datum storage device in another embodiment;
Fig. 7 is the structural block diagram of map datum loading device in one embodiment;
Fig. 8 is the internal structure chart of computer equipment in one embodiment;
Fig. 9 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, And the scope of protection of the present invention is not limited.
Fig. 1 is the schematic diagram of internal structure of server in one embodiment.The server includes being connected by system bus Processor, non-volatile memory medium, network interface, built-in storage, input unit.Wherein the non-volatile of the server is deposited Storage media has operating system, further includes a kind of map datum storage device, the map datum storage device is for realizing a kind ofly Diagram data storage method.The processor supports the operation of entire server for providing calculating and control ability.In server Built-in storage provides environment for the operation of the map datum storage device in non-volatile memory medium, and network interface is used for and it His server or terminal communicate, and are such as sent to other servers when server response clicking operation can produce control command Or terminal etc..Input unit is keyboard, mouse or touch screen etc..Specifically, server acquisition target map, the target Figure includes multiple figure layers, and each figure layer respectively includes multiple map symbols;Server institute according to included by each figure layer State the element type that map symbol obtains each figure layer;The map symbol of each figure layer is separately converted to by server Factor data corresponding with acquired element type;Server by the factor data after conversion store respectively to each institute State the corresponding database of element type.Wherein, server can use the clothes of the either multiple server compositions of independent server Device cluster be engaged in realize.It will be understood by those skilled in the art that map data storage method provided by the present application, can not only answer For that in application environment shown in FIG. 1, can also apply but be not limited in various computers or server.
In one embodiment, as shown in Fig. 2, providing a kind of map data storage method, it is applied to Fig. 1 in this way In server for be illustrated, comprising the following steps:
Step S101 obtains target map, and the target map includes multiple figure layers, and each figure layer respectively includes multiple Map symbol;
Specifically, configuring the symbol of each figure layer of target map, such as color, the shape of each figure layer symbol by ArcMap Then shape, size etc. provide interface by ArcGIS, obtain configured target map.Wherein, ArcMap is defined as: one A user's desktop component has powerful cartography, spatial analysis, and spatial data builds the functions such as library, and ArcMap is composition One of ArcGIS user's desktop component.
Step S102 obtains the element type of each figure layer according to the map symbol included by each figure layer;
Specifically, the element type of figure layer includes point figure layer, line chart layer and face figure layer.
The map symbol of each figure layer is separately converted to corresponding with acquired element type by step S103 Factor data;
Specifically, corresponding with figure layer is point symbol, corresponding with line chart layer is line symbol, corresponding with face figure layer to be Face symbol.
Step S104 stores the factor data after conversion respectively to data corresponding with each element type Library.
In above-mentioned map data storage method, by obtaining target map, the target map includes multiple figure layers, each institute It states figure layer and respectively includes multiple map symbols, each figure layer is obtained according to the map symbol included by each figure layer Element type classifies multiple figure layers according to element type, only needs to load the figure of corresponding element type in this way when load Layer, can be improved loading velocity;The map symbol of each figure layer is separately converted to and acquired element type pair The factor data answered stores the factor data after conversion respectively to database corresponding with each element type, will Map symbol can be improved loading velocity according to element type classification storage, and when a small number of map symbols update, it is only necessary to The database of corresponding element type is updated, resource can be saved.
In one of the embodiments, as shown in figure 3, the map symbol according to included by each figure layer obtains The element type for taking each figure layer includes:
Step S1021 extracts any map symbol in each figure layer, stored in query token database with mentioned The corresponding sign pattern of the map symbol taken;
Specifically, since all map symbols in each figure layer are a seed type, it is only necessary to an optional judgement.
Step S1022 obtains the factor kind of the figure layer including the extracted map symbol according to the sign pattern Type.
Specifically, it is only necessary to judge that any map symbol in figure layer is point symbol, line symbol or face symbol, so that it may Correspondence judges that figure layer is a figure layer, line chart layer or face figure layer.
In one of the embodiments, the map symbol by each figure layer be separately converted to it is acquired The corresponding factor data of element type specifically:
The map symbol of each figure layer is subjected to serializing conversion respectively, is obtained corresponding with the element type Binary data, the binary data are the factor data.
Specifically, point symbol serializing is converted to binary point data, line symbol sebolic addressing is melted into binary line number evidence, Face symbol sebolic addressing is melted into binary system face data.
In one of the embodiments, as shown in figure 3, the factor data by after conversion store respectively to it is each The corresponding database of the element type includes:
Step S1041 identifies the figure layer that each factor data after conversion adds corresponding figure layer respectively;
Step S1042, will added with the figure layer mark each factor data store respectively to each element type Corresponding database.
Specifically, being provided with after figure layer mark, load when, finds the database of corresponding element type first, then Inquiry is provided with the data of figure layer mark, can be improved loading velocity, saves resource.
It is provided with described in the embodiment of figure layer mark as shown in figure 4, providing a kind of utilization in one of the embodiments, Storage method storage map datum loading method, which comprises
Step S401, obtain target figure layer mark, inquire identification information library in store with the target figure layer mark pair The element type answered;
Specifically, being stored with multiple figure layers mark in identification information library and each figure layer identifies the element of corresponding figure layer Type, such as point figure layer, line chart layer either face figure layer.
Step S402 obtains database corresponding with the element type inquired in multiple databases of storage, inquiry Factor data added with target figure layer mark in acquired database;
Specifically, each database is respectively arranged with corresponding element type, can be inquired according to element type corresponding Then database is inquired the factor data added with target figure layer mark in database, is not needed to the data of All Layers all It is loaded, loading velocity can be effectively improved.
The factor data inquired is converted to corresponding ground icon according to the element type inquired by step S403 Number;
Step S404, the map symbol after load conversion obtain target figure layer.
The factor data that will be inquired according to the element type inquired is converted in one of the embodiments, Corresponding map symbol specifically:
Factor data in the database inquired is subjected to unserializing conversion, is obtained corresponding with the element type Multiple map symbols.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one of the embodiments, as shown in figure 5, providing a kind of map datum storage device, described device includes:
Map obtains module 501, and for obtaining target map, the target map includes multiple figure layers, each figure layer Respectively include multiple map symbols;
Type acquisition module 502 obtains each figure layer for the map symbol according to included by each figure layer Element type;
First conversion module 503, for the map symbol of each figure layer to be separately converted to want with acquired The corresponding factor data of plain type;
Memory module 504, for being stored the factor data after conversion respectively to corresponding with each element type Database.
In one of the embodiments, as shown in fig. 6, the type acquisition module 502 includes:
Query unit 5021 stores in query token database for extracting any map symbol in each figure layer Sign pattern corresponding with extracted map symbol;
First acquisition unit 5022, for obtaining the figure including the extracted map symbol according to the sign pattern The element type of layer.
The first conversion module 503 is specifically used for the map symbol of each figure layer in one of the embodiments, Serializing conversion is carried out respectively, obtains binary data corresponding with the element type, and the binary data is described wants Prime number evidence.
In one of the embodiments, as shown in fig. 6, the memory module 504 includes:
Adding unit 5041 is identified, for each factor data after conversion to be added to the figure layer of corresponding figure layer respectively Mark;
Data storage cell 5042, each factor data for figure layer mark will to be added with store respectively to each institute State the corresponding database of element type.
In one of the embodiments, as shown in fig. 7, providing a kind of loading device of map datum, the load dress Set load is the map datum for being provided with the storage of storage device described in the embodiment of figure layer mark, the loading device packet It includes:
First enquiry module 701 is inquired storing with the target in identification information library for obtaining target figure layer mark Figure layer identifies corresponding element type;
Second enquiry module 702, it is corresponding with the element type inquired in the multiple databases stored for obtaining Database inquires the factor data added with target figure layer mark in acquired database;
Second conversion module 703, for being converted to the factor data inquired pair according to the element type inquired The map symbol answered;
Figure layer obtains module 704, obtains target figure layer for loading the map symbol after converting.
Second conversion module 703 is specifically used in the database that will be inquired in one of the embodiments, Factor data carries out unserializing conversion, obtains multiple map symbols corresponding with the element type.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 8.The computer equipment include the processor connected by device bus, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating device, computer program and data Library.The built-in storage provides environment for the operation of operating device and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing the data that map datum storage is related to.The network interface of the computer equipment is used for and outside Terminal by network connection communication.To realize a kind of storage of map datum or map when the computer program is executed by processor Data load method.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 9.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of storage of map datum or map datum loading method.The display screen of the computer equipment can be liquid crystal display or Person's electric ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to count Key, trace ball or the Trackpad being arranged on machine equipment shell are calculated, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 8-9, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of acquisition target map when executing computer program, and the target map includes Multiple figure layers, each figure layer respectively include multiple map symbols;It is obtained according to the map symbol included by each figure layer Take the element type of each figure layer;The map symbol of each figure layer is separately converted to and acquired element type Corresponding factor data;The factor data after conversion is stored respectively to database corresponding with each element type.
Processor executes the institute according to included by each figure layer when computer program in one of the embodiments, Stating map symbol and obtaining the element type of each figure layer includes: any map symbol extracted in each figure layer, inquiry character The sign pattern corresponding with extracted map symbol stored in number library;It includes described for being obtained according to the sign pattern The element type of the figure layer of extracted map symbol.
Processor executes the described ground icon by each figure layer when computer program in one of the embodiments, Number being separately converted to factor data corresponding with acquired element type includes: by the map symbol of each figure layer point Serializing conversion is not carried out, obtains binary data corresponding with the element type, and the binary data is the element Data.
Processor executes the factor data by after conversion point when computer program in one of the embodiments, Do not store to database corresponding with each element type include: each factor data after conversion is added respectively it is corresponding Figure layer figure layer mark;Will added with the figure layer mark each factor data store respectively to each element type pair The database answered.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, which performs the steps of when executing computer program obtains target figure layer mark, inquires identification information The element type corresponding with the target figure layer mark stored in library;Obtain in the multiple databases of storage with inquired The corresponding database of element type inquires the factor data added with target figure layer mark in acquired database;Root The factor data inquired is converted to corresponding map symbol according to the element type inquired;Load conversion after describedly Schematic symbol obtains target figure layer.
In one of the embodiments, processor execute when computer program it is described according to the element type inquired by institute It includes: that the factor data in the database that will be inquired carries out instead that the factor data inquired, which is converted to corresponding map symbol, Serializing conversion, obtains multiple map symbols corresponding with the element type.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of acquisition target map when being executed by processor, the target map includes multiple figure layers, each described Figure layer respectively includes multiple map symbols;Wanting for each figure layer is obtained according to the map symbol included by each figure layer Plain type;The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type; The factor data after conversion is stored respectively to database corresponding with each element type.
It is described according to included by each figure layer when computer program is executed by processor in one of the embodiments, The element type that the map symbol obtains each figure layer includes: any map symbol extracted in each figure layer, inquiry The sign pattern corresponding with extracted map symbol stored in symbol database;Obtained according to the sign pattern includes institute State the element type of the figure layer of extracted map symbol.
The map by each figure layer when computer program is executed by processor in one of the embodiments, It includes: by the map symbol of each figure layer that symbol, which is separately converted to factor data corresponding with acquired element type, Serializing conversion is carried out respectively, obtains binary data corresponding with the element type, and the binary data is described wants Prime number evidence.
The factor data by after conversion when computer program is executed by processor in one of the embodiments, Being stored respectively to database corresponding with each element type includes: to add each factor data after conversion pair respectively The figure layer for the figure layer answered identifies;Will added with the figure layer mark each factor data store respectively to each element type Corresponding database.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performed the steps of when being executed by processor obtain target figure layer mark, inquire identification information library in store with institute It states target figure layer and identifies corresponding element type;It obtains corresponding with the element type inquired in multiple databases of storage Database inquires the factor data added with target figure layer mark in acquired database;According to the element inquired The factor data inquired is converted to corresponding map symbol by type;The map symbol after load conversion obtains target Figure layer.
It is described when computer program is executed by processor in one of the embodiments, to be incited somebody to action according to the element type inquired It includes: that the factor data in the database that will be inquired carries out that the factor data inquired, which is converted to corresponding map symbol, Unserializing conversion, obtains multiple map symbols corresponding with the element type.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of map data storage method, which is characterized in that the described method includes:
Target map is obtained, the target map includes multiple figure layers, and each figure layer respectively includes multiple map symbols;
The element type of each figure layer is obtained according to the map symbol included by each figure layer;
The map symbol of each figure layer is separately converted to factor data corresponding with acquired element type;
The factor data after conversion is stored respectively to database corresponding with each element type.
2. map data storage method according to claim 1, which is characterized in that described according to included by each figure layer The map symbol obtain the element type of each figure layer and include:
Extract any map symbol in each figure layer, it is being stored in query token database with extracted map symbol pair The sign pattern answered;
The element type of the figure layer including the extracted map symbol is obtained according to the sign pattern.
3. map data storage method according to claim 1, which is characterized in that it is described by each figure layer describedly Schematic symbol is separately converted to factor data corresponding with acquired element type
The map symbol of each figure layer is subjected to serializing conversion respectively, obtain corresponding with the element type two into Data processed, the binary data are the factor data.
4. map data storage method according to claim 1, which is characterized in that described to want prime number described in after conversion Include: according to being stored respectively to database corresponding with each element type
Each factor data after conversion is added to the figure layer mark of corresponding figure layer respectively;
It will be stored respectively added with each factor data of figure layer mark to database corresponding with each element type.
5. a kind of loading method of the map datum of the storage of storage method described in exploitation right 4, which is characterized in that the method packet It includes:
Target figure layer mark is obtained, the element type corresponding with the target figure layer mark stored in identification information library is inquired;
Database corresponding with the element type inquired in multiple databases of storage is obtained, acquired database is inquired In added with the target figure layer mark factor data;
The factor data inquired is converted to corresponding map symbol according to the element type inquired;
The map symbol after load conversion obtains target figure layer.
6. map datum loading method according to claim 5, which is characterized in that described according to the element type inquired The factor data inquired, which is converted to corresponding map symbol, includes:
Factor data in the database inquired is subjected to unserializing conversion, is obtained corresponding with the element type more A map symbol.
7. a kind of map datum storage device, which is characterized in that described device includes:
Map obtains module, and for obtaining target map, the target map includes multiple figure layers, and each figure layer respectively includes Multiple map symbols;
Type acquisition module obtains the factor kind of each figure layer for the map symbol according to included by each figure layer Type;
First conversion module, for the map symbol of each figure layer to be separately converted to and acquired element type pair The factor data answered;
Memory module, for being stored the factor data after conversion respectively to data corresponding with each element type Library.
8. map datum storage device according to claim 6, which is characterized in that the type acquisition module includes:
Query unit, for extracting any map symbol in each figure layer, stored in query token database with mentioned The corresponding sign pattern of the map symbol taken;
First acquisition unit, for obtaining the element of the figure layer including the extracted map symbol according to the sign pattern Type.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
CN201810989936.XA 2018-08-28 2018-08-28 Map data storage method, map data loading method, map data storage device, map data loading device and computer equipment Active CN109241371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810989936.XA CN109241371B (en) 2018-08-28 2018-08-28 Map data storage method, map data loading method, map data storage device, map data loading device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810989936.XA CN109241371B (en) 2018-08-28 2018-08-28 Map data storage method, map data loading method, map data storage device, map data loading device and computer equipment

Publications (2)

Publication Number Publication Date
CN109241371A true CN109241371A (en) 2019-01-18
CN109241371B CN109241371B (en) 2020-09-22

Family

ID=65068843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810989936.XA Active CN109241371B (en) 2018-08-28 2018-08-28 Map data storage method, map data loading method, map data storage device, map data loading device and computer equipment

Country Status (1)

Country Link
CN (1) CN109241371B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443900A (en) * 2020-04-20 2020-07-24 广州城市信息研究所有限公司 City design management and control rule base construction method, rule base and rule base calling method
CN114138151A (en) * 2021-11-26 2022-03-04 广东省城乡规划设计研究院有限责任公司 Symbolized color matching method and device for spatial layer data and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070219938A1 (en) * 2006-02-17 2007-09-20 Intergraph Software Technologies Co. Attribute-Based Symbology Through Functional Styles
CN102509511A (en) * 2011-11-25 2012-06-20 武汉大学 Rapid map making system based on GIS (Geographic Information System) data
CN103927374A (en) * 2014-04-24 2014-07-16 盐城工学院 Web GIS map layer establishing method based on SharpMap

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070219938A1 (en) * 2006-02-17 2007-09-20 Intergraph Software Technologies Co. Attribute-Based Symbology Through Functional Styles
CN102509511A (en) * 2011-11-25 2012-06-20 武汉大学 Rapid map making system based on GIS (Geographic Information System) data
CN103927374A (en) * 2014-04-24 2014-07-16 盐城工学院 Web GIS map layer establishing method based on SharpMap

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443900A (en) * 2020-04-20 2020-07-24 广州城市信息研究所有限公司 City design management and control rule base construction method, rule base and rule base calling method
CN111443900B (en) * 2020-04-20 2021-05-25 广州城市信息研究所有限公司 City design management and control rule base construction method, rule base and rule base calling method
CN114138151A (en) * 2021-11-26 2022-03-04 广东省城乡规划设计研究院有限责任公司 Symbolized color matching method and device for spatial layer data and computer equipment

Also Published As

Publication number Publication date
CN109241371B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN109343851A (en) Page generation method, device, computer equipment and storage medium
CN108563958A (en) Role-security update method, device, computer equipment and storage medium
CN110069264A (en) Construct method, apparatus, computer equipment and the storage medium of resource packet
CN112423281B (en) Wireless module upgrading method, device, computer equipment and storage medium
CN111008290A (en) Power grid geographical edge layout display method and device, computer equipment and storage medium
CN109828809B (en) Information visualization method and device for billboard, computer equipment and storage medium
CN111562870B (en) Map point location icon expansion processing method and device
CN113010224A (en) Front-end micro-service method, device, computer equipment and storage medium
CN108418797A (en) Web access method, device, computer equipment and storage medium
CN109144487A (en) Into part business development method, apparatus, computer equipment and storage medium
CN114611481A (en) Template configuration method and device, computer equipment and storage medium
CN109241371A (en) Map data storage method, loading method, device and computer equipment
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
CN116048609A (en) Configuration file updating method, device, computer equipment and storage medium
CN114625459A (en) Method, system, device and medium for switching page theme style
CN111522540A (en) PLC modular programming method and device, computer equipment and storage medium
CN111857662A (en) Programming method for describing object specific constitution based on MAP and interface
CN117579480B (en) Cloud distributed resource data model expansion and labeling method and system
CN109840156A (en) A kind of data cache method and its equipment, storage medium, terminal
CN114218903A (en) Table data processing method and device, computer equipment and storage medium
CN111062560B (en) Resource allocation method, system, device, equipment and storage medium
CN116228191A (en) Operation ticket generation method, device, computer equipment and storage medium

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Map data storage method, loading method, device and computer equipment

Effective date of registration: 20210305

Granted publication date: 20200922

Pledgee: Bank of China Limited by Share Ltd. Guangzhou Tianhe branch

Pledgor: GUANGZHOU CHINA DCI Co.,Ltd.

Registration number: Y2021440000061