CN106294484A - A kind of method and device updating electronic map data - Google Patents

A kind of method and device updating electronic map data Download PDF

Info

Publication number
CN106294484A
CN106294484A CN201510304513.6A CN201510304513A CN106294484A CN 106294484 A CN106294484 A CN 106294484A CN 201510304513 A CN201510304513 A CN 201510304513A CN 106294484 A CN106294484 A CN 106294484A
Authority
CN
China
Prior art keywords
data
area block
layer
block
area
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
CN201510304513.6A
Other languages
Chinese (zh)
Other versions
CN106294484B (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.)
China Mobile Group Henan Co Ltd
Original Assignee
China Mobile Group Henan 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 China Mobile Group Henan Co Ltd filed Critical China Mobile Group Henan Co Ltd
Priority to CN201510304513.6A priority Critical patent/CN106294484B/en
Publication of CN106294484A publication Critical patent/CN106294484A/en
Application granted granted Critical
Publication of CN106294484B publication Critical patent/CN106294484B/en
Active 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/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • 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)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Instructional Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention provides a kind of method and device updating electronic map data, and the method includes: obtain basic business data;Described basic business data being converted into spatial data, and determines the data type of described spatial data, described data type is point data type, line data type and face data type;Being added to by described spatial data in the figure layer corresponding with described data type, described figure layer is point diagram layer, line chart layer and face figure layer, and described figure layer is loaded previously in electronic chart.Spatial data corresponding for basic business data, by loading point diagram layer, line chart layer and face figure layer in advance in electronic chart figure layer, is added in the prestrain figure layer of respective type, improves the real-time updating electronic map data by the present invention in real time.

Description

