CN109241207A - A kind of method and device showing data on map - Google Patents

A kind of method and device showing data on map Download PDF

Info

Publication number
CN109241207A
CN109241207A CN201710526528.6A CN201710526528A CN109241207A CN 109241207 A CN109241207 A CN 109241207A CN 201710526528 A CN201710526528 A CN 201710526528A CN 109241207 A CN109241207 A CN 109241207A
Authority
CN
China
Prior art keywords
data
map
map block
displayed
database
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
CN201710526528.6A
Other languages
Chinese (zh)
Other versions
CN109241207B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710526528.6A priority Critical patent/CN109241207B/en
Publication of CN109241207A publication Critical patent/CN109241207A/en
Application granted granted Critical
Publication of CN109241207B publication Critical patent/CN109241207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device that data are shown on map, when solving relevant to the address location data of database update existing in the prior art, front end page can not timely show updated data relevant to address location, the accuracy of the data of display, and the problem that real-time is poor are not can guarantee.The method specifically includes: determining and currently shows the first map block in map to be shown in the display page, and when determining that the either boundary point of the first map block shows the predeterminable area in the page by being translated into, data to be displayed relevant to geographical location described in the second map block is obtained in first database;The data to be displayed that will acquire overlays on the second map block, and in the first map block when continuing translation on the translation direction, the second map block stacked is passed through in display.

Description

