CN105574102B - A kind of method and device of electronic map data load - Google Patents

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

Info

Publication number
CN105574102B
CN105574102B CN201510922569.8A CN201510922569A CN105574102B CN 105574102 B CN105574102 B CN 105574102B CN 201510922569 A CN201510922569 A CN 201510922569A CN 105574102 B CN105574102 B CN 105574102B
Authority
CN
China
Prior art keywords
data
map
base map
slice base
slice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510922569.8A
Other languages
Chinese (zh)
Other versions
CN105574102A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201510922569.8A priority Critical patent/CN105574102B/en
Publication of CN105574102A publication Critical patent/CN105574102A/en
Application granted granted Critical
Publication of CN105574102B publication Critical patent/CN105574102B/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • 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

Abstract

The invention discloses a kind of method and devices of electronic map data load, this method passes through the data buffer storage to point of interest, the body of a map or chart cutting that user accesses is generated to the slice base map of multiple blank and background transparent, the coordinate data information of the longitude and latitude of point of interest in the coordinate range of corresponding every slice base map and the data of caching, determine that icon corresponding with data is marked and drawed in slice base map in the position in slice base map and in real time, and then the slice base map after current plotting icon is superimposed with Background From Layer, the map for realizing big data quantity point of interest shows effect, the data load magnitude and loading efficiency of the big quantity point of interest of electronic map are improved compared with the existing technology, the phenomenon that improving longer client waiting time and white screen.

Description

