CN109753546A - Map vector generation method, device, Electronic Design and computer-readable medium - Google Patents
Map vector generation method, device, Electronic Design and computer-readable medium Download PDFInfo
- Publication number
- CN109753546A CN109753546A CN201811335842.7A CN201811335842A CN109753546A CN 109753546 A CN109753546 A CN 109753546A CN 201811335842 A CN201811335842 A CN 201811335842A CN 109753546 A CN109753546 A CN 109753546A
- Authority
- CN
- China
- Prior art keywords
- vector
- map
- data
- symbolic coding
- tile
- 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.)
- Pending
Links
Landscapes
- Instructional Devices (AREA)
Abstract
This disclosure relates to a kind of map vector generation method, device, Electronic Design and computer-readable medium.This method comprises: obtaining map location data and permissions data to be drawn;It is determined according to the map location data and draws container data, the drafting container data includes vector tile and multiple figure layers;The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;The symbolic coding render and show on the vector tile to generate the map vector.A kind of map vector generation method, device, Electronic Design and the computer-readable medium of the disclosure, can visualize vector data, and then realize mapping in browser end.
Description
Technical field
This disclosure relates to computer information processing field, in particular to a kind of map vector generation method, device,
Electronic Design and computer-readable medium.
Background technique
With the development of computer technology and internet, visitor is significantly simplified based on B/S framework building GIS-Geographic Information System
The deployment of family end system reduces user using difficulty, while also greatly improving the maintainability of system.Current mature arrow
Measuring data visualization technique is that map datum is carried out storage management by backstage, and data are drawn and cut in server end
It is stored at tile, is obtained by browser and shown.It is this on a web browser based on the display of picture, there are many problems.By
It is insufficient to graph visualization tenability in browser itself, under the conditions of no plug-in unit, the network geographic information system of mainstream at present
System platform Real time displaying is all based on what the good grid tile of pre-generatmg carried out.This mode solves high concurrent access situation
Under.The low problem of response efficiency caused by server-side real-time rendering.But Dynamically Announce pattern adjustment can not be carried out simultaneously by bringing
The problem of.
Therefore, it is necessary to a kind of new map vector generation method, device, Electronic Design and computer-readable mediums.
Above- mentioned information are only used for reinforcing the understanding to the background of the disclosure, therefore it disclosed in the background technology part
It may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
In view of this, the disclosure provides a kind of map vector generation method, device, Electronic Design and computer-readable Jie
Matter can visualize vector data, and then realize mapping in browser end.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
According to the one side of the disclosure, a kind of map vector generation method is proposed, this method comprises: obtaining ground to be drawn
Figure position data and permissions data;It is determined according to the map location data and draws container data, the drafting container data packet
Include vector tile and multiple figure layers;The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;By the symbol
Coding render and shown on the vector tile to generate the map vector.
In a kind of exemplary embodiment of the disclosure, obtaining map location data to be drawn includes: by user's
Input acquisition of information map location data to be drawn;And it is mobile to obtain map position to be drawn by monitoring user's mouse
Set data.
In a kind of exemplary embodiment of the disclosure, the multiple figure layer is traversed according to the permissions data and extracts symbol
Coding comprises determining that the corresponding multiple vector element libraries of the multiple figure layer;Multiple vectors are traversed according to the permissions data to want
Extract vector element in plain library;And the symbolic coding is determined in symbol configuration according to the vector element.
In a kind of exemplary embodiment of the disclosure, multiple vector element libraries are traversed according to the permissions data and extract arrow
Amount element includes: the multiple vector element library of traversal to obtain multiple candidate vectors elements;According to the permissions data to institute
It states multiple candidate vectors elements and carries out rejecting processing, generate vector element.
In a kind of exemplary embodiment of the disclosure, the symbolic coding is subjected to rendering and on the vector tile
Shown that generate the map vector include: that the symbolic coding is carried out wash with watercolours in the browser constructed based on html5
It contaminates and is shown on the vector tile to generate the map vector.
In a kind of exemplary embodiment of the disclosure, the symbolic coding is subjected to rendering and on the vector tile
Shown with generate the map vector include: by the symbolic coding be based on IE browser and/or Safari browser and/
Or Chrome browser is rendered to generate map vector;The symbolic coding is rendered to generate map vector.
In a kind of exemplary embodiment of the disclosure, the symbolic coding is subjected to rendering and on the vector tile
Being it has been shown that, to generate the map vector include: the symbolic coding to be rendered to generate multiple pels;And pass through
The multiple pel is plotted in the vector tile to generate the map vector by unified Image Rendering interface.
In a kind of exemplary embodiment of the disclosure, the symbolic coding is rendered to generate multiple pel packets
It includes: the symbolic coding render according to its corresponding map vector;And pass through the symbol after rendering
Number coding generates multiple pels.
In a kind of exemplary embodiment of the disclosure, further includes: by modification symbol configuration in vector element with
The corresponding relationship of symbolic coding is to update the map vector.
According to the one side of the disclosure, a kind of map vector generating means are proposed, which includes: data module, is used for
Obtain map location data and permissions data to be drawn;Container module is drawn for being determined according to the map location data
Container data, the drafting container data includes vector tile and multiple figure layers;Figure layer module, for according to the permissions data
It traverses the multiple figure layer and extracts symbolic coding;Rendering module, for the symbolic coding to be carried out rendering and in the vector
It is shown on tile to generate the map vector.
According to the one side of the disclosure, a kind of electronic equipment is proposed, which includes: one or more processors;
Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, so that one
A or multiple processors realize such as methodology above.
According to the one side of the disclosure, it proposes a kind of computer-readable medium, is stored thereon with computer program, the program
Method as mentioned in the above is realized when being executed by processor.
According to map vector generation method, device, Electronic Design and the computer-readable medium of the disclosure, according to describedly
Figure position data, which determines, draws container data, traverses the multiple figure layer according to the permissions data and extracts symbolic coding;In turn
The symbolic coding render and show in a manner of generating the map vector on the vector tile.It can
Vector data is visualized, and then realizes mapping in browser end.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, above and other target, feature and the advantage of the disclosure will
It becomes more fully apparent.Drawings discussed below is only some embodiments of the present disclosure, for the ordinary skill of this field
For personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the system block diagram of a kind of map vector generation method shown according to an exemplary embodiment and device.
Fig. 2 is a kind of flow chart of map vector generation method shown according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of the map vector generation method shown according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of the map vector generation method shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of map vector generating means shown according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Fig. 7 is that a kind of computer readable storage medium schematic diagram is shown according to an exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can with technical solution of the disclosure without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
It should be understood that although herein various assemblies may be described using term first, second, third, etc., these groups
Part should not be limited by these terms.These terms are to distinguish a component and another component.Therefore, first group be discussed herein below
Part can be described as the second component without departing from the teaching of disclosure concept.As used herein, term " and/or " include associated
All combinations for listing any of project and one or more.
It will be understood by those skilled in the art that attached drawing is the schematic diagram of example embodiment, module or process in attached drawing
Necessary to not necessarily implementing the disclosure, therefore it cannot be used for the protection scope of the limitation disclosure.
Fig. 1 is the system block diagram of a kind of map vector generation method shown according to an exemplary embodiment and device.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 101,102,103
The application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user
Institute's map class website provides the back-stage management server supported.Back-stage management server can request the map inquiry received
Etc. data analyze etc. processing, and processing result (such as showing map, show the specifying information on map) is fed back into end
End equipment.
Server 105 can for example obtain map location data and permissions data to be drawn;Server 105 can such as basis
The map location data, which determine, draws container data, and the drafting container data includes vector tile and multiple figure layers;Service
Device 105 for example can traverse the multiple figure layer according to the permissions data and extract symbolic coding;Server 105 can for example will be described
Symbolic coding render and shown on the vector tile to generate the map vector.
Server 105 can be the server of an entity, also may be, for example, that multiple servers form, in server 105
A part can be for example as the data module in the disclosure, for obtaining map location data and permissions data to be drawn;
A part in server 105 can be for example as the container module in the disclosure, for being determined according to the map location data
Container data is drawn, the drafting container data includes vector tile and multiple figure layers;A part in server 105 can be such as
As the figure layer module in the disclosure, symbolic coding is extracted for traversing the multiple figure layer according to the permissions data, and
A part in server 105 can also be for example as the rendering module in the disclosure, for rendering the symbolic coding
And it is shown on the vector tile to generate the map vector.
It should be noted that map vector generation method provided by the embodiment of the present disclosure can be executed by server 105,
Correspondingly, map vector generating means can be set in server 105.And it is supplied to the page end that user carries out map view
It is normally in terminal device 101,102,103.
According to map vector generation method, device, Electronic Design and the computer-readable medium of the disclosure, according to describedly
Figure position data, which determines, draws container data, traverses the multiple figure layer according to the permissions data and extracts symbolic coding;In turn
The symbolic coding render and show in a manner of generating the map vector on the vector tile.It can
Vector data is visualized, and then realizes mapping in browser end.
Fig. 2 is a kind of flow chart of map vector generation method shown according to an exemplary embodiment.Map vector is raw
Step S202 to S208 is included at least at method 20.
As shown in Fig. 2, obtaining map location data and permissions data to be drawn in S202.User can for example be passed through
Input acquisition of information map location data to be drawn;And it is mobile to obtain map to be drawn by monitoring user's mouse
Position data.
Specifically can for example, monitoring user browser end input operate, when user inputs information in the search window,
The address relevant information in input information is extracted, to determine map location data to be drawn.
Can also for example, monitoring user mouse action, when user by mouse carry out slide in current map when,
According to the range that user's mouse slides, map location data to be drawn are determined.It is using current map as base with the map drawn
Level is set, the data drawn again being extended on current map.
It can also be for example, the mouse action of user be monitored, when user is zoomed in or out in current map by mouse
When operation, according to the instruction that user's mouse zooms in or out, map location data to be drawn are determined.With draw map be with
Current map is benchmark position, the data drawn again being extended on current map.
It in S204, is determined according to the map location data and draws container data, the drafting container data includes arrow
Measure tile and multiple figure layers.It wherein, will be in advance in html file when JavaScript API relevant using map
The label of one div of middle creation, then all mappings work can all carry out in this label, this label is temporarily known as
Map cases.Wherein, api function, operating system other than the execution of coordinate application, Memory Allocation, system resource management,
It is also simultaneously a very big service centre, calls the various services (each service is a function) of this service centre,
Application program can be helped to achieve the purpose that unlatching form, generating writing pattern, using peripheral equipment, due to pair of these function services
It likes application program (Application), so referred to as Application Programming Interface, abbreviation API
Function.
In one embodiment, drawing container data includes vector tile and multiple figure layers, and map vector tile is a kind of
Novel mode.Map datum can be transmitted in map vector tile with the formats piecemeal such as json, in browser end benefit
Map is being shown with front end frame.The volume of transmitted data of vector tile is few, and server stress is small, and rendering is facilitated to become each
The map of kind various kinds.
In one embodiment, the figure layer that vector tile is named by one group is constituted.Each figure layer include geometric element and
Metadata information.The figure layer format of design can guarantee that figure layer data can be arranged in order in memory, thus in figure layer group
It adds a new figure layer and does not just have to change existing data in end.
The figure layer of vector tile has the feature that every block of vector tile should contain at least one figure layer, each figure layer
Element should be contained at least one.
Figure layer must be comprising a version field as major version number, and figure layer must include a name field.Figure layer
In each element may include one or more key-value as its metadata.Key the and value quilt of all elements
Index is two lists: keys and values respectively, shared by all elements in figure layer.
Each element of figure layer keys field is character string.Each element of figure layer values field is a plurality of types of
The coding of value.Values field contains the value of all elements in figure layer, and each value can by it
Call number reference in values list, the call number of first value is 0.
Figure layer must include an extent field, indicate the width and height of tile, in round figures.In vector tile
The range that can define beyond extent of geometric coordinate.Geometric element beyond extent range is frequently used to as buffering
Area, to render the element overlapped in muti-piece adjacent tiles.
In S206, the multiple figure layer is traversed according to the permissions data and extracts symbolic coding.Wherein, in vector tile
Geometric data be defined as screen coordinate system.The upper left corner (display default is such) of tile is the origin of coordinate system.X axis is right
It is positive, is positive under Y-axis.Coordinate in geometric figure is necessary for integer.
Geometric figure is stored in the figure layer of vector tile, and geometric figure is encoded as the one of the field of element
A 32 without character type integer sequence.Decoder parses these integer sequences as a series of orderly behaviour for generating geometric figure
Make.
In one embodiment, the multiple figure layer extraction symbolic coding is traversed according to the permissions data to comprise determining that
The corresponding multiple vector element libraries of the multiple figure layer;Multiple vector element libraries extraction vectors are traversed according to the permissions data to want
Element;And the symbolic coding is determined in symbol configuration according to the vector element.It specifically can be for example, being directed to different use
Different operating rights is arranged in family, and the symbolic coding that different users can obtain is distinguished.
In one embodiment, traversing multiple vector element libraries to extract vector element according to the permissions data includes: time
The multiple vector element library is gone through to obtain multiple candidate vectors elements;According to the permissions data to the multiple candidate vectors
Element carries out rejecting processing, generates vector element.
In one embodiment, can such as party A-subscriber permission with higher, party A-subscriber in the map for checking B location (exhibition
Show that B location map needs to load multiple vector tiles) 100 symbolic codings can be obtained.100 symbolic codings can represent different
Figure and Image can may be, for example, elevation information for example, show the various details in the map after later rendering,
The information such as regional weather information, traffic information and venue.
In one embodiment, for example party B-subscriber there can be lower permission, party B-subscriber can obtain in the map for checking B location
Take 80 symbolic codings.80 symbolic codings can represent different Figure and Images, can be for example, display should after later rendering
Various details in map may be, for example, the information such as elevation information, venue.
In one embodiment, can also be drawn a portrait according to different users is the different permission of user setting, can for example for
Label is the female user of " makeups ", shows the dress ornament class mall information near its searching position emphatically, and is " beauty for label
The user of food ", shows emphatically the food and drink relevant information etc. near its searching position, can be according to the grade of user or feature etc.
The different permission of various feature-sets, to carry out personalized displaying in map scene, setting the application about permission is not
As limit.
In S208, the symbolic coding render and show on the vector tile to generate the arrow
Quantity map.The symbolic coding is carried out to render and carry out on the vector tile in the browser constructed based on html5
Display is to generate the map vector.Standard of the html5 as next generation html assigns the better meaning of webpage and structure.Base
Possess shorter starting time and faster networking speeds in the application of html5, offline Web can be supported to apply.
In one embodiment, the symbolic coding a variety of browsers are based on to render;And by the institute after rendering
It states symbolic coding and generates map vector;A variety of browsers include: IE browser and/or Safari browser and/or
Chrome browser.
In one embodiment, the symbolic coding is subjected to rendering and is shown on the vector tile to generate
The map vector includes: to render the symbolic coding to generate multiple pels;And pass through unified Image Rendering
The multiple pel is plotted in the vector tile to generate the map vector by interface.
In one embodiment, the symbolic coding is rendered to generate multiple pels includes: to compile the symbol
Code rendered according to its corresponding map vector;And multiple figures are generated by the symbolic coding after rendering
Member.
Fig. 3 is a kind of schematic diagram of the map vector generation method shown according to another exemplary embodiment.Fig. 3 is shown
A kind of display state of map vector, the map vector generation method of the disclosure carry out the vector data based on browser visual
Change and show, realizes its prototype system.National maps are drawn out, and mark main cities.In map vector, can increase with
The interaction of label is drawn, label can be moved with map.
According to the map vector generation method of the disclosure, is determined according to the map location data and draw container data, root
The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;And then the symbolic coding render and described
It is shown on vector tile in a manner of generating the map vector.Vector data can be visualized, and then in browser
Realize mapping in end.
It will be clearly understood that the present disclosure describes how to form and use particular example, but the principle of the disclosure is not limited to
These exemplary any details.On the contrary, the introduction based on disclosure disclosure, these principles can be applied to many other
Embodiment.
In one embodiment, further includes: corresponding with symbolic coding by the vector element in modification symbol configuration
Relationship is to update the map vector.
Fig. 4 is a kind of flow chart of the map vector generation method shown according to another exemplary embodiment.It is shown in Fig. 4
Map vector generation method 40 " is carried out the symbolic coding based on a variety of browsers in process shown in Fig. 2 in S208
Render to generate map vector " detailed description.
As shown in figure 4, the symbolic coding is based on a variety of browsers and is rendered with generating vector in S402
Figure.The most important part of browser is the kernel of browser.Browser kernel is the core of browser, also referred to as " rendering engine ",
For explaining webpage grammer and being rendered on webpage.Browser kernel determines browser, and how this shows web page contents and page
The format information in face.Different browser kernels is also different to the grammar explanation of webpage, therefore Web page developer is needed in difference
The rendering effect of webpage is tested in the browser of kernel.For example the symbolic coding can be based on by the symbolic coding a variety of clear
Device is look to generate multiple pels.
In S404, the symbolic coding is based on IE browser and is rendered to generate map vector.IE is Microsoft's public affairs
Browser under department is that mesh domestic user measures most browsers.The mode that Microsoft is bundled with IE and Windows is constantly to market
Share is extended, IE is made to become the absolute mainstream in market.The computer for having filled Windows system now can not unload IE substantially.
In S406, the symbolic coding is based on Safari browser and is rendered to generate map vector.By apple
The Safari browser of company's publication, Apple Inc. develops Safari browser on iPhone, richly endowed by nature using oneself
Mobile phone market share so that Safari browser is rapidly become world browser.
In S408, the symbolic coding is based on Chrome browser and is rendered to generate map vector.Chrome
Browser is the browser under google.Succinct, quick, safety has been particular about since Chrome browser to publication always, so
Chrome browser is pursued by people always till now.
In S410, the symbolic coding after rendering is generated into map vector.Unified Image Rendering can for example be passed through
The multiple pel is plotted in the vector tile to generate the map vector by interface.
It will be appreciated by those skilled in the art that realizing that all or part of the steps of above-described embodiment is implemented as being held by CPU
Capable computer program.When the computer program is executed by CPU, execute on defined by the above method that the disclosure provides
State function.The program can store in a kind of computer readable storage medium, which can be read-only storage
Device, disk or CD etc..
Further, it should be noted that above-mentioned attached drawing is only the place according to included by the method for disclosure exemplary embodiment
Reason schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned processing shown in the drawings is not indicated or is limited at these
The time sequencing of reason.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 5 is a kind of block diagram of map vector generating means shown according to an exemplary embodiment.Map vector generates
Device 50 includes: data module 502, container module 504, figure layer module 506, rendering module 508.
Data module 502 is for obtaining map location data and permissions data to be drawn;The defeated of user can for example be passed through
Enter acquisition of information map location data to be drawn;And it is mobile to obtain map location to be drawn by monitoring user's mouse
Data.
Container module 504, which is used to be determined according to the map location data, draws container data, the drafting container data
Including vector tile and multiple figure layers;Wherein, will exist in advance when JavaScript API relevant using map
The label of a div is created in html file, then all mappings work can all carry out in this label, this mark
Label are temporarily known as map cases.
Figure layer module 506, which is used to traverse the multiple figure layer according to the permissions data, extracts symbolic coding;Wherein, vector
Geometric data in tile is defined as screen coordinate system.The upper left corner of tile is the origin of coordinate system.The X axis right side is positive, Y-axis
It is positive downwards.Coordinate in geometric figure is necessary for integer.
Rendering module 508 is used to the symbolic coding carrying out rendering and be shown on the vector tile to generate
The map vector.The symbolic coding is carried out to rendering in the browser constructed based on html5 and in the vector tile
On shown to generate the map vector.
In one embodiment, the symbolic coding a variety of browsers are based on to render;And by the institute after rendering
It states symbolic coding and generates map vector;A variety of browsers include: IE browser and/or Safari browser and/or
Chrome browser.
According to the map vector generating means of the disclosure, is determined according to the map location data and draw container data, root
The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;And then the symbolic coding render and described
It is shown on vector tile in a manner of generating the map vector.Vector data can be visualized, and then in browser
Realize mapping in end.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
The electronic equipment 200 of this embodiment according to the disclosure is described referring to Fig. 6.The electronics that Fig. 6 is shown
Equipment 200 is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 200 is showed in the form of universal computing device.The component of electronic equipment 200 can wrap
It includes but is not limited to: at least one processing unit 210, at least one storage unit 220, (including the storage of the different system components of connection
Unit 220 and processing unit 210) bus 230, display unit 240 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 210
Row, so that the processing unit 210 executes described in this specification above-mentioned electronic prescription circulation processing method part according to this
The step of disclosing various illustrative embodiments.For example, the processing unit 210 can be executed such as Fig. 2, walked shown in Fig. 4
Suddenly.
The storage unit 220 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 2201 and/or cache memory unit 2202 can further include read-only memory unit (ROM) 2203.
The storage unit 220 can also include program/practical work with one group of (at least one) program module 2205
Tool 2204, such program module 2205 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 230 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 200 can also be with one or more external equipment 300(such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 200 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 200 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 250.Also, electronic equipment 200 can be with
By network adapter 260 and one or more network (such as Local Area Network, wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 260 can be communicated by bus 230 with other modules of electronic equipment 200.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 200, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server or network equipment etc.) executes the above method according to disclosure embodiment.
Fig. 7 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Refering to what is shown in Fig. 7, describing the program product for realizing the above method according to embodiment of the present disclosure
400, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, the program product of the disclosure is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random-access memory (ram), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including Local Area Network or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by one
When the equipment executes, so that the computer-readable medium implements function such as: obtaining map location data and permission to be drawn
Data;Determined according to the map location data and draw container data, the drafting container data include vector tile with it is multiple
Figure layer;The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;By the symbolic coding carry out rendering and
It is shown on the vector tile to generate the map vector.
It will be appreciated by those skilled in the art that above-mentioned each module can be distributed in device according to the description of embodiment, it can also
Uniquely it is different from one or more devices of the present embodiment with carrying out corresponding change.The module of above-described embodiment can be merged into
One module, can also be further split into multiple submodule.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein
It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure
The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can
To be personal computer, server, mobile terminal or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
It is particularly shown and described the exemplary embodiment of the disclosure above.It should be appreciated that the present disclosure is not limited to
Detailed construction, set-up mode or implementation method described herein;On the contrary, disclosure intention covers included in appended claims
Various modifications and equivalence setting in spirit and scope.
Claims (10)
1. a kind of map vector generation method characterized by comprising
Obtain map location data and permissions data to be drawn;
It is determined according to the map location data and draws container data, the drafting container data includes vector tile and multiple figures
Layer;
The multiple figure layer, which is traversed, according to the permissions data extracts symbolic coding;
The symbolic coding render and show on the vector tile to generate the map vector.
2. the method as described in claim 1, which is characterized in that obtaining map location data to be drawn includes:
Pass through the input acquisition of information of user map location data to be drawn;And
It is mobile to obtain map location data to be drawn by monitoring user's mouse.
3. the method as described in claim 1, which is characterized in that traverse the multiple figure layer according to the permissions data and extract symbol
Number coding includes:
Determine the corresponding multiple vector element libraries of the multiple figure layer;
Multiple vector element libraries, which are traversed, according to the permissions data extracts vector element;And
The symbolic coding is determined in symbol configuration according to the vector element.
4. the method as described in claim 1, which is characterized in that traverse multiple vector element libraries according to the permissions data and extract
Vector element includes:
The multiple vector element library is traversed to obtain multiple candidate vectors elements;
Rejecting processing is carried out to the multiple candidate vectors element according to the permissions data, generates vector element.
5. the method as described in claim 1, which is characterized in that the symbolic coding is carried out rendering and in the vector tile
On shown to generate the map vector and include:
The symbolic coding is carried out to render and show on the vector tile in the browser constructed based on html5
To generate the map vector.
6. the method as described in claim 1, which is characterized in that the symbolic coding is carried out rendering and in the vector tile
On shown to generate the map vector and include:
The symbolic coding is based on a variety of browsers to render to generate map vector;And
Map vector is generated by the symbolic coding after rendering;
A variety of browsers include:
IE browser and/or
Safari browser and/or
Chrome browser.
7. the method as described in claim 1, which is characterized in that the symbolic coding is carried out rendering and in the vector tile
On shown to generate the map vector and include:
The symbolic coding is rendered to generate multiple pels;And
The multiple pel is plotted in the vector tile with generating the vector by unified Image Rendering interface
Figure.
8. the method for claim 7, which is characterized in that render the symbolic coding to generate multiple pel packets
It includes:
The symbolic coding render according to its corresponding map vector;And
Multiple pels are generated by the symbolic coding after rendering.
9. the method as described in claim 1, which is characterized in that further include:
By the corresponding relationship of vector element and symbolic coding in modification symbol configuration to update the map vector.
10. a kind of map vector generating means characterized by comprising
Data module, for obtaining map location data and permissions data to be drawn;
Container module draws container data for determining according to the map location data, and the drafting container data includes arrow
Measure tile and multiple figure layers;
Figure layer module extracts symbolic coding for traversing the multiple figure layer according to the permissions data;
Rendering module, for render and show on the vector tile to generate the arrow symbolic coding
Quantity map.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811335842.7A CN109753546A (en) | 2018-11-13 | 2018-11-13 | Map vector generation method, device, Electronic Design and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811335842.7A CN109753546A (en) | 2018-11-13 | 2018-11-13 | Map vector generation method, device, Electronic Design and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109753546A true CN109753546A (en) | 2019-05-14 |
Family
ID=66402575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811335842.7A Pending CN109753546A (en) | 2018-11-13 | 2018-11-13 | Map vector generation method, device, Electronic Design and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753546A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457419A (en) * | 2019-08-09 | 2019-11-15 | 哈尔滨市科佳通用机电股份有限公司 | The electronics cross-channel map method for building up and system of locomotive vehicle-mounted equipment Remote Monitor System |
CN110473273A (en) * | 2019-07-24 | 2019-11-19 | 广州视源电子科技股份有限公司 | Method for drafting, device, storage medium and the terminal of vector graphics |
CN111290718A (en) * | 2020-01-20 | 2020-06-16 | 北京百度网讯科技有限公司 | Map processing method and device and electronic equipment |
CN111737618A (en) * | 2020-06-24 | 2020-10-02 | 广联达科技股份有限公司 | Vector diagram display method and device for Web end and computer equipment |
CN111930876A (en) * | 2020-09-18 | 2020-11-13 | 四川鱼鳞图信息技术股份有限公司 | Geographic information system engine |
CN112256255A (en) * | 2020-09-27 | 2021-01-22 | 中孚安全技术有限公司 | Dynamic configuration display method and system for map layer of electronic map |
CN112966041A (en) * | 2021-02-02 | 2021-06-15 | 苍穹数码技术股份有限公司 | Data processing method, device, equipment and storage medium |
CN115080779A (en) * | 2022-05-11 | 2022-09-20 | 中科星图股份有限公司 | Vector tile drawing method, device and equipment based on webpage digital earth |
CN116341002A (en) * | 2023-03-17 | 2023-06-27 | 南通创越时空数据科技有限公司 | Map data desensitizing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140253577A1 (en) * | 2013-03-08 | 2014-09-11 | Electronics And Telecommunications Research Institute | System and method for providing tile-map using electronic navigation chart |
CN105227646A (en) * | 2015-09-16 | 2016-01-06 | 中国测绘科学研究院 | A kind of HTML5 rich client administrative division map making method |
CN106021436A (en) * | 2016-05-16 | 2016-10-12 | 武汉大学 | Vector tile map making method |
CN107133351A (en) * | 2017-05-25 | 2017-09-05 | 北京元心科技有限公司 | Drawing method and device, user terminal, server and computer-readable medium |
CN108647336A (en) * | 2018-05-14 | 2018-10-12 | 江西理工大学 | A method of utilizing catastrophe-scale and class tile technical finesse polar plot |
-
2018
- 2018-11-13 CN CN201811335842.7A patent/CN109753546A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140253577A1 (en) * | 2013-03-08 | 2014-09-11 | Electronics And Telecommunications Research Institute | System and method for providing tile-map using electronic navigation chart |
CN105227646A (en) * | 2015-09-16 | 2016-01-06 | 中国测绘科学研究院 | A kind of HTML5 rich client administrative division map making method |
CN106021436A (en) * | 2016-05-16 | 2016-10-12 | 武汉大学 | Vector tile map making method |
CN107133351A (en) * | 2017-05-25 | 2017-09-05 | 北京元心科技有限公司 | Drawing method and device, user terminal, server and computer-readable medium |
CN108647336A (en) * | 2018-05-14 | 2018-10-12 | 江西理工大学 | A method of utilizing catastrophe-scale and class tile technical finesse polar plot |
Non-Patent Citations (2)
Title |
---|
何猛: ""移动地图中的矢量瓦片组织方法研究"", 《测绘地理信息》 * |
陈举平: ""矢量瓦片地图关键技术研究"", 《地理空间信息》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110473273A (en) * | 2019-07-24 | 2019-11-19 | 广州视源电子科技股份有限公司 | Method for drafting, device, storage medium and the terminal of vector graphics |
CN110473273B (en) * | 2019-07-24 | 2023-05-09 | 广州视源电子科技股份有限公司 | Vector graph drawing method and device, storage medium and terminal |
CN110457419A (en) * | 2019-08-09 | 2019-11-15 | 哈尔滨市科佳通用机电股份有限公司 | The electronics cross-channel map method for building up and system of locomotive vehicle-mounted equipment Remote Monitor System |
CN111290718A (en) * | 2020-01-20 | 2020-06-16 | 北京百度网讯科技有限公司 | Map processing method and device and electronic equipment |
CN111737618A (en) * | 2020-06-24 | 2020-10-02 | 广联达科技股份有限公司 | Vector diagram display method and device for Web end and computer equipment |
CN111930876A (en) * | 2020-09-18 | 2020-11-13 | 四川鱼鳞图信息技术股份有限公司 | Geographic information system engine |
CN112256255A (en) * | 2020-09-27 | 2021-01-22 | 中孚安全技术有限公司 | Dynamic configuration display method and system for map layer of electronic map |
CN112966041A (en) * | 2021-02-02 | 2021-06-15 | 苍穹数码技术股份有限公司 | Data processing method, device, equipment and storage medium |
CN112966041B (en) * | 2021-02-02 | 2024-04-26 | 苍穹数码技术股份有限公司 | Data processing method, device, equipment and storage medium |
CN115080779A (en) * | 2022-05-11 | 2022-09-20 | 中科星图股份有限公司 | Vector tile drawing method, device and equipment based on webpage digital earth |
CN116341002A (en) * | 2023-03-17 | 2023-06-27 | 南通创越时空数据科技有限公司 | Map data desensitizing method and system |
CN116341002B (en) * | 2023-03-17 | 2023-12-12 | 南通创越时空数据科技有限公司 | Map data desensitizing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109753546A (en) | Map vector generation method, device, Electronic Design and computer-readable medium | |
US10776447B2 (en) | Digital communications platform for webpage overlay | |
US10672161B2 (en) | Increasing readability of visualization nodes | |
US10210143B2 (en) | Analyzing a click path in a spherical landscape viewport | |
CN105573694A (en) | Multiple display rendering of digital content | |
US10445412B1 (en) | Dynamic browsing displays | |
CN108475182A (en) | Data processing method and electric terminal | |
CN115205476A (en) | Three-dimensional geological modeling method, device, electronic equipment and storage medium | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
CN106408489A (en) | Targeted poverty alleviation information processing method and device | |
CN105404974A (en) | Data capitalization method and apparatus and management platform | |
CN104598467B (en) | Webpage picture display method and device | |
US9891791B1 (en) | Generating an interactive graph from a building information model | |
US10210001B2 (en) | Automatic execution of objects in a user interface | |
CN113205601B (en) | Roaming path generation method and device, storage medium and electronic equipment | |
CN113918669A (en) | Device and method for realizing natural resource homeland space planning one-map system | |
WO2023246165A1 (en) | Data asset display method and apparatus, and device and storage medium | |
US10198837B2 (en) | Network graphing selector | |
CN112256254A (en) | Method and device for generating layout code | |
CN113419806B (en) | Image processing method, device, computer equipment and storage medium | |
Huang et al. | A binocular parallel rendering method for VR globes | |
Wen et al. | Fast visualisation of massive data based on viewpoint motion model | |
CN111369665A (en) | Production state monitoring system and monitoring method based on three-dimensional modeling technology | |
Wang et al. | [Retracted] Information Steganography Technology of Optical Communication Sensor Network Based on Virtual Reality Technology | |
US20200073916A1 (en) | Collaborative documentation |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190514 |