A kind of method and device showing data on map
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and device that data are shown on map.
Background technique
Terminal is tested in Intelligent data analysis system can generate a large amount of data, when these data are related to geographical location When, these data need to be eventually displayed on map for analyzing and showing.For example, the data generated are the net in area in all parts of the country Network signal, including Pekinese's network signal, the network signal in Hebei etc., then Pekinese's network signal data and Beijing phase It closes, the network signal data in Hebei is related to Hebei, and the network signal in area in all parts of the country is shown specially will be northern on map The network signal data in capital is shown in the corresponding nearby coordinates in Beijing area on map, and the network signal data in Hebei is shown Corresponding nearby coordinates in Hebei Province etc. on map.In the prior art, for map before front end page is shown, clothes Business device obtains all data relevant to address location, and the geography for including based on each data and map in the database first Incidence relation between position overlays each data on map, for example, overlaying Beijing in map about Pekinese's data On corresponding coordinate information, the data about Hebei are overlayed on the corresponding coordinate information in Hebei in map, then will be by folded The map put is sent to front end page and is shown.
In the prior art, server stacks all data relevant to address location before being shown for map On map, and save the map by stacking.When front end page needs to show data to be shown, server will The map that the process saved stacks is sent to front end page and shows, therefore relevant to address location in database update When data, front end page can not timely show updated data relevant to address location, not can guarantee the data of display Accuracy, and real-time is poor.
Summary of the invention
The embodiment of the present invention provides a kind of method and device that data are shown on map, deposits in the prior art to solve Database update data relevant to address location when, front end page can not timely show updated and address bit Relevant data are set, not can guarantee the accuracy of the data of display, and the problem that real-time is poor.
In a first aspect, the method that the embodiment of the invention provides a kind of to show data on map, comprising:
It determines and currently shows the first map block in map to be shown in the display page, and determine first map block When either boundary point is by being translated into the predeterminable area shown in the page, obtained and the second map in first database The relevant data to be displayed in geographical location described in block;Second map block is in the map to be shown with described first The map block of map block adjacent pre-set dimension in a transverse direction;
The data to be displayed that will acquire overlays on second map block, and in first map block described When continuing translation on translation direction, second map block stacked is passed through in display.
The first map block in map to be shown currently is shown in the display page by determining in the embodiment of the present invention, and really When the either boundary point of fixed first map block is by being translated into the predeterminable area shown in the page, in the first data Data to be displayed relevant to geographical location described in the second map block, the number to be shown that then will acquire are obtained in library According to overlaying on second map block, finally in first map block when continuing translation on the translation direction, display By second map block stacked.Compared with the prior art middle server for map shown before will it is all and The relevant data in address location overlay on map, and save the map by stacking.It needs in front end page to be shown When data are shown, the method that the map that the process of preservation stacks is sent to front end page and shown by server, this hair In the either boundary point for determining first map block by being translated into the preset areas shown in the page in bright embodiment When domain, data to be displayed relevant to geographical location described in the second map block is obtained in the database, ensure that be shown The real-time and accuracy of data.
With reference to first aspect, in the first possible embodiment of first aspect, in first database obtain with Before the relevant data to be displayed in geographical location described in second map block, the method also includes:
Determine scale bar used by second map block;
Data to be displayed relevant to geographical location described in the second map block is obtained in first database, comprising:
The geographical location for obtaining in the first database and being described under the scale bar in second map block Relevant data to be displayed.
With reference to first aspect, in second of possible embodiment of first aspect, in first database obtain with Before the relevant data to be displayed in geographical location described in second map block, the method also includes:
Obtain the keyword for characterizing content described in the data to be displayed;
Data to be displayed relevant to geographical location described in the second map block is obtained in first database, comprising:
The corresponding data of the keyword are inquired in the first database, and in the corresponding data of the keyword Obtain the data to be displayed relevant to geographical location described in the second map block.
With reference to first aspect, in the third possible embodiment of first aspect, in first database obtain with Before the relevant data to be displayed in geographical location described in second map block, the method also includes:
Second map block is obtained in local storage region;Alternatively,
When the local storage region does not save second map block, second ground is obtained in the second database Segment, and second map datum that will acquire is stored in the local storage region.
It is possible with the third of the first possible embodiment of first aspect to first aspect with reference to first aspect Any one of embodiment, in the 4th kind of possible embodiment of first aspect, in the number to be shown that will acquire According to before overlaying on second map block, comprising:
Determine the quantity of object described in the data to be displayed obtained;
When the quantity is greater than preset threshold, the quantity of object described in the data to be displayed is reduced, So that by reduction after the data to be displayed described in object quantity be less than or equal to the preset threshold.
Second aspect, the embodiment of the invention provides a kind of to show the devices of data on map, comprising:
Determining module currently shows the first map block in map to be shown in the display page for determining, and determines institute The either boundary point of the first map block is stated by being translated into the predeterminable area shown in the page;
Module is obtained, for determining the either boundary point of first map block by being translated into the determining module When predeterminable area in the display page, obtained in first database related to geographical location described in the second map block Data to be displayed;Second map block is adjacent in a transverse direction with first map block in the map to be shown Pre-set dimension map block;
Module is stacked, the data to be displayed for obtaining the acquisition module overlays second map block On;
Display module, described in, when continuing translation on the translation direction, display is passed through in first map block Stack second map block that module stacks.
In conjunction with second aspect, in the first possible embodiment of second aspect, the determining module is also used to institute It states and obtains before module obtains data to be displayed relevant to geographical location described in the second map block in first database, Determine scale bar used by second map block;
The acquisition module, is specifically used for: in the first database obtain in second map block described The relevant data to be displayed in geographical location described under the scale bar that determining module determines.
In conjunction with second aspect, in second of possible embodiment of second aspect, the acquisition module is also used to Before obtaining data to be displayed relevant to geographical location described in the second map block in first database, obtain for characterizing The keyword of content described in the data to be displayed;
The acquisition module obtains relevant to geographical location described in the second map block to aobvious in first database Registration according to when, be specifically used for: inquiring the corresponding data of the keyword in the first database, and in the keyword pair The data to be displayed relevant to geographical location described in the second map block is obtained in the data answered.
In conjunction with second aspect, in the third possible embodiment of second aspect, the acquisition module is also used to Before obtaining data to be displayed relevant to geographical location described in the second map block in first database, in local storage Second map block is obtained in domain;Alternatively, when the local storage region does not save second map block, in the second number According to obtaining second map block in library;
Described device further include:
Preserving module, second map datum for obtaining the acquisition module in the second database are stored in In the local storage region.
The third in conjunction with the possible embodiment of the first of second aspect and second aspect to second aspect is possible Any one of embodiment, in the 4th kind of possible embodiment of second aspect, the determining module is also used to inciting somebody to action Before the data to be displayed obtained overlays on second map block, determine described by the data to be displayed obtained Object quantity;
Described device further include:
Reduce module, when the quantity for determining in the determining module is greater than preset threshold, to described to be shown The quantity of object described in data is reduced, so that object described in the data to be displayed after reduction Quantity is less than or equal to the preset threshold.
The first map block in map to be shown currently is shown in the display page by determining in the embodiment of the present invention, and really When the either boundary point of fixed first map block is by being translated into the predeterminable area shown in the page, in the first data Data to be displayed relevant to geographical location described in the second map block, the number to be shown that then will acquire are obtained in library According to overlaying on second map block, finally in first map block when continuing translation on the translation direction, display By second map block stacked.Compared with the prior art middle server for map shown before will it is all and The relevant data in address location overlay on map, and save the map by stacking.It needs in front end page to be shown When data are shown, the method that the map that the process of preservation stacks is sent to front end page and shown by server, this hair In the either boundary point for determining first map block by being translated into the preset areas shown in the page in bright embodiment When domain, data to be displayed relevant to geographical location described in the second map block is obtained in the database, ensure that be shown The real-time and accuracy of data.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for the method that data are shown on map provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram for the device that data are shown on map provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method and device that data are shown on map, deposits in the prior art to solve Database update data relevant to address location when, front end page can not timely show updated and address bit Relevant data are set, not can guarantee the accuracy of the data of display, and the problem that real-time is poor.Wherein, method and apparatus are Based on the same inventive concept, the principle solved the problems, such as due to method and device is similar, and the implementation of apparatus and method can be with Cross-reference, overlaps will not be repeated.
In order to enable the embodiment of the present invention is more easily understood, in the following, first to involved in the embodiment of the present invention Some descriptions are illustrated, these explanations are not construed as the restriction to protection scope of the presently claimed invention.
Multilevel splitting index technology: grid dividing is carried out by map, is divided into the identical grid of size, each grid An index entry is corresponded to, record falls into the related data of the geographic element of the grid in the index entry of each grid.? When inquiring data, determines one or several grids that map block includes or intersects, then only inquire these nets in the database Data recorded in the index entry of lattice, to improve the speed of inquiry data.
Geographic element: the geographical entity with position, characteristic distributions and correlation, is the fundamental on map, packet Include water body (Ru Jiang, river, lake, sea etc.), landforms (such as all kinds of Plains, mountainous region, hills), soil property vegetation (such as desert, forest, filling Clump, meadow, marsh etc.) etc. physical features and settlement place (such as city, market town, rural area), the network of communication lines (such as railway, highway, Shipping etc. and airport, station, harbour etc.), political administrative boundary, social economies' element such as industrial or agricultural facility and cultural relics.Ground The level of detail on map of figure element, precision, completeness depend primarily on map scale, and scale bar is bigger, wraps on map The geographic element included is more detailed.
R tree index: by with the minimum outsourcing rectangle of geographic element (English: minimum bounding rectangle, Referred to as: MBR) carry out approximate expression geographic element, R tree is established according to the MBR of geographic element, it can be directly certain to being occupied in space The geographic element of range is indexed.Each node of R tree corresponds to a region and a disk page, the region of each node For the regional scope that the node is covered on map, the regional scope of its all child node is stored in the disk page of non-leaf node, The region of all child nodes of non-leaf node is all fallen within its regional scope.Its region model is stored in the disk page of leaf node The boundary rectangle of all spatial objects within enclosing.
Now to search all dining room data instances of Haidian District, Beijing City, to using R tree search index data process into Row explanation.It is first turned on map (namely entire R tree), first selection is domestic or external (namely root node).Then it selects North China's (corresponding first layer node) selects Beijing (corresponding second layer node), and the region where reselection Haidian District is (right Leaf node is answered, storage has minimum rectangle), all nodes in this area are traversed, the dining room data in the region are obtained.
In the description of the embodiment of the present invention, the vocabulary such as " first ", " second " are only used for distinguishing the purpose of description, without It can be interpreted as indication or suggestion relative importance, indication or suggestion sequence can not be interpreted as.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
As shown in fig.1, being the method schematic diagram provided in an embodiment of the present invention for showing data on map, the method It can be applied to server, the method can specifically include as follows:
S101 is determined and is currently shown the first map block in map to be shown in the display page, and determines first ground The either boundary point of segment through being translated into the display page predeterminable area when, obtained in first database and the The relevant data to be displayed in geographical location described in two map blocks.
Second map block is adjacent pre- in a transverse direction with first map block in the map to be shown If the map block of size.The size of second map block can be the several times of the size of the first map block, in the embodiment of the present invention It is illustrated for 1.5 times of the size that the size of the second map block is the first map block.
Wherein, data to be displayed relevant to geographical location described in the second map block is obtained in first database When, it needs to transmit the data to be displayed by network.
S102, the data to be displayed that will acquire overlay on second map block, and in first map block When continuing translation on the translation direction, second map block stacked is passed through in display.
The first map block in map to be shown currently is shown in the display page by determining in the embodiment of the present invention, and really When the either boundary point of fixed first map block is by being translated into the predeterminable area shown in the page, in the first data Data to be displayed relevant to geographical location described in the second map block, the number to be shown that then will acquire are obtained in library According to overlaying on second map block, finally in first map block when continuing translation on the translation direction, display By second map block stacked.Compared with the prior art middle server for map shown before will it is all and The relevant data in address location overlay on map, and save the map by stacking.It needs in front end page to be shown When data are shown, the method that the map that the process of preservation stacks is sent to front end page and shown by server, this hair In the either boundary point for determining first map block by being translated into the preset areas shown in the page in bright embodiment When domain, data to be displayed relevant to geographical location described in the second map block is obtained in the database, ensure that be shown The real-time and accuracy of data.
Optionally, two spatial caches identical with screen indication range can be preset, referred to as caching A and caching B, In, caching A is used to cache the first map block by stacking, and caching B is used to cache in second map block and described first The adjacent in a transverse direction and equal sized part map block with the first map block of map block.Therefore it is cached when in caching A The first map block either boundary point through being translated into it is described display the page in predeterminable area when, in first database Data to be displayed relevant to geographical location described in the second map block is obtained, the data to be displayed that will acquire overlays It on second map block, and will be cached in caching B by the part map block in the second map block for stacking, described the The part map block that one map block is cached when continuing translation on the translation direction, in display caching B.
It, can be using multilevel splitting index technology or R tree index technology in the first number in a kind of possible embodiment According to acquisition data to be displayed relevant to geographical location described in the second map block in library.
It is obtained in first database in the embodiment of the present invention by multilevel splitting index technology or R tree index technology and the The relevant data to be displayed in geographical location described in two map blocks improves the speed for obtaining data.
Optionally, data to be displayed relevant to geographical location described in the second map block is obtained in first database Before, second map block is obtained in local storage region;Alternatively, not saving described second in the local storage region When map block, second map block is obtained in the second database, and second map datum that will acquire is stored in institute It states in local storage region.
Wherein, first database is for storing data to be displayed, and the second database is for storing map datum.In the second number When according to obtaining second map block in library, need to transmit second map block by network.Second database and first Database can be the same database, or disparate databases.
It is stored in local storage region in the embodiment of the present invention by the second map block that will acquire, so that in server When requesting second map block again, without being inquired again from the second database again, also just without being passed by network Defeated second map block facilitates the speed for promoting display.
Wherein, the second map block can be indicated with short type data, compared to float type data or double type number According to expression, when indicating the second map block with short type data, the memory space that the second map block occupies is smaller, so as to reach To the target for reducing memory occupied by map datum.
In a kind of possible embodiment, obtained in first database and geographical location described in the second map block Before relevant data to be displayed, scale bar used by second map block is first determined;To be obtained in first database When taking data to be displayed relevant to geographical location described in the second map block, can be obtained in the first database with The relevant data to be displayed in geographical location described under the scale bar in second map block.
For example, the geographical location of the second map block description is China under the scale bar of 1:100000, therefore in the first number It, can be in the first database when according to obtaining data to be displayed relevant to geographical location described in the second map block in library In only obtain with the relevant data to be displayed of China, and do not have to the detailed data of acquisition China regions.In the ratio of 1:10000 Under ruler, the geographical location of the second map block description is Beijing, therefore obtains in first database and retouch in the second map block When the relevant data to be displayed in the geographical location stated, it can only be obtained in the first database relevant to Beijing wait show Registration evidence, and do not have to the detailed data for obtaining each region in Beijing.And under the scale bar of 1:1000, the description of the second map block Geographical location is Haidian District, Beijing City, therefore acquisition is related to geographical location described in the second map block in first database Data to be displayed when, relevant to Haidian District data to be displayed can be only obtained in the first database, and without obtaining Take the detailed data in the Haidian District region Nei Ge.
It is described under the scale bar in the second map block in the embodiment of the present invention by being obtained in first database The relevant data to be displayed in geographical location, thus only need to obtain and show with the data to be displayed of scale bar corresponding level, cut Subtract display and participate in the data volume of display in the process, to maintain the clear readable of map.Also, it is zoomed in and out in map, When exactly reducing the scale bar of map, display speed can be improved.
In alternatively possible embodiment, obtained in first database and geography position described in the second map block Before setting relevant data to be displayed, the keyword for characterizing content described in the data to be displayed is first obtained;To, It, can be described the when obtaining data to be displayed relevant to geographical location described in the second map block in first database The corresponding data of the keyword are inquired in one database, and are obtained and the second map block in the corresponding data of the keyword Described in the relevant data to be displayed in geographical location.
Alternatively, the relevant number in geographical location described in the second map block can also be inquired in the first database According to, and data to be displayed corresponding with the keyword is obtained in the data.
The content according to described in data classifies data in the embodiment of the present invention, and described in characterize data The keyword of content is named to every one kind, thus only needing to obtain and show data corresponding to the keyword, Improve the speed of display.
Optionally, before the data to be displayed that will acquire overlays on second map block, acquisition is determined The quantity of object described in the data to be displayed.When the quantity is greater than preset threshold, to the data to be displayed institute The quantity of the object of description is reduced, so that the quantity of object described in the data to be displayed after reduction is small In or equal to the preset threshold.
Data to be displayed compares consuming storage resource, because the structure of each data to be displayed is relative complex, in addition to including The geographical location of object described in data to be displayed further includes the information such as font style pattern except attribute data.The present invention Preset threshold is greater than by the quantity of the object described in the data to be displayed in embodiment, to the data to be displayed institute The quantity of the object of description is reduced, and ensure that the aesthetics and readability of map, and improves display performance.And it contracts The object cut can be shown in the scale bar for increasing map.
The first map block in map to be shown currently is shown in the display page by determining in the embodiment of the present invention, and really When the either boundary point of fixed first map block is by being translated into the predeterminable area shown in the page, in the first data Data to be displayed relevant to geographical location described in the second map block, the number to be shown that then will acquire are obtained in library According to overlaying on second map block, finally in first map block when continuing translation on the translation direction, display By second map block stacked.Compared with the prior art middle server for map shown before will it is all and The relevant data in address location overlay on map, and save the map by stacking.It needs in front end page to be shown When data are shown, the method that the map that the process of preservation stacks is sent to front end page and shown by server, this hair In the either boundary point for determining first map block by being translated into the preset areas shown in the page in bright embodiment When domain, data to be displayed relevant to geographical location described in the second map block is obtained in the database, ensure that be shown The real-time and accuracy of data.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 1, the embodiment of the present invention provides one kind on map Show that the device 20 of data, the device 20 can be applied to server.The structure of the device 20 is as shown in Fig. 2, include determining mould Block 21 obtains module 22, stacks module 23 and display module 24, in which:
Determining module 21 currently shows the first map block in map to be shown in the display page for determining, and determines The either boundary point of first map block is by being translated into the predeterminable area shown in the page.
Module 22 is obtained, for determining the either boundary point of first map block by translation in the determining module 21 Into it is described display the page in predeterminable area when, in first database obtain with the second map block described in geographical location Relevant data to be displayed;Second map block be the map to be shown in first map block in a transverse direction The map block of adjacent pre-set dimension.
Module 23 is stacked, the data to be displayed for obtaining the acquisition module 22 overlays second map On block.
Display module 24, for, when continuing translation on the translation direction, institute to be passed through in display in first map block It states and stacks second map block that module 23 stacks.
Optionally, the determining module 21 is also used to the acquisition module 22 and obtains in first database with the second Before the relevant data to be displayed in geographical location described in segment, scale bar used by second map block is determined.Institute State obtain module 22, be specifically used for: in the first database obtain with second map block in the determining module The relevant data to be displayed in geographical location described under 21 scale bars determined.
In a kind of possible embodiment, the acquisition module 22 is also used to obtain and second in first database Before the relevant data to be displayed in geographical location described in map block, obtain for characterizing described in the data to be displayed The keyword of content.The acquisition module 22 obtains and geographical location phase described in the second map block in first database When the data to be displayed of pass, it is specifically used for: inquires the corresponding data of the keyword in the first database, and described The data to be displayed relevant to geographical location described in the second map block is obtained in the corresponding data of keyword.
In alternatively possible embodiment, the acquisition module 22 is also used to obtain and the in first database Before the relevant data to be displayed in geographical location described in two map blocks, second map is obtained in local storage region Block;Alternatively, obtaining second ground in the second database when the local storage region does not save second map block Segment;Described device further includes preserving module 25;The preserving module 25, for by the acquisition module 22 in the second database Second map datum of middle acquisition is stored in the local storage region.
Optionally, the determining module 21 is also used to overlay second ground in the data to be displayed that will acquire Before on segment, the quantity of object described in the data to be displayed obtained is determined;Described device further includes reduction module 26;The reduction module 26, when the quantity for determining in the determining module 21 is greater than preset threshold, to described to aobvious Registration is reduced according to the quantity of described object, so that object described in the data to be displayed after reduction Quantity be less than or equal to the preset threshold.
The first map block in map to be shown currently is shown in the display page by determining in the embodiment of the present invention, and really When the either boundary point of fixed first map block is by being translated into the predeterminable area shown in the page, in the first data Data to be displayed relevant to geographical location described in the second map block, the number to be shown that then will acquire are obtained in library According to overlaying on second map block, finally in first map block when continuing translation on the translation direction, display By second map block stacked.Compared with the prior art middle server for map shown before will it is all and The relevant data in address location overlay on map, and save the map by stacking.It needs in front end page to be shown When data are shown, the method that the map that the process of preservation stacks is sent to front end page and shown by server, this hair In the either boundary point for determining first map block by being translated into the preset areas shown in the page in bright embodiment When domain, data to be displayed relevant to geographical location described in the second map block is obtained in the database, ensure that be shown The real-time and accuracy of data.
Based on the same inventive concept of embodiment of the method corresponding with Fig. 1, the embodiment of the invention also provides a kind of services Device.The structure of the server is as shown in figure 3, include processor 301, memory 302 and transceiver 303, in which:
Processor 301 executes following process for reading the program in memory 302:
Data are received by transceiver 303, and execute method as described in the examples corresponding with above-mentioned Fig. 1.
Transceiver 303, for receiving data under the control of processor 301.
Memory 302, for storing software program.
In Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include the bus of any number of interconnection And bridge, the memory that bus 300 will include the one or more processors represented by processor 301 and memory 302 represents Various circuits link together.Bus 300 can also be by each of such as peripheral equipment, voltage-stablizer and management circuit or the like Other circuits of kind link together, and these are all it is known in the art, and therefore, it will not be further described herein. Bus interface 304 provides interface between bus 300 and transceiver 303.Transceiver 303 can be an element, be also possible to Multiple element, such as multiple receivers and transmitter, provide the unit for communicating over a transmission medium with various other devices.
Processor 301 is responsible for management bus 300 and common processing, can also provide various functions, including timing, periphery Interface, voltage adjusting, power management and other control functions.And memory 302 can be used for storage processor 301 and hold Used data when row operation.
Optionally, processor 301 can be centre bury device (English: Central Processing Unit, referred to as: CPU), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC), existing Field programmable gate array (English: Field-Programmable Gate Array, referred to as: FPGA) or complex programmable logic Device (English: Complex Programmable Logic Device, referred to as: CPLD) etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of method for showing data on map characterized by comprising
It determines and currently shows the first map block in map to be shown in the display page, and determine any of first map block When boundary point is by being translated into the predeterminable area shown in the page, in first database in acquisition and the second map block The relevant data to be displayed in the geographical location of description;Second map block be the map to be shown in first map The map block of block adjacent pre-set dimension in a transverse direction;
The data to be displayed that will acquire overlays on second map block, and in first map block in the translation When side continues up translation, second map block stacked is passed through in display.
2. the method as described in claim 1, which is characterized in that in first database obtain with the second map block described in Before the relevant data to be displayed in geographical location, the method also includes:
Determine scale bar used by second map block;
Data to be displayed relevant to geographical location described in the second map block is obtained in first database, comprising:
It is obtained in the first database related to the geographical location described under the scale bar in second map block Data to be displayed.
3. the method as described in claim 1, which is characterized in that in first database obtain with the second map block described in Before the relevant data to be displayed in geographical location, the method also includes:
Obtain the keyword for characterizing content described in the data to be displayed;
Data to be displayed relevant to geographical location described in the second map block is obtained in first database, comprising:
The corresponding data of the keyword are inquired in the first database, and are obtained in the corresponding data of the keyword The data to be displayed relevant to geographical location described in the second map block.
4. the method as described in claim 1, which is characterized in that in first database obtain with the second map block described in Before the relevant data to be displayed in geographical location, the method also includes:
Second map block is obtained in local storage region;Alternatively,
When the local storage region does not save second map block, second map is obtained in the second database Block, and second map datum that will acquire is stored in the local storage region.
5. such as the described in any item methods of Claims 1-4, which is characterized in that stacked in the data to be displayed that will acquire Before on second map block, comprising:
Determine the quantity of object described in the data to be displayed obtained;
When the quantity is greater than preset threshold, the quantity of object described in the data to be displayed is reduced, so that The quantity of object described in the data to be displayed after reduction is less than or equal to the preset threshold.
6. a kind of device for showing data on map characterized by comprising
Determining module currently shows the first map block in map to be shown in the display page for determining, and determines described the The either boundary point of one map block is by being translated into the predeterminable area shown in the page;
Module is obtained, the either boundary point for determining first map block in the determining module is described by being translated into Show the page in predeterminable area when, in first database obtain it is relevant to geographical location described in the second map block to Show data;Second map block is adjacent pre- in a transverse direction with first map block in the map to be shown If the map block of size;
Module is stacked, the data to be displayed for obtaining the acquisition module overlays second map block;
Display module, for, when continuing translation on the translation direction, being stacked described in display process in first map block Second map block that module stacks.
7. device as claimed in claim 6, which is characterized in that the determining module is also used to the acquisition module first Before obtaining data to be displayed relevant to geographical location described in the second map block in database, second map is determined Scale bar used by block;
The acquisition module, is specifically used for: in the first database obtain with second map block in the determination The relevant data to be displayed in geographical location described under the scale bar that module determines.
8. device as claimed in claim 6, which is characterized in that the acquisition module is also used to obtain in first database Before data to be displayed relevant to geographical location described in the second map block, obtain for characterizing the data to be displayed institute The keyword of the content of description;
The acquisition module obtains number to be shown relevant to geographical location described in the second map block in first database According to when, be specifically used for: inquiring the corresponding data of the keyword in the first database, and corresponding in the keyword The data to be displayed relevant to geographical location described in the second map block is obtained in data.
9. device as claimed in claim 6, which is characterized in that the acquisition module is also used to obtain in first database Before data to be displayed relevant to geographical location described in the second map block, described second is obtained in local storage region Map block;Alternatively, obtaining described in the second database when the local storage region does not save second map block Two map blocks;
Described device further include:
Preserving module, second map datum for obtaining the acquisition module in the second database are stored in described In local storage region.
10. such as the described in any item devices of claim 6 to 9, which is characterized in that the determining module is also used to will acquire The data to be displayed overlay on second map block before, determine obtain the data to be displayed described in it is right The quantity of elephant;
Described device further include:
Reduce module, when the quantity for determining in the determining module is greater than preset threshold, to the data to be displayed The quantity of described object is reduced, so that the quantity of object described in the data to be displayed after reduction Less than or equal to the preset threshold.
CN201710526528.6A 2017-06-30 2017-06-30 Method and device for displaying data on map Active CN109241207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526528.6A CN109241207B (en) 2017-06-30 2017-06-30 Method and device for displaying data on map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526528.6A CN109241207B (en) 2017-06-30 2017-06-30 Method and device for displaying data on map