A kind of method and device of electronic map data load
Technical field
The present invention relates to the method and devices that field of communication technology more particularly to a kind of electronic map data load.
Background technique
In electronic map field, it is also me that the location information of POI (Point of Interest) i.e. point of interest, which is most basic, The category information most paid close attention to, point of interest can be a house, a dining room, a school, bank etc. and we The public place or mechanism of living closely bound up, building etc.;In safety-security area, the installation site of camera is also that we most close The information of the heart, these information can solve a case for public security and provide faster more intuitive video information clue, be the coverage rate of day net engineering Data are provided, also can provide foundation for the decision of emergency command.Under the background of Internet technology fast development, electronic map this Kind visualization technique is also more and more in the deep application of safety-security area, and consequent is that a large amount of points of interest need on map Show, the order of magnitude is from 1 thousand to one ten thousand, 100,000, even million ranks.Current main implementation has: 1, by point of interest with The form of image labeling (Marker) is got on map;2, the approximate method showed is vacuated using point to show;3, by numerous interest Point is shown in the form of figure layer on foreground.
However existing three kinds of technical solutions have that there are certain shortcomings, for example, the first image labeling point exhibition Show scheme, because each marker point occupies the certain memory of browser, as the order of magnitude for the POI object for needing to show increases It is long, from tens, at hundred, it is thousands of to it is tens of thousands of in addition 100,000 plus, the browser memory total size that these marker points occupy also with The order of magnitude increases and rises violently, since the memory that browser accounts for operating system is limited, when marker point is to certain amount, Very Caton is dragged because memory occupies the excessive map that will lead to, other operations are also relatively slow on map or even directly result in clear Device of looking at, which is run quickly, bursts;Second of method approximation exhibition scheme with point polymerization, the program are only applicable to macroscopic view and show that point is substantially distributed Situation is unable to satisfy safety-security area public security department and checks to the actual position and real-time video of video and other points of interest and wants Ask, once and data volume rise to 100,000 ranks, the point bit quantity after polymerization also results in map Caton;The third uses visitor Family end load the service of backstage figure layer mode, when needing to load big data quantity, server end generate mark and draw the figure layer compared with Slowly, time-consuming more, when the continuous moving map position of client, ceaselessly can request to service to server end, at this time client End will appear white screen phenomenon, just will appear map after a while, figure efficiency is poor out.
Therefore, the data load magnitude and loading efficiency for how improving the big quantity point of interest of electronic map, improve client The phenomenon that waiting time is longer and white screen, is those skilled in the art's technical problem urgently to be resolved.
Summary of the invention
It is big to improve electronic map the embodiment of the invention provides a kind of method and device of electronic map data load The load magnitude and loading efficiency of data volume point of interest improve the phenomenon that client waiting time is longer and white screen, realization 100,000 Add the load and displaying of interest point data.
The embodiment of the invention provides a kind of methods of electronic map data load, comprising:
The data needed for obtaining lookup point of interest in database;
The map reference range of active user's access is subjected to cutting, generates the slice base map of multiple blank and background transparent And the corresponding coordinate range of every slice base map;
According to the longitude and latitude of point of interest in the data of the coordinate range and caching that are sliced base map described in every Coordinate data information determines that position and in real time plotting of the icon corresponding with the data in the slice base map are cut described in Piece base map;
Using the tile of engine map as Background From Layer, the slice base map after current mark and draw is added to the background Figure layer.
It is described to visit active user in the above method provided in an embodiment of the present invention in a kind of possible embodiment The map reference range asked carries out cutting, generates the slice base map and every slice base map pair of multiple blank and background transparent The coordinate range answered, specifically includes:
The map reference range of active user's access is subjected to cutting, generates the identical blank of multiple sizes and background transparent It is sliced base map and the corresponding coordinate range of every slice base map;Wherein, the shape of the slice base map is rectangle.
It is described to visit active user in the above method provided in an embodiment of the present invention in a kind of possible embodiment The map reference range asked carries out cutting, specifically includes:
The map reference range of user's current accessed is cut in a manner of the customized setting slice base map size Point.
In a kind of possible embodiment, in the above method provided in an embodiment of the present invention, according to slice described in every The coordinate data information of point of interest longitude and latitude in the coordinate range of base map and the data of caching, the determining and data The slice base map is arrived in position and in real time plotting of the corresponding icon in the slice base map, specifically includes:
According to the coordinate range and picture of the slice base map of the Pixel Dimensions of icon corresponding with the data and every Plain size generates the corresponding buffering coordinate range with boundary;
The data of caching are subjected to matching operation with corresponding buffering coordinate range, it is corresponding to obtain each slice base map Data cached collection;
According to the Pixel Dimensions and corresponding buffering coordinate range for being sliced base map described in every, the data cached concentration is every The Longitude and latitude coordinates data information of data, and the Pixel Dimensions of the icon of the data are corresponded to, the determining and number According to relative position of the corresponding icon in each slice base map;
Data are marked and drawed to each relative position being sliced in base map in real time with form of icons.
It is described with engine map in the above method provided in an embodiment of the present invention in a kind of possible embodiment The slice base map after current mark and draw is added to the Background From Layer, specifically includes as Background From Layer by tile:
Using the grid tile service figure layer of access engine map tile as Background From Layer, described in after current mark and draw Slice base map is added to grid tile service figure layer.
The embodiment of the invention provides a kind of electronic map data load device, comprising: acquiring unit, cutting unit, Mark and draw unit and superpositing unit;Wherein,
The acquiring unit is used for data and caching needed for obtaining lookup point of interest in database;
The map reference range that the cutting unit is used to access active user carries out cutting, generates multiple blank and back The transparent slice base map of scape and the corresponding coordinate range of every slice base map;
The unit of marking and drawing is used for interest in the data according to the coordinate range and caching that are sliced base map described in every The coordinate data information of the longitude and latitude of point determines position of the icon corresponding with the data in the slice base map simultaneously It marks and draws in real time and arrives the slice base map;
The superpositing unit is used for using the tile of engine map as Background From Layer, by the slice bottom after current mark and draw Figure is added to the Background From Layer.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the cutting unit is specific For:
The map reference range of active user's access is subjected to cutting, generates the identical blank of multiple sizes and background transparent Slice base map and the corresponding coordinate range of every slice base map;Wherein, the shape of the slice base map is rectangle.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the cutting unit is with certainly The mode of the definition setting slice base map size carries out cutting to the map reference range of user's current accessed.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the plotting unit is specific For:
According to the coordinate range and picture of the slice base map of the Pixel Dimensions of icon corresponding with the data and every Plain size generates the corresponding buffering coordinate range with boundary;
The data of caching are subjected to matching operation with corresponding buffering coordinate range, it is corresponding to obtain each slice base map Data cached collection;
According to the Pixel Dimensions and corresponding buffering coordinate range for being sliced base map described in every, the data cached concentration is every The Longitude and latitude coordinates data information of data, and the Pixel Dimensions of the icon of the data are corresponded to, the determining and number According to relative position of the corresponding icon in each slice base map;
Data are marked and drawed to each relative position being sliced in base map in real time with form of icons.
In a kind of possible embodiment, in above-mentioned apparatus provided in an embodiment of the present invention, the superpositing unit is specific For:
Using the grid tile service figure layer of access engine map tile as Background From Layer, described in after current mark and draw Slice base map is added to grid tile service figure layer.
The present invention implements exemplary beneficial effect
The embodiment of the invention provides a kind of method and device of electronic map data load, electronic map data loads Method include: from database obtain search point of interest needed for data and caching;The map reference that active user is accessed Range carries out cutting, generates the slice base map and the corresponding coordinate range of every slice base map of multiple blank and background transparent;Root According to every be sliced base map coordinate range and caching data in point of interest longitude and latitude coordinate data information, determine with Slice base map is arrived in position and in real time plotting of the corresponding icon of data in slice base map;Using the tile of engine map as background Slice base map after current mark and draw is added to Background From Layer by figure layer.It is loaded, will be used by the data buffer storage to point of interest in this way The body of a map or chart cutting of family access is the slice base map of multiple blank and background transparent, the coordinate range of corresponding every slice base map With the coordinate data information of longitude and latitude in the data of caching, position of the icon corresponding with data in slice base map is determined And marked and drawed in slice base map in real time, and then the slice base map after current plotting is superimposed with Background From Layer, realize big number Map according to amount point of interest shows effect, improves the data loading capacity of the big quantity point of interest of electronic map compared with the existing technology Grade and loading efficiency, the phenomenon that improving longer client waiting time and white screen.
Detailed description of the invention
Fig. 1 is the method flow diagram of electronic map data provided in an embodiment of the present invention load;
Fig. 2 is the effect picture of the slice base map provided in an embodiment of the present invention marked and drawed icon to blank and background transparent;
Fig. 3 is the slice base map and the superimposed effect of Background From Layer after the icon provided in an embodiment of the present invention by plotting Figure;
Fig. 4 is the electronic map bandwagon effect figure after big data quantity point of interest provided in an embodiment of the present invention load;
Fig. 5 is the apparatus structure schematic diagram of electronic map data provided in an embodiment of the present invention load.
Specific embodiment
With reference to the accompanying drawing, to the specific reality of the method and device of electronic map data provided in an embodiment of the present invention load The mode of applying is described in detail.
The embodiment of the invention provides a kind of methods of electronic map data load, as shown in Figure 1, may include following step It is rapid:
S101, data and caching needed for obtaining lookup point of interest in database;
S102, the map reference range of active user's access is subjected to cutting, generates cutting for multiple blank and background transparent Piece base map and the corresponding coordinate range of every slice base map;
The coordinate of the longitude and latitude of point of interest in the data of S103, the coordinate range that base map is sliced according to every and caching Data information determines that slice base map is arrived in position and in real time plotting of the icon corresponding with data in slice base map;
S104, using the tile of engine map as Background From Layer, the slice base map after current mark and draw is added to Background Layer.
In the method for above-mentioned electronic map data load provided in an embodiment of the present invention, pass through the data buffer storage to point of interest Load, wherein in Map Service starting, so that it may obtain required mass data from database, generation can it is high simultaneously Hair read-write it is data cached, every data may include: interest vertex type, longitude and latitude coordinate data, working condition, affiliated Organization number etc. (can increase field according to business demand);And then the body of a map or chart cutting for accessing user is multiple blank and back The coordinate data of longitude and latitude in the transparent slice base map of scape, the coordinate range of corresponding every slice base map and the data of caching Information determines that position and in real time plotting of the icon corresponding with data in slice base map, then will be current to slice base map Slice base map after plotting is superimposed with Background From Layer, and the map for realizing big data quantity point of interest shows effect, relative to existing Technology improves the data load magnitude and loading efficiency of the big quantity point of interest of electronic map, improve the client waiting time compared with The phenomenon that long and white screen, in addition, the method for electronic map data provided in an embodiment of the present invention load can use java technology It realizes, can support cross-platform, the advantage easily disposed with lightweight.
In the specific implementation, in the above method provided in an embodiment of the present invention, step S102 can be specifically included: will be current The map reference range of user's access carries out cutting, generates the slice base map of the identical blank of multiple sizes and background transparent and every Open the corresponding coordinate range of slice base map;Wherein, the shape for being sliced base map is rectangle.Specifically, provided in an embodiment of the present invention It, can be by the coordinate of the electronic map of user's current accessed in order to improve the data loading efficiency of electronic map in the above method Range carries out cutting, generates the slice base map and the corresponding seat of every slice base map of the identical blank of multiple sizes and background transparent Mark range, the corresponding coordinate range of every in this way slice base map, need data to be loaded can respectively with every slice base map It is matched, the size and shape for being sliced base map due to every is identical, and then can use multithreading service, every slice base map A corresponding threading service, so as to improve request of data and return to the efficiency of load.
Specifically, in the prior art, for example, in a manner of Marker on map show video point, the program be A DOM Document Object Model is marked and drawed in browser as marker, then to the letter for needing to show on this marker object binding Breath, the various attribute informations etc. in the message box for needing to show after object picture icon, click including displaying, message box, Therefore a marker point occupies certain browser memory size, with the order of magnitude for the interest point object for needing to show Increase, from tens, at hundred, it is thousands of to it is tens of thousands of in addition 100,000 plus, the browser memory total size that these marker points occupy also with The order of magnitude increase and rise violently, since the memory that browser accounts for operating system is limited, when marker point to certain amount When, because memory occupies excessive, lead to map dragging very Caton, other operations are also relatively slow on map or even directly result in Browser, which is run quickly, bursts, and verified IE series major browsers can only carry within 1500 points.And it is provided in an embodiment of the present invention The method of electronic map data load, every blank and the corresponding coordinate range of background transparent slice base map, need to be loaded Data can be matched with every slice base map respectively, and the size and shape for being sliced base map due to every is identical, and then can be with Using multithreading service, the corresponding threading service of every slice base map in this way may be used so as to improve the efficiency of data load To realize other operations of the data second grade load of 150000 ranks without influencing map, it less will lead to browser and run quickly routed show As occurring.
In the specific implementation, in the above method provided in an embodiment of the present invention, by the map reference model of active user's access Carry out cutting is enclosed, can be specifically included: the map of user's current accessed being sat in a manner of customized setting slice base map size It marks range and carries out cutting.Specifically, in the above method provided in an embodiment of the present invention, map reference range cutting is generated more The size for opening blank and background transparent slice base map customized can be arranged, and can be directed to different engine map services in this way, Using customized mode, the coordinate range of to map carries out cutting, forms blank and background transparent is sliced base map, and then will need The data of load are marked and drawed in real time to slice base map, i.e., the method support times of electronic map data load provided in an embodiment of the present invention What has issued engine map and the service of tile pyramid service, and across engine map service may be implemented.
In the specific implementation, in the above method provided in an embodiment of the present invention, step S103 can be specifically included:
The coordinate range and Pixel Dimensions of base map are sliced according to the Pixel Dimensions of icon corresponding with data and every, Generate the corresponding buffering coordinate range with boundary;
The data of caching are subjected to matching operation with corresponding buffering coordinate range, obtain the corresponding caching of each slice base map Data set;
According to the Pixel Dimensions and corresponding buffering coordinate range of slice base map, the data cached longitude for concentrating every data With the Pixel Dimensions of latitude coordinate data information and the icon of corresponding data, determine icon corresponding with data in each slice Relative position in base map;
Data are marked and drawed to each relative position being sliced in base map in real time with form of icons.
Specifically, in the above method provided in an embodiment of the present invention, according to the Pixel Dimensions of icon corresponding with data, with And the coordinate range and Pixel Dimensions of every slice base map, the corresponding buffering coordinate range with boundary is generated, and then using more Threading service, the corresponding threading service of every slice base map, by the data of caching and the progress of corresponding buffering coordinate range With operation, the corresponding data cached collection of each slice base map is obtained, thus according to the Pixel Dimensions of slice base map and corresponding buffering The picture of the icon of coordinate range, the data cached Longitude and latitude coordinates data information for concentrating every data and corresponding data Plain size obtains relative position of the icon corresponding with data in each slice base map, and in real time marks and draws icon to slice bottom It is as shown in Figure 2 to mark and draw result for figure.
Specifically, in the prior art, electronic map is shown with approximate gimmick using the exhibition method of polymerization, wherein Main algorithm has the point aggregating algorithm (Grid-based Clustering) based on grid, the point aggregating algorithm based on distance (Distance-based Clustering) and point aggregating algorithm based on grid and apart from combination.Most commonly used third Point of the kind algorithm based on grid and apart from combination polymerize principle are as follows: does not have any known congruent point when initial, then to each point It is iterated, calculates the outsourcing square an of point, if the outsourcing square of the outsourcing square of this point and existing congruent point It is non-intersecting, then create congruent point (be different from front the algorithm based on direct range, here be not calculate point with point between at a distance from, But the outsourcing square an of point is calculated, and square side length is specified by user or a default value is arranged in program), if phase It hands over, then the point is aggregated in the congruent point, if point intersects with the outsourcing square of multiple known congruent points, calculate the point It to the distance of congruent point, is aggregated in nearest congruent point, so recycles, finished until all the points all traverse, each contracting It puts rank and all traverses all original point elements again, only mark a Marker point, while the point is represented how many point Number be indicated on icon, the program is only applicable to macroscopic view and shows point substantially distribution situation, is unable to satisfy safety-security area public affairs Requirement is checked to the actual position and real-time video of video and other points of interest by peace department, once and data volume rise to 10 Ten thousand ranks gather the point bit quantity after dissipating and also result in map Caton.And electronic map data load provided in an embodiment of the present invention Method, can according to every blank and background transparent slice base map coordinate range, using multithreading service, every slice bottom Scheme a corresponding threading service, the positional relationship of matching operation data and slice base map, obtains icon corresponding with data respectively Relative position in slice base map, and icon is marked and drawed in real time to slice base map, the physical location of point of interest can be shown completely, Convenient for the informationization application of safety-security area.
In the specific implementation, in the above method provided in an embodiment of the present invention, step S104 can be specifically included: being used and connect Enter the grid tile service figure layer of engine map tile as Background From Layer, by it is current it is each mark and draw after slice base map be added to grid Lattice tile service figure layer.Specifically, in the above method provided in an embodiment of the present invention, using the grid of access engine map tile Tile service figure layer as Background From Layer, such as can access Police Geographic Information System, Google Maps, day map, ArcGIS, The engine maps service such as Baidu map, Amap, MapABC, i.e., electronic map data load provided in an embodiment of the present invention Method can support any engine map for having issued tile pyramid service and service, and then use transparent tile rotating savings figure Data are marked and drawed the slice base map for arriving blank and background transparent, the slice bottom that will have been marked and drawed by target mode in real time with form of icons The grid tile service map overlay of figure and access engine map service, after superposition as shown in figure 3, to realize big data The map of amount shows effect, as shown in figure 4, big to be realized using the method for electronic data provided in an embodiment of the present invention load The effect of data volume point of interest load.The data load magnitude of the big quantity point of interest of electronic map is improved compared with the existing technology And loading efficiency, the phenomenon that improving longer client waiting time and white screen.
Specifically, in the prior art, using using numerous points of interest as a figure layer, i.e., the form of figure layer is in browser visitor Family end show electronic map, specific principle for the big data quantity point that will be shown as special map engine such as ArcGIS, one of Baidu special topic point figure layer, then issue the figure layer and service at a mapserver, in server-side handle The service of this figure layer and the base map service of map are superimposed together, and generate a picture, and client browser only needs to load this One whole picture is shown, however uses the mode of client load backstage figure layer service, when needing to load big data quantity When, the server end generation plotting figure layer is slower, and it is time-consuming more, it, can not when the continuous moving map position of client That stops requests to service to server end, and client will appear white screen phenomenon at this time, just will appear map after a while, out figure efficiency It is poor with customer experience.And the method for electronic map data load provided in an embodiment of the present invention, it is marked and drawed using transparent tile The mode of icon is marked and drawed data in real time to blank and background transparent slice base map with form of icons, the slice bottom that will have been marked and drawed The grid tile service map overlay of figure and access engine map service, so that the map for realizing big data quantity shows effect, It is longer and white to improve the client waiting time for the data loading efficiency for improving the big quantity of electronic map compared with the existing technology The phenomenon that screen.
Based on the same inventive concept, the embodiment of the invention provides a kind of devices of electronic map data load, such as Fig. 5 institute Show, may include: acquiring unit 01, cutting unit 02, marks and draws unit 03 and superpositing unit 04;Wherein, acquiring unit 01 is used for Data and caching needed for obtaining lookup point of interest in database;The map that cutting unit 02 is used to access active user is sat It marks range and carries out cutting, generate the slice base map and the corresponding coordinate range of every slice base map of multiple blank and background transparent; Mark and draw the seat that unit 03 is used to be sliced the longitude and latitude of point of interest in the coordinate range of base map and the data of caching according to every Data information is marked, determines that slice base map is arrived in position and in real time plotting of the icon corresponding with data in slice base map;Superposition is single Slice base map after current plotting is added to Background From Layer for using the tile of engine map as Background From Layer by member 04.
The device of above-mentioned electronic map data load provided in an embodiment of the present invention, can be by acquiring unit to point of interest Data buffer storage, the body of a map or chart cutting accessed user by cutting unit is the slice bottom of multiple blank and background transparent Figure marks and draws the coordinate data information that unit is sliced longitude and latitude in the coordinate range of base map and the data of caching according to every, Determine that slice base map is arrived in position and in real time plotting of the icon corresponding with data in slice base map, and then will by superpositing unit Slice base map after current plotting is superimposed with Background From Layer, and the map for realizing big data quantity point of interest shows effect, relatively The data load magnitude and loading efficiency of the big quantity point of interest of electronic map are improved in the prior art, improves client waiting The phenomenon that time is longer and white screen.
In the specific implementation, in above-mentioned apparatus provided in an embodiment of the present invention, cutting unit is specifically used for: by active user The map reference range of access carries out cutting, and the slice base map for generating the identical blank of multiple sizes and background transparent and every cut The corresponding coordinate range of piece base map;Wherein, the shape for being sliced base map is rectangle.Specifically, provided in an embodiment of the present invention above-mentioned In device, in order to improve the data loading efficiency of electronic map, can by cutting unit by user's current accessed electronically The coordinate range of figure carries out cutting, generates the identical blank of multiple sizes and background transparent is sliced base map and every slice base map pair The coordinate range answered, wherein cutting unit is in a manner of customized setting slice base map size to the map of user's current accessed Coordinate range carries out cutting.The corresponding coordinate range of every in this way slice base map needs data to be loaded can respectively and often It opens slice base map to be matched, the size and shape for being sliced base map due to every is identical, and then can use multithreading service, often The corresponding threading service of slice base map is opened, so as to improve request of data and return to the efficiency loaded.
In the specific implementation, in above-mentioned apparatus provided in an embodiment of the present invention, mark and draw unit be specifically used for: according to data The coordinate range and Pixel Dimensions of the Pixel Dimensions of corresponding icon and every slice base map generate corresponding with boundary Buffer coordinate range;The data of caching are subjected to matching operation with corresponding buffering coordinate range, it is corresponding to obtain each slice base map Data cached collection;The Pixel Dimensions and corresponding buffering coordinate range of base map are sliced according to every, it is data cached to concentrate every The Pixel Dimensions of the icon of the Longitude and latitude coordinates data information and corresponding data of data determine figure corresponding with data It is marked on the relative position in each slice base map;Data are marked and drawed to each relative position being sliced in base map in real time with form of icons. Specifically, it in above-mentioned apparatus provided in an embodiment of the present invention, is cut according to the Pixel Dimensions of icon corresponding with data and every The coordinate range and Pixel Dimensions of piece base map generate the corresponding buffering coordinate range with boundary, and then use multithreading service, The data of caching are carried out matching operation with corresponding buffering coordinate range, obtained by the corresponding threading service of every slice base map The corresponding data cached collection of each slice base map is obtained, the Pixel Dimensions and corresponding buffering coordinate range of base map are sliced according to every, The Pixel Dimensions of the icon of the data cached Longitude and latitude coordinates data information for concentrating every data and corresponding data, are obtained Relative position of the icon corresponding with data in each slice base map is taken, and icon is marked and drawed in real time to slice base map, Jin Erti The efficiency of high data load.
In the specific implementation, in above-mentioned apparatus provided in an embodiment of the present invention, superpositing unit is specifically used for: using access ground The grid tile service figure layer of figure engine tile as Background From Layer, by it is current it is each mark and draw after slice base map be added to grid watt Piece services figure layer.Specifically, above-mentioned apparatus provided in an embodiment of the present invention can be supported any to have issued tile pyramid service Engine map and service, using transparent tile plot target mode, data are marked and drawed in real time to blank with form of icons and Background transparent is sliced base map, is taken the slice base map marked and drawed and the grid tile for accessing engine map service by superpositing unit Business map overlay improves electronically compared with the existing technology so that the map for realizing big data quantity point of interest shows effect The data load magnitude and loading efficiency for scheming big quantity point of interest, the phenomenon that improving longer client waiting time and white screen.
The embodiment of the invention provides a kind of method and device of electronic map data load, electronic map data loads Method include: from database obtain search point of interest needed for data and caching;The map reference that active user is accessed Range carries out cutting, generates the slice base map and the corresponding coordinate range of every slice base map of multiple blank and background transparent;Root The coordinate data information of the longitude and latitude of point of interest in the coordinate range of base map and the data of caching is sliced according to every, really The slice base map is arrived in position and in real time plotting of the fixed icon corresponding with data in the slice base map;With engine map Tile as Background From Layer, by it is current it is each mark and draw after slice base map be added to Background From Layer.Pass through the number to point of interest in this way It is loaded according to caching, the body of a map or chart cutting by user's access is the slice base map of multiple blank and background transparent, and corresponding every is cut The coordinate data information of longitude and latitude in the coordinate range of piece base map and the data of caching determines that icon corresponding with data exists Position in slice base map and marking and drawing in real time is sliced in base map, and then by the slice base map and Background From Layer after current plotting Superposition, the map for realizing big data quantity point of interest show effect, it is emerging to improve the big quantity of electronic map compared with the existing technology The phenomenon that data of interest point load magnitude and loading efficiency, improve longer client waiting time and white screen.
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 shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
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.
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 (8)