A kind of method and device updating electronic map data
Technical field
The present invention relates to electronic map technique field, particularly relate to a kind of method updating electronic map data and Device.
Background technology
At present, in order to easy to use, generally by the basic business data of mobile communications industry on electronic chart Display, wherein, basic business data include: community that base station is covered or community's name, geographical position, The mark of China Mobile Service Hall and geographical position, the longitude and latitude of present position, base station, China Mobile Service Hall are corresponding Longitude and latitude etc..
Basic business data are updated by prior art mode of display in electronic chart as follows:
First, basic business data are stored in a tabular form, as shown in Table 1:
Table one
Communications industry data ID Data longitude Data latitude The mark of China Mobile Service Hall ……
Secondly, storage has the form of basic business data pack and is converted into SHP figure layer formatted file; Add geocoding, make basic business data have spatial data coordinate system attribute, become spatial data.
Finally, electronic chart engine generates different figure layers according to the type of spatial data, and closes electronically Figure service, restarts electronic chart clothes after the figure layer of generation and current electronic map figure layer being overlapped Basic business data can be loaded in electronic chart, it is achieved the renewal of electronic map data by business.
Wherein, the data type of spatial data is corresponding with the data type of basic business data.Basic business The type of data has three kinds, is respectively as follows: point data type, line data type and face data type, corresponding The data type of spatial data also have three kinds, be respectively as follows: point data type, line data type and face number According to type, the figure layer that spatial data generates also includes three kinds, is respectively as follows: point diagram layer, line chart layer dough-making powder figure layer.
The mode of existing renewal electronic map data there will be situations below when reality is applied: if currently The data type of basic business data is only point data type, then electronic chart engine will generate point diagram Layer, now, closes Map Service, and is folded with current electronic map figure layer by the point diagram layer of generation Map Service is restarted after adding.After with the addition of the basic business data of above-mentioned point data type, if Need to update in electronic chart by the basic business data of line data type or face data type, then electronics Engine map will generate line chart layer or face figure layer, now, need to close Map Service again, and will The line chart layer generated or face figure layer restart electronic chart after being overlapped with electronic chart figure layer again Service, thus cause the poor real updating electronic map data.
Summary of the invention
The present invention provides a kind of method and device updating electronic map data, in order to solve in prior art more The problem of the poor real of new electronic map data.
A kind of method updating electronic map data, including:
Obtain basic business data;
Described basic business data are converted into spatial data, and determine the data type of described spatial data, Described data type is point data type, line data type and face data type;
Being added to by described spatial data in the figure layer corresponding with described data type, described figure layer is point diagram Layer, line chart layer and face figure layer, and described figure layer are loaded previously in electronic chart.
In described method, described described basic business data are converted into spatial data, specifically include:
Determine the latitude and longitude information of described basic business data;
By default object model, described latitude and longitude information is carried out data vector process, obtain described basis industry The spatial data of business data.
Basic business data are converted into spatial data by achieving of embodiment of the present invention automatization.
In described method, the data type of described basic business data is face data type;
The described latitude and longitude information determining described basic business data, specifically includes:
Draw the first area block of described basic business data;
Determine each second area block of every level in described electronic chart;
Determine the second area block with described first area Block-matching in each second area block;
The latitude and longitude information of the second area block of coupling is defined as the longitude and latitude letter of described basic business data Breath.
The embodiment of the present invention, for the basic business data of the face data type not including latitude and longitude information, energy Enough determine the latitude and longitude information of these basic business data.
In described method, the described second area determined in each second area block with described first area Block-matching Block, specifically includes:
Determine the first minimum enclosed rectangle that described first area block is corresponding, and each second area block is corresponding Each second minimum enclosed rectangle;
With preseting length with set the small grid of width as template, respectively to described first minimum enclosed rectangle with And each second minimum enclosed rectangle carries out small grid division;
Determine the small grid quantity shared by the block of described first area, and determine the little net shared by each second area block Lattice quantity;
Each second area block determines and the quantity Matching of the small grid shared by the block of described first area, and with The second area block of the form fit of described first area block.
This preferred embodiment, by each region unit is carried out small grid division, determines and first area Block-matching Second area block.
In described method, described determine in each second area block and the small grid shared by the block of described first area Quantity Matching, and the second area block of the form fit with described first area block, specifically include:
In each second area block, determine that the difference with the small grid quantity shared by the block of described first area is setting Determine in threshold range, and the second area block identical with the shape of described first area block.
The embodiment of the present invention, owing to the second area block of coupling is identical with first area block, so that determining The latitude and longitude information of first area block more accurate.
The present invention also provides for a kind of device updating electronic map data, it is characterised in that including:
Acquiring unit, is used for obtaining basic business data;
Converting unit, for described basic business data are converted into spatial data, and determines described space number According to data type, described data type is point data type, line data type, face data type;
Updating block, for described spatial data is added in the figure layer corresponding with described data type, institute Stating figure layer is point diagram layer, line chart layer and face figure layer, and described figure layer is loaded previously in electronic chart.
In described device, described converting unit specifically for:
Determine the latitude and longitude information that described basic business data are corresponding;
By default object model, described latitude and longitude information is carried out data vector process, obtain described basis industry The spatial data that business data are corresponding.
In described device, described converting unit when determining described basic business data longitude and latitude specifically for: When the data type of described basic business data is face data type, draw described basic business face data first Class region unit;
Determine that in described electronic chart, each second area of every level is fast;
Determine the second area block with described first area Block-matching in each second area block;
The latitude and longitude information of the second area block of coupling is defined as the longitude and latitude letter of described basic business data Breath.
In described device, described converting unit in determining each second area block with described first area Block-matching Second area block time, specifically for:
Determine the minimum enclosed rectangle of described first area block, and each second area block corresponding each second Little boundary rectangle;
With preseting length with set the small grid of width as template, respectively to described first minimum enclosed rectangle with And each second minimum enclosed rectangle carries out small grid division;
Determine the small grid quantity shared by the block of described first area, and determine the little net shared by each second area block Lattice quantity;
Each second area block determines and the quantity Matching of the small grid shared by the block of described first area, and with The second area block of the form fit of described first area block.
In described device, described converting unit specifically for:
In each second area block, determine that the difference with the small grid quantity shared by the block of described first area is setting Determine in threshold range, and the second area block identical with the shape of described first area block.
Utilize the present invention to provide the method and device updating electronic chart, have the advantages that due in advance First in electronic chart, it is loaded with point diagram layer, line chart layer three kinds of figure layer of dough-making powder figure layer, therefore it may only be necessary to restart Primary electron Map Services, if the later stage need update electronic map data, it is only necessary to add data to phase In the figure layer answered, thus decrease the number of times closing Map Service, reach to a certain extent In the case of need not closedown Map Service, the renewal electronic map data purpose of automatization, improves Update the real-time of electronic chart.
Accompanying drawing explanation
The method flow diagram updating electronic map data that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the method stream of latitude and longitude information corresponding to the determination basic business data that the embodiment of the present invention provides Cheng Tu;
With the second of first area Block-matching in determination each second area block that Fig. 3 provides for the embodiment of the present invention The flow chart of region unit;
The device schematic diagram updating electronic map data that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
With embodiment offer of the present invention updated the method and device of electronic map data below in conjunction with the accompanying drawings Illustrate in greater detail.
The embodiment of the present invention provides a kind of method updating electronic map data, as it is shown in figure 1, include:
Step 101, obtains basic business data.
Concrete, the data type of the basic business data of acquisition include point data type, line data type with And face data type.Basic business data can be obtained, it is possible to real from data stream from the form prestored Time obtain basic business data.
Described basic business data are converted into spatial data, and determine described spatial data by step 102 Data type, described data type includes point data type, line data type and face data type.
Concrete, basic business data can not be directly appended in electronic chart figure layer, and needs basis Business datum is converted into the spatial data meeting electronic map data form, meets the space of electronic chart form The data type of data is also classified into: point data type, line data type dough-making powder data type.By described basis Data type corresponding to business datum is defined as the data type of spatial data corresponding to these basic business data.
Step 103, adds to described spatial data in the figure layer corresponding with described data type, described figure Layer is point diagram layer, line chart layer and face figure layer, and described figure layer is loaded previously in electronic chart.
Concrete, store owing to the data of electronic chart generally use vector data, at storage vector number According to time make use of geometric figure, such as point, line (series of points composition), face (being made up of at least three lines) Showing objective objects, therefore, electronic chart can include point diagram layer, line chart layer dough-making powder figure layer.The present invention is real Execute example after determining the data type of spatial data, this spatial data is added to and corresponding with data type schemes In Ceng, thus realize the renewal to electronic map data.The embodiment of the present invention determines the data of spatial data After type, according to the data type of spatial data, this spatial data is added to corresponding with data type in real time Figure layer in.It is existing method that spatial data specifically adds to the method in electronic chart figure layer, the most not Repeat again.
When the data type of the spatial data determined is point data type, these space of points data are added to In pre-loaded point diagram layer, when updating electronic chart to present to user, with the addition of space of points data Point diagram layer generates the point that these space of points data are corresponding, and is presented in electronic chart by each point and looks into for user See;When the data type of the spatial data determined is line data type, these space of lines data are added to In pre-loaded line chart layer, when updating electronic chart to present to user, with the addition of space of lines data Each point that this space of lines packet is contained by line chart layer is sequentially connected with raw into a line, and is presented on by this line Electronic chart is checked for user;When the data type of the spatial data determined is face data type, These space of planes data are added in pre-loaded face figure layer, updating electronic chart to present to user Time, with the addition of after each point that this space of planes packet contains by the face figure layer of space of planes data is sequentially connected with and carry out Region, the generation face of rendering, and this region, face is presented in electronic chart checks for user.
In the embodiment of the present invention, basic business data include: the positional information of base stations in mobile communication system, The coverage area information of base station, the business hall location information etc. of Virtual network operator, it is also possible to include it It has the data of particular/special requirement to business, does not limits.Wherein, the electronic map data of renewal is i.e. The basic business data of the business figure layer in renewal electronic chart, the business figure layer of electronic chart includes adding in advance What point diagram layer, line chart layer and the face figure layer carried, the i.e. embodiment of the present invention updated is the business figure of electronic chart Data in Ceng.Business figure layer is the figure layer of display communication industry basic business data in electronic chart, should In business figure layer, the data of display are basic business data.
The embodiment of the present invention, owing to being loaded with point diagram layer, line chart layer dough-making powder figure layer three in advance in electronic chart Plant figure layer, therefore it may only be necessary to restart primary electron Map Services, if the later stage needs to update electronic chart number According to, it is only necessary to will add data to scheme in layer accordingly, thus reach to a certain extent not Need to close the renewal electronic map data purpose of automatization in the case of Map Service, improve renewal The real-time of electronic chart.
Preferably, in step 102, described basic business data are converted into spatial data, specifically include:
Determine the latitude and longitude information that described basic business data are corresponding, by default object model to described longitude and latitude Degree information carries out data vector process, obtains the spatial data that described basic business data are corresponding.
Wherein, basic business data include the latitude and longitude information that basic business data are corresponding, believe according to longitude and latitude Breath, carries out data vector process by default object model pair warp and weft degree information, forms the vector of non-topology Data (shapfile), by processing the vector data of non-topology, to obtain basic business data corresponding Spatial data.The embodiment of the present invention is capable of basic business data being converted into spatial data, no automatically Need by other crossover tool.
Preferably, determine that the data type of spatial data can be in the following way:
Determine when described latitude and longitude information includes one group of longitude and latitude, determine the number that described basic business data are corresponding It is point data type according to type;Determine that described latitude and longitude information includes organizing longitude and latitude, and described many groups more Longitude and latitude at least includes two groups of different longitudes and latitudes, and first group of longitude and latitude is different with last group longitude and latitude Time, determine that data type corresponding to described basic business data is line data type;Determine that described longitude and latitude is believed Breath includes at least four group longitudes and latitudes, and, when first group of longitude and latitude is identical with last group longitude and latitude, determine institute Stating data type corresponding to basic business data is face data type.It is possible with other side of the prior art Method determines the data type of spatial data.Wherein, two groups of identical longitudes and latitudes refer to, one of which longitude is with another The longitude of one group is identical, and, the latitude that one of which latitude is organized with another is identical.
Concrete, according in basic business data, latitude and longitude information corresponding to each basic business data determines The data type of the spatial data that these basic business data are corresponding, such as, one group of longitude and latitude be expressed as (x, y) Wherein, x represents that longitude, y represent latitude, if then the latitude and longitude information of certain basic business data is (110, 40) then the data type of the spatial data that these basic business data are corresponding is point data type;If certain base The latitude and longitude information of plinth business datum be (110,40,111,41 ..., 115,40), i.e. this longitude and latitude In degree information, first group of longitude and latitude (110,40) is different with last longitude and latitude (115,40) and at least Including two groups of different longitudes and latitudes, then the data class molded line data of the spatial data that these basic business data are corresponding Type;If latitude and longitude information corresponding to certain basic business data be (110,40,111,41 ..., 112,42,110,40), i.e. this latitude and longitude information at least includes four groups of longitudes and latitudes, and first group of warp Latitude is identical with last group longitude and latitude, then the data type of the spatial data that these basic business data are corresponding is Face data type.
Wherein, the spatial data that data type is point data type is added in pre-loaded point diagram layer right The false code answered is:
Insert into point diagram layer table name (space field, generic field) values (st_point (longitude, latitude), Other data) // wherein st_point is for processing complicated SQL point object culvert number;
The spatial data that data type is line data type is added to correspondence in pre-loaded line chart layer False code is:
Insert into line chart layer table name (space field, generic field) values (st_line (longitude, latitude, Longitude, latitude), other data) // wherein st_line contain number for processing complicated SQL line object;
The spatial data that data type is face data type is added to correspondence in pre-loaded face figure layer False code is:
Insert into face figure layer table name (space field, generic field) values (st_polygon (longitude, latitude, Longitude, latitude, longitude, latitude, longitude, latitude), other data) // wherein st_polygon is for processing Complicated SQL is in the face of as containing number.
Concrete, the basic business data of face data type potentially include latitude and longitude information, it is also possible to do not include Latitude and longitude information, for the basic business data of the face data type including latitude and longitude information, determines described base The latitude and longitude information that plinth business datum is corresponding, specifically includes: from base described in described basic business extracting data The latitude and longitude information of plinth business datum.
Basic business data for the face data type not including latitude and longitude information, it is determined that described basis industry The latitude and longitude information of business data, as in figure 2 it is shown, specifically include:
Step 201, draws the first area block of described basic business data.
Concrete, for the basic business data of each data type, corresponding one of these basic business data Region unit, according to basic business data, hand drawn goes out the first area block that these basic business data are corresponding.
Step 202, determines each second area block of every level in described electronic chart.
Concrete, from the beginning of the electronic chart figure layer that level is the highest, determine each second area block in this level, If electronic chart level is divided into provincial, city-level, at county level, township level, then electronic chart level is divided from high to low Not Wei provincial, city-level, at county level, township level, wherein, the electronic chart figure layer of each level is by multiple mileage charts Layer is spliced, and multiple mileage chart layers include expressway figure layer, national highway figure layer, provincial highway figure layer, road map layer Deng, each second area block is the region unit corresponding by least three road intersection.
Step 203, determines the second area block with described first area Block-matching in each second area block.
Concrete, first area block is mated one by one with each second area block respectively.Wherein, Ruo Ge In two region units the most not with first area Block-matching, it is determined that the basic business data that first area block is corresponding are Invalid data, does not perform the operation adding in electronic chart by these invalid basic business data.Determine each With the second area block of described first area Block-matching in two region units, second area block specifically can be determined by In area matched with first area block, and the second area block of the form fit with first area block.Also may be used Determine the second area block of coupling by other means.
Step 204, is defined as described basic business data by the latitude and longitude information of the second area block of coupling Latitude and longitude information.
Wherein, if finding the second area block with first area Block-matching in a certain level, then by this coupling The latitude and longitude information of region unit be defined as the latitude and longitude information of basic business data corresponding to first area block. Concrete, the area of any region block can being determined by first area block and each second area block and shape Time the most same or similar, determine that the match is successful, it is also possible to use alternate manner to determine that the match is successful, the most not Limit.
Utilize the embodiment of the present invention, it is possible to determine the latitude and longitude information of the basic business data of face data type, Thus according to the latitude and longitude information that this determines, determine the spatial data that these basic business face data are corresponding, and then This spatial data is added in electronic chart, it is achieved the online real-time update of electronic map data.
Based on the embodiment shown in Fig. 2, it is preferable that in step 203, determine in each second area block with institute State the second area block of first area Block-matching, as it is shown on figure 3, specifically include:
Step 301, determines the minimum enclosed rectangle that described first area block is corresponding, and each second area block Corresponding each minimum enclosed rectangle.
The mode of concrete determination minimum enclosed rectangle is existing mode, repeats no more here.Each secondth district The corresponding minimum enclosed rectangle of territory block.
Step 302, with preseting length with sets the small grid of width as template, external to the first minimum respectively Rectangle and each second minimum enclosed rectangle carry out small grid division.
Concrete, the first minimum enclosed rectangle is divided into several preseting lengths and sets the little net of width Lattice, and each second minimum enclosed rectangle is all also divided into several preseting lengths and sets the little net of width Lattice.First area block is corresponding a number of small grid, each second area in the first minimum enclosed rectangle Block is corresponding a number of small grid in the second boundary rectangle of its correspondence.
Step 303, determines the small grid quantity shared by the block of described first area, and determines each second area block Shared small grid quantity.
Concrete, after the first minimum enclosed rectangle is carried out small grid division, it may be determined that first area block is the Small grid quantity shared in one minimum enclosed rectangle, equally, carries out little net by each second minimum enclosed rectangle After lattice divide, it may be determined that the small grid number that each second area block is shared in the second corresponding minimum enclosed rectangle Amount.
Step 304, determines and the small grid quantity shared by the block of described first area in each second area block Join, and the second area block that mate block-shaped with described first area.
Concrete, first, determine and the second area block of the small grid quantity Matching shared by the block of first area; Secondly, determining and first area in the second area block of the small grid quantity Matching shared by the block of first area The second area block of the form fit of block;Or, it is first determined with the second of the form fit of first area block Region unit;Secondly, determining and first area block in the second area block of the form fit of first area block The second area block of shared small grid quantity Matching.
This preferred embodiment, by each region unit is carried out small grid division, determines and first area Block-matching Second area block.
Preferably, determine in each second area block and the small grid quantity shared by the block of described first area Join, and the second area block that mate block-shaped with described first area, specifically include: at each second area block The middle difference determined with the small grid quantity shared by the block of described first area setting in threshold range, and with institute State the second area block that the shape of first area block is identical.
Concrete, in each minimum enclosed rectangle the corresponding numbering of each small grid, the most each minimum In boundary rectangle, the rule for small grid numbering is identical, the shape of first area block and the shape of second area block Identical, specifically include: each small grid corresponding to first area numbering in the first minimum enclosed rectangle and the Each small grid corresponding to two region units numbering in the second minimum enclosed rectangle is identical, and first area block Shape is identical with the shape of second area block.
Concrete, in step 103, before spatial data being added in the figure layer corresponding with data type, Also comprise determining that the Regional Property information of the basic business data that spatial data is corresponding, thus learn this basis Region belonging to business datum, in order to show these basic business data in the region that electronic chart is corresponding, with in Now give user.
Can determine the Regional Property information of each basic business data in the following way:
First, by the earth such as spatial data matchings corresponding for basic business data to Xi'an 84 earth coordinates Coordinate system, by the spatial data after coupling, according to different data types, the sky to different types of data Between data carry out different relief area computings.Concrete, right setting in the range of BUFF (relief area) Spatial data carries out BUFF computing, and carrying out BUFF computing can be realized by start-up space data buffering function, False code is as follows:
Function buffGeometry(geometry):Geometry{
Geometry geo=Server.buffGeometry (geometry);// forming element BUFF object
return geo;}
Secondly, BUFF result and region in basic map that the spatial data of different types of data is corresponding are determined The topology pass of the face data in figure layer (including provincial boundaries figure layer, circle of city figure layer, circle of county figure layer etc.) face, region, place System's (including overlapping relation, from relation, inclusion relation).Wherein, during basic map is electronic chart A part, the data in this basic map will not be updated, generally include administrative region, forest, water system, Road and POI (Point of Interest, point of interest) etc..Face, region refers to necessary being in basic map Region, locus, be typically made up of national boundaries, provincial boundaries, circle of city, Jie Deng boundary line, county, and basis ground Figure belongs to fixed indices figure layer.
Again, determine that the BUFF that a certain spatial data is corresponding is contained in administrative division map layer location in basic map During face, territory, then the basic business data that this spatial data is corresponding possess the attribute in this face, region, such as, a certain Certain of certain province subordinate that the BUFF that spatial data is corresponding is contained in the figure layer of spatial fundamental region City, then the authority of the basic business data that this spatial data is corresponding belongs to this city of this province subordinate;Determine certain The BUFF that one spatial data is corresponding intersect with face, region, administrative division map layer place in basic map or from time, then The basic business data that this spatial data is corresponding do not possess the attribute in this face, region.
Wherein, this spatial data can be obtained according to the authority ownership of the geographical location information of spatial data corresponding Basic business data corresponding to the multiple attributes information of basic business data, such as certain spatial data belong to certain and save Being an attribute information, the basic business data that this spatial data is corresponding particularly belong to certain certain saved city, again It it is an attribute information.According to BUFF result and the comparison knot in face, region, administrative division map layer place in basic map Really, the Regional Property information that available each basic business data are had.
Further, can determine that basic business data are at electronics according to the Regional Property information of basic business data Visible level on map, i.e. basic business data are accessed for level authority information, in order to determine at electronics Which level of map show these basic business data to present to user, particularly as follows:
For each basic business data, according to the Regional Property information of these basic business data, from electronically The configuration file of figure obtains the visible level (electronics of this region belonging to basic business data in electronic chart Visual level in the slice level of map), make visible level acquiescence and this basis of these basic business data The visible level of the region belonging to business datum keeps consistent.The false code implemented is as follows:
Function setMapLayerLevelFilter(){
map.enableLayerLevelLocaltion(number level);It is visible that // startup carries out level to figure layer Range filter method, acquiescence starts consistent with basic map holding };
Further, can determine that basic business data are at electronics according to the Regional Property information of basic business data Map in map accesses region authority, particularly as follows:
For each basic business data, according to the Regional Property information of these basic business data, from electronically The authority allocation list of figure obtains region allocation list information;And believe according to the Regional Property of these basic business data These basic business data are hidden and show setting, i.e. if the visual range of current map does not wraps by breath When including these basic business data, it is not loaded with this basic business data, on electronic chart, does not show this basis Business datum, if the visual range of current map includes these basic business data, loads this basic business number According to, and on electronic chart, show this basic business data.The false code implemented is as follows:
Function setMapLayerFilter(){
map.enableLayerLocaltion();Figure layer is carried out based on location filtering method by // startup }
Concrete, the method for the above-mentioned Regional Property information determining each basic business data, according to basic business The Regional Property information of data determine the basic business data visible level on electronic chart method and Regional Property information according to basic business data determines that basic business data map in electronic chart is visited Ask that the method for region authority is prior art, the most do not do too much explanation.
Concrete, outside the region belonging to certain basis business datum in the range of receive this basis industry of access Business data request time, then refuse this access request, i.e. not in the region belonging to these basic business data This basic business data are accessed in the range of outside.Such as certain basis business datum belongs to A and saves, then at B Save and do not possess the authority accessing these basic business data.
Based on the inventive concept that the method updating electronic map data provided with foregoing invention embodiment is identical, The embodiment of the present invention also provides for a kind of device updating electronic map data, as shown in Figure 4, and including:
Acquiring unit 401, is used for obtaining basic business data;
Converting unit 402, for described basic business data are converted into spatial data, and determines described sky Between the data type of data, described data type is point data type, line data type, face data type;
Updating block 403, for described spatial data is added in the figure layer corresponding with described data type, Described figure layer is point diagram layer, line chart layer and face figure layer, and described figure layer is loaded previously in electronic chart.
Preferably, in described device, described converting unit specifically for:
Determine the latitude and longitude information that described basic business data are corresponding;
By default object model, described latitude and longitude information is carried out data vector process, obtain described basis industry The spatial data that business data are corresponding.
Preferably, in described device, described converting unit has when determining described basic business data longitude and latitude Body is used for: when the data type of described basic business data is face data type, draw described basic business face Data first kind region unit;
Determine that in described electronic chart, each second area of every level is fast;
Determine the second area block with described first area Block-matching in each second area block;
The latitude and longitude information of the second area block of coupling is defined as the longitude and latitude letter of described basic business data Breath.
Preferably, in described device, described converting unit in determining each second area block with described firstth district During the second area block of territory Block-matching, specifically for:
Determine the minimum enclosed rectangle of described first area block, and each second area block corresponding each second Little boundary rectangle;
With preseting length with set the small grid of width as template, respectively to described first minimum enclosed rectangle with And each second minimum enclosed rectangle carries out small grid division;
Determine the small grid quantity shared by the block of described first area, and determine the little net shared by each second area block Lattice quantity;
Each second area block determines and the quantity Matching of the small grid shared by the block of described first area, and with The second area block of the form fit of described first area block.
Preferably, in described device, described converting unit specifically for:
In each second area block, determine that the difference with the small grid quantity shared by the block of described first area is setting Determine in threshold range, and the second area block identical with the shape of described first area block.
Utilize the method and device updating electronic map data that the embodiment of the present invention provides, have following useful Effect: owing to being loaded with point diagram layer, line chart layer three kinds of figure layer of dough-making powder figure layer in advance in electronic chart, therefore, Have only to restart primary electron Map Services, if the later stage needs to update electronic map data, it is only necessary to by number According to adding in corresponding figure layer, thus decrease the number of times closing Map Service, in certain journey The renewal electronic map data of automatization in the case of need not closedown Map Service has been reached on degree Purpose, improves the real-time updating electronic chart.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the method updating electronic map data, it is characterised in that including:
Obtain basic business data;
Described basic business data are converted into spatial data, and determine the data type of described spatial data, Described data type is point data type, line data type and face data type;
Being added to by described spatial data in the figure layer corresponding with described data type, described figure layer is point diagram Layer, line chart layer and face figure layer, and described figure layer are loaded previously in electronic chart.
2. the method for claim 1, it is characterised in that described described basic business data are turned Change spatial data into, specifically include:
Determine the latitude and longitude information of described basic business data;
By default object model, described latitude and longitude information is carried out data vector process, obtain described basis industry The spatial data of business data.
3. method as claimed in claim 2, it is characterised in that the data class of described basic business data Type is face data type;
The described latitude and longitude information determining described basic business data, specifically includes:
Draw the first area block of described basic business data;
Determine each second area block of every level in described electronic chart;
Determine the second area block with described first area Block-matching in each second area block;
The latitude and longitude information of the second area block of coupling is defined as the longitude and latitude letter of described basic business data Breath.
4. method as claimed in claim 3, it is characterised in that described determine in each second area block with The second area block of described first area Block-matching, specifically includes:
Determine the first minimum enclosed rectangle that described first area block is corresponding, and each second area block is corresponding Each second minimum enclosed rectangle;
With preseting length with set the small grid of width as template, respectively to described first minimum enclosed rectangle with And each second minimum enclosed rectangle carries out small grid division;
Determine the small grid quantity shared by the block of described first area, and determine the little net shared by each second area block Lattice quantity;
Each second area block determines and the quantity Matching of the small grid shared by the block of described first area, and with The second area block of the form fit of described first area block.
5. method as claimed in claim 4, it is characterised in that described determine in each second area block With the quantity Matching of the small grid shared by the block of described first area, and with the form fit of described first area block Second area block, specifically include:
In each second area block, determine that the difference with the small grid quantity shared by the block of described first area is setting Determine in threshold range, and the second area block identical with the shape of described first area block.
6. the device updating electronic map data, it is characterised in that including:
Acquiring unit, is used for obtaining basic business data;
Converting unit, for described basic business data are converted into spatial data, and determines described space number According to data type, described data type is point data type, line data type, face data type;
Updating block, for described spatial data is added in the figure layer corresponding with described data type, institute Stating figure layer is point diagram layer, line chart layer and face figure layer, and described figure layer is loaded previously in electronic chart.
7. device as claimed in claim 6, it is characterised in that described converting unit specifically for:
Determine the latitude and longitude information that described basic business data are corresponding;
By default object model, described latitude and longitude information is carried out data vector process, obtain described basis industry The spatial data that business data are corresponding.
8. device as claimed in claim 7, it is characterised in that described converting unit is determining described base During plinth business datum longitude and latitude specifically for: the data type of described basic business data is face data type Time, draw described basic business face data first kind region unit;
Determine that in described electronic chart, each second area of every level is fast;
Determine the second area block with described first area Block-matching in each second area block;
The latitude and longitude information of the second area block of coupling is defined as the longitude and latitude letter of described basic business data Breath.
9. device as claimed in claim 8, it is characterised in that described converting unit is determining each second Time in region unit with the second area block of described first area Block-matching, specifically for:
Determine the minimum enclosed rectangle of described first area block, and each second area block corresponding each second Little boundary rectangle;
With preseting length with set the small grid of width as template, respectively to described first minimum enclosed rectangle with And each second minimum enclosed rectangle carries out small grid division;
Determine the small grid quantity shared by the block of described first area, and determine the little net shared by each second area block Lattice quantity;
Each second area block determines and the quantity Matching of the small grid shared by the block of described first area, and with The second area block of the form fit of described first area block.
10. device as claimed in claim 9, it is characterised in that described converting unit specifically for:
In each second area block, determine that the difference with the small grid quantity shared by the block of described first area is setting Determine in threshold range, and the second area block identical with the shape of described first area block.
CN201510304513.6A 2015-06-05 2015-06-05 A kind of method and device updating electronic map data Active CN106294484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510304513.6A CN106294484B (en) 2015-06-05 2015-06-05 A kind of method and device updating electronic map data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510304513.6A CN106294484B (en) 2015-06-05 2015-06-05 A kind of method and device updating electronic map data

Publications (2)

Publication Number Publication Date
CN106294484A true CN106294484A (en) 2017-01-04
CN106294484B CN106294484B (en) 2019-11-08

Family

ID=57659123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510304513.6A Active CN106294484B (en) 2015-06-05 2015-06-05 A kind of method and device updating electronic map data

Country Status (1)

Country Link
CN (1) CN106294484B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862979A (en) * 2017-12-27 2018-03-30 昆山爱上艺术品有限公司 A kind of map line drawing handicraft picture and preparation method thereof
CN109241207A (en) * 2017-06-30 2019-01-18 上海大唐移动通信设备有限公司 A kind of method and device showing data on map
CN110785797A (en) * 2018-06-06 2020-02-11 北京嘀嘀无限科技发展有限公司 System and method for identifying grids of geographic regions in a map
CN111666357A (en) * 2019-03-05 2020-09-15 阿里巴巴集团控股有限公司 Method and device for organizing map slice data
CN114090606A (en) * 2021-11-30 2022-02-25 中国电信集团系统集成有限责任公司 Electronic map target object information updating method and system
CN114360255A (en) * 2022-03-21 2022-04-15 北京闪马智建科技有限公司 Flow determination method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008573A (en) * 2006-01-27 2007-08-01 环达电脑(上海)有限公司 Method for displaying map date matching the current position in mobile device
CN101109639A (en) * 2006-07-18 2008-01-23 株式会社电装 Navigation system
CN101650890A (en) * 2009-09-18 2010-02-17 西安煤航信息产业有限公司 Method for expressing processing of roads on map
CN102375879A (en) * 2011-08-22 2012-03-14 河南理工大学 Mobile GIS (Geographic Information System) system based on intelligent mobile phone and application thereof
CN102997928A (en) * 2011-09-08 2013-03-27 北京掌城科技有限公司 Inter-city road network index and matching method
CN103678743A (en) * 2012-09-17 2014-03-26 南车青岛四方机车车辆股份有限公司 Subway limit drawing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008573A (en) * 2006-01-27 2007-08-01 环达电脑(上海)有限公司 Method for displaying map date matching the current position in mobile device
CN101109639A (en) * 2006-07-18 2008-01-23 株式会社电装 Navigation system
CN101650890A (en) * 2009-09-18 2010-02-17 西安煤航信息产业有限公司 Method for expressing processing of roads on map
CN102375879A (en) * 2011-08-22 2012-03-14 河南理工大学 Mobile GIS (Geographic Information System) system based on intelligent mobile phone and application thereof
CN102997928A (en) * 2011-09-08 2013-03-27 北京掌城科技有限公司 Inter-city road network index and matching method
CN103678743A (en) * 2012-09-17 2014-03-26 南车青岛四方机车车辆股份有限公司 Subway limit drawing method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241207A (en) * 2017-06-30 2019-01-18 上海大唐移动通信设备有限公司 A kind of method and device showing data on map
CN109241207B (en) * 2017-06-30 2021-06-11 上海大唐移动通信设备有限公司 Method and device for displaying data on map
CN107862979A (en) * 2017-12-27 2018-03-30 昆山爱上艺术品有限公司 A kind of map line drawing handicraft picture and preparation method thereof
CN107862979B (en) * 2017-12-27 2020-09-08 昆山爱上艺术品有限公司 Map line drawing craft picture and manufacturing method thereof
CN110785797A (en) * 2018-06-06 2020-02-11 北京嘀嘀无限科技发展有限公司 System and method for identifying grids of geographic regions in a map
CN110785797B (en) * 2018-06-06 2020-08-14 北京嘀嘀无限科技发展有限公司 System and method for identifying grids of geographic regions in a map
US11526536B2 (en) 2018-06-06 2022-12-13 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for identifying grids of geographical region in map
CN111666357A (en) * 2019-03-05 2020-09-15 阿里巴巴集团控股有限公司 Method and device for organizing map slice data
CN114090606A (en) * 2021-11-30 2022-02-25 中国电信集团系统集成有限责任公司 Electronic map target object information updating method and system
CN114360255A (en) * 2022-03-21 2022-04-15 北京闪马智建科技有限公司 Flow determination method and device, storage medium and electronic device
CN114360255B (en) * 2022-03-21 2022-08-30 北京闪马智建科技有限公司 Flow determination method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN106294484B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN106294484A (en) A kind of method and device updating electronic map data
CN105786822B (en) Search space object and the method and device for establishing spatial index in electronic map
CN103383682B (en) A kind of Geocoding, position enquiring system and method
CN110321443B (en) Three-dimensional live-action model database construction method and device and data service system
CN101976468B (en) Method and system for visualizing multiresolution dynamic landform
CN106383828B (en) A kind of drawing practice and electronic equipment
CN106156138B (en) The foundation of the spatial index of point of interest, Perimeter method and apparatus
WO2021232278A1 (en) Map acquisition method and apparatus, computer device, and storage medium
CN104867402B (en) A kind of method and device thereof and terminal device of offline inverse geocoding
CN106533536B (en) Polar orbit low-orbit satellite network IP addressing method and device
CN103955566A (en) Electric transmission line three-dimensional design method based on Google Earth and electric transmission line three-dimensional design system based on Google Earth
CN109992640A (en) Determination method and device, equipment and the storage medium of position grid
CN104504742A (en) Three-dimensional military mark plotting method based on electronic sand table system
CN105160707A (en) Three-dimensional model fast visualization method based on viewpoint indexes
CN110059209A (en) Information of real estate display methods, device, equipment and storage medium
CN104091005A (en) Overhead power transmission line engineering surveying indoor operation and field operation integrated system
CN114238384B (en) Area positioning method, device, equipment and storage medium
CN113096251B (en) Model processing method, device, equipment and storage medium based on CIM
CN107480306A (en) In rapid extraction OSM data in self-defined polygonal region road network method
CN107169080A (en) A kind of geospatial analysis system being combined based on GIS and spatial database
CN105354326B (en) Spatial position indexing method and system
CN106776773A (en) A kind of Dynamic data display system and method
CN104156475B (en) Geography information read method and device
CN108470363A (en) A kind of hand-drawing map location method based on geographic reference point and triangulation
Markowska et al. An evaluation of GIS tools for generating area cartograms

Legal Events

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