Publications (2)

Publication Number Publication Date
CN109241207A true CN109241207A (en) 2019-01-18
CN109241207B CN109241207B (en) 2021-06-11

Family

ID=65083200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526528.6A Active CN109241207B (en) 2017-06-30 2017-06-30 Method and device for displaying data on map

Country Status (1)

Country Link
CN (1) CN109241207B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581273A (en) * 2020-03-30 2020-08-25 拉扎斯网络科技(上海)有限公司 Data visualization method and device, computer storage medium and electronic equipment
CN112040421A (en) * 2020-09-10 2020-12-04 安徽阡陌网络科技有限公司 Data fusion method based on agricultural map acquisition and presentation

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023015A (en) * 2009-09-15 2011-04-20 索尼公司 Navigation device, navigation method, and mobile phone having navigation function
CN102023836A (en) * 2010-11-26 2011-04-20 北京腾瑞万里科技有限公司 Display method of mobile terminal vector map and mobile terminal
CN102298873A (en) * 2010-06-24 2011-12-28 科菱航睿空间信息技术有限公司 Navigation electronic map data storage method and display method based on the same
CN103428345A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Method for achieving mobile phone terminal map data zooming and dragging display system
US20130325317A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Smart loading of map tiles
US8711181B1 (en) * 2011-11-16 2014-04-29 Google Inc. Pre-fetching map data using variable map tile radius
CN105975541A (en) * 2013-12-30 2016-09-28 北京奇虎科技有限公司 Device and method for controlling translation of electronic map
CN106294484A (en) * 2015-06-05 2017-01-04 中国移动通信集团河南有限公司 A kind of method and device updating electronic map data
CN106446284A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Map loading device and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023015A (en) * 2009-09-15 2011-04-20 索尼公司 Navigation device, navigation method, and mobile phone having navigation function
CN102298873A (en) * 2010-06-24 2011-12-28 科菱航睿空间信息技术有限公司 Navigation electronic map data storage method and display method based on the same
CN102023836A (en) * 2010-11-26 2011-04-20 北京腾瑞万里科技有限公司 Display method of mobile terminal vector map and mobile terminal
US8711181B1 (en) * 2011-11-16 2014-04-29 Google Inc. Pre-fetching map data using variable map tile radius
CN103428345A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Method for achieving mobile phone terminal map data zooming and dragging display system
US20130325317A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Smart loading of map tiles
CN105975541A (en) * 2013-12-30 2016-09-28 北京奇虎科技有限公司 Device and method for controlling translation of electronic map
CN106294484A (en) * 2015-06-05 2017-01-04 中国移动通信集团河南有限公司 A kind of method and device updating electronic map data
CN106446284A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Map loading device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581273A (en) * 2020-03-30 2020-08-25 拉扎斯网络科技(上海)有限公司 Data visualization method and device, computer storage medium and electronic equipment
CN111581273B (en) * 2020-03-30 2023-07-18 拉扎斯网络科技(上海)有限公司 Data visualization method and device, computer storage medium and electronic equipment
CN112040421A (en) * 2020-09-10 2020-12-04 安徽阡陌网络科技有限公司 Data fusion method based on agricultural map acquisition and presentation
CN112040421B (en) * 2020-09-10 2022-08-09 安徽阡陌网络科技有限公司 Data fusion method based on agricultural map acquisition and presentation