1. a kind of method of electronic map data load characterized by comprising
Data and caching needed for obtaining lookup point of interest in database;
The map reference range of active user's access is subjected to cutting, generates the slice base map of multiple blank and background transparent and every Zhang Suoshu is sliced the corresponding coordinate range of base map;
According to the coordinate of the longitude and latitude of point of interest in the data of the coordinate range and caching that are sliced base map described in every Data information determines that the slice bottom is arrived in position and in real time plotting of the icon corresponding with the data in the slice base map Figure;
Using the tile of engine map as Background From Layer, the slice base map after current mark and draw is added to the Background Layer;
According to the coordinate of the longitude and latitude of point of interest in the data of the coordinate range and caching that are sliced base map described in every Data information determines that the slice bottom is arrived in position and in real time plotting of the icon corresponding with the data in the slice base map Figure, specifically includes:
According to the coordinate range and pixel ruler of the slice base map of the Pixel Dimensions of icon corresponding with the data and every It is very little, generate the corresponding buffering coordinate range with boundary;
The data of caching are subjected to matching operation with corresponding buffering coordinate range, obtain the corresponding caching of each slice base map Data set;
According to the Pixel Dimensions and corresponding buffering coordinate range for being sliced base map described in every, every number of the data cached concentration According to Longitude and latitude coordinates data information, and the corresponding data icon Pixel Dimensions, it is determining with the data pair Relative position of the icon answered in each slice base map;
Data are marked and drawed to each relative position being sliced in base map in real time with form of icons.
2. the method as described in claim 1, which is characterized in that the map reference range by active user's access is cut Point, the slice base map and the corresponding coordinate range of every slice base map of multiple blank and background transparent are generated, is specifically included:
The map reference range of active user's access is subjected to cutting, generates cutting for the identical blank of multiple sizes and background transparent Piece base map and the corresponding coordinate range of every slice base map;Wherein, the shape of the slice base map is rectangle.
3. method according to claim 2, which is characterized in that the map reference range by active user's access is cut Point, it specifically includes:
Cutting is carried out to the map reference range of user's current accessed in a manner of the customized setting slice base map size.
4. the method as described in claim 1, which is characterized in that the tile using engine map will work as Background From Layer The slice base map after preceding plotting is added to the Background From Layer, specifically includes:
Using the grid tile service figure layer of access engine map tile as Background From Layer, by the slice after current mark and draw Base map is added to grid tile service figure layer.
5. a kind of device of electronic map data load characterized by comprising acquiring unit, cutting unit, mark and draw unit and Superpositing unit;Wherein,
The acquiring unit is used for data and caching needed for obtaining lookup point of interest in database;
The map reference range that the cutting unit is used to access active user carries out cutting, generates multiple blank and background is saturating Bright slice base map and the corresponding coordinate range of every slice base map;
The unit of marking and drawing is used for point of interest in the data according to the coordinate range and caching that are sliced base map described in every The coordinate data information of longitude and latitude determines corresponding with data icon in the position being sliced in base map and real-time Mark and draw the slice base map;
The superpositing unit is used to fold the slice base map after current mark and draw using the tile of engine map as Background From Layer It is added to the Background From Layer;
The plotting unit is specifically used for:
According to the coordinate range and pixel ruler of the slice base map of the Pixel Dimensions of icon corresponding with the data and every It is very little, generate the corresponding buffering coordinate range with boundary;
The data of caching are subjected to matching operation with corresponding buffering coordinate range, obtain the corresponding caching of each slice base map Data set;
According to the Pixel Dimensions and corresponding buffering coordinate range for being sliced base map described in every, every number of the data cached concentration According to Longitude and latitude coordinates data information, and the corresponding data icon Pixel Dimensions, it is determining with the data pair Relative position of the icon answered in each slice base map;
Data are marked and drawed to each relative position being sliced in base map in real time with form of icons.
6. device as claimed in claim 5, which is characterized in that the cutting unit is specifically used for:
The map reference range of active user's access is subjected to cutting, generates cutting for the identical blank of multiple sizes and background transparent Piece base map and the corresponding coordinate range of every slice base map;Wherein, the shape of the slice base map is rectangle.
7. device as claimed in claim 6, which is characterized in that the cutting unit is big with the customized setting slice base map Small mode carries out cutting to the map reference range of user's current accessed.
8. device as claimed in claim 5, which is characterized in that the superpositing unit is specifically used for:
Using the grid tile service figure layer of access engine map tile as Background From Layer, by the slice after current mark and draw Base map is added to grid tile service figure layer.
CN201510922569.8A 2015-12-11 2015-12-11 A kind of method and device of electronic map data load Active CN105574102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510922569.8A CN105574102B (en) 2015-12-11 2015-12-11 A kind of method and device of electronic map data load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510922569.8A CN105574102B (en) 2015-12-11 2015-12-11 A kind of method and device of electronic map data load

Publications (2)

Publication Number Publication Date
CN105574102A CN105574102A (en) 2016-05-11
CN105574102B true CN105574102B (en) 2018-12-07

Family

ID=55884233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510922569.8A Active CN105574102B (en) 2015-12-11 2015-12-11 A kind of method and device of electronic map data load

Country Status (1)

Country Link
CN (1) CN105574102B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919592A (en) * 2015-12-24 2017-07-04 北京计算机技术及应用研究所 The method for setting up Multi-stage electronic map
CN110019618B (en) * 2017-12-06 2022-12-09 华平信息技术股份有限公司 Method and system for presenting multi-layer data of electronic map, memory and equipment
CN110535893A (en) * 2018-05-24 2019-12-03 视联动力信息技术股份有限公司 A kind of map datum rendering method and device based on browser
CN110825989A (en) * 2018-07-23 2020-02-21 北京京东尚科信息技术有限公司 Picture display method and device, electronic equipment and readable medium
CN109241213B (en) * 2018-07-26 2021-08-06 汉华易美(天津)图像技术有限公司 Electronic map point location aggregation method and device
CN109889785B (en) * 2019-02-26 2021-01-01 高新兴科技集团股份有限公司 Unity-based POI label display virtual simulation method
CN110930857B (en) * 2019-05-31 2022-04-15 上海华兴数字科技有限公司 Method and device for drawing scattered points
CN111260753B (en) * 2020-02-13 2024-01-12 浙江华睿科技股份有限公司 Map drawing method and device, storage medium and electronic device
CN112633980B (en) * 2020-12-25 2021-11-02 环球车享汽车租赁有限公司 Method, electronic device, and storage medium for vehicle website presentation
CN113722414A (en) * 2021-09-02 2021-11-30 北京房江湖科技有限公司 Drawing method and drawing system of label

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314479A (en) * 2011-07-05 2012-01-11 万达信息股份有限公司 Method for preventing repeated marking of slice map
CN102340536A (en) * 2011-07-13 2012-02-01 北京世纪高通科技有限公司 Method and device for searching points of interest
CN103955955A (en) * 2014-04-30 2014-07-30 深圳华强信息产业有限公司 Electronic map information processing method and device
CN104731783A (en) * 2013-12-18 2015-06-24 高德软件有限公司 Method and device for showing interesting points

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9881590B2 (en) * 2014-03-12 2018-01-30 HERE Global, B.V. Method and apparatus for multi-resolution point of interest boundary identification in digital map rendering

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314479A (en) * 2011-07-05 2012-01-11 万达信息股份有限公司 Method for preventing repeated marking of slice map
CN102340536A (en) * 2011-07-13 2012-02-01 北京世纪高通科技有限公司 Method and device for searching points of interest
CN104731783A (en) * 2013-12-18 2015-06-24 高德软件有限公司 Method and device for showing interesting points
CN103955955A (en) * 2014-04-30 2014-07-30 深圳华强信息产业有限公司 Electronic map information processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
web专题地图叠加方法;JuicyCat;《网易博客》;20100629;第1页第1-2段、第3页第2-7段 *