Also Published As

Publication number Publication date
CN109241207B (en) 2021-06-11

Similar Documents

Publication Publication Date Title
Dou et al. Dynamic monitoring of land-use/land-cover change and urban expansion in Shenzhen using Landsat imagery from 1988 to 2015
CN111090716A (en) Vector tile data processing method, device, equipment and storage medium
CN112579885B (en) Ocean forecast information service method based on user interest points and storage medium
US10991077B2 (en) Vector tile pyramiding
CN101976468B (en) Method and system for visualizing multiresolution dynamic landform
CN107766471A (en) The organization and management method and device of a kind of multi-source data
CN102496187B (en) Method for tracking contour line to boundary and fault based on triangular mesh
CN103049549A (en) Island data management method and system
Corcoran et al. Characterising the metric and topological evolution of OpenStreetMap network representations
CN112528508B (en) Electromagnetic visualization method and device
CN105574102A (en) Electronic map data loading method and device
CN106021436A (en) Vector tile map making method
CN111859187B (en) POI query method, device, equipment and medium based on distributed graph database
CN109254290A (en) A kind of parallel pattern splicing method of weather radar and system
CN109829021A (en) A kind of map methods of exhibiting and device
CN109241207A (en) A kind of method and device showing data on map
Lin A comparison study on natural and head/tail breaks involving digital elevation models
CN112115226A (en) Map rendering method and map rendering device
CN106908797A (en) X-band areal rainfall radar data extracting method based on GIS
CN103675763B (en) A kind of based on hardware-accelerated vector quantization VTS radar video rendering method
Goodchild et al. Data quality in massive data sets
CN109345947A (en) Working region division methods and terminal device based on data correlation analysis
Wu et al. A new Digital Earth reference model: Spheroid-based 3D grid for Earth System (3DGES)
CN114138925A (en) Location point belonging area retrieval method, device, electronic equipment, medium and product
She et al. A building label placement method for 3D visualizations based on candidate label evaluation and selection

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