Also Published As

Publication number Publication date
CN105574102A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN105574102B (en) A kind of method and device of electronic map data load
CN105447101B (en) Map engine implementation method and device
US8903900B2 (en) Managing map elements using aggregate feature identifiers
CN110675728B (en) Generation method, device and equipment of thermodynamic diagram and computer readable storage medium
EP2954468B1 (en) Providing indoor facility information on a digital map
CN105164683B (en) System and method for geo-location image
US20120017168A1 (en) Real time map rendering with data clustering and expansion and overlay
CN109829022A (en) A kind of the Internet map service system and construction method of fusion monitoring video information
RU124014U1 (en) PERSONALIZED INFORMATION SEARCH SYSTEM
DE202012013426U1 (en) Integrate maps and street views
CN103606192A (en) Wind field visual display method based on three-dimensional virtual globe
JP6623299B2 (en) Display method, apparatus and storage medium for map information
US20180322143A1 (en) Interactive Device With Three-Dimensional Display
Li et al. Webvrgis based city bigdata 3d visualization and analysis
US8848983B1 (en) System and method for ranking geographic features using viewshed analysis
CN111080782A (en) Visual system based on live-action three-dimensional geographic information system
DE202014010894U1 (en) System for disambiguation of the object selection
US10198456B1 (en) Systems and methods for data accuracy in a positioning system database
US11402232B2 (en) Off-viewport location indications for digital mapping
DE202013012486U1 (en) User interface for orienting a camera view towards surfaces within a 3-D map and facilities that incorporate the user interface
CN106844623A (en) A kind of smart city two-dimensional visualization display systems
CN109857825A (en) A kind of threedimensional model methods of exhibiting and system
CN109345946A (en) Map data displaying method, device, electronic equipment and computer storage medium
CN103902633B (en) A kind of method and its device, system of generation POI hot-zone data
US20230065027A1 (en) Gpu-based digital map tile generation method and system

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