CN108510570A - Go out drawing method and device based on standard map service - Google Patents

Go out drawing method and device based on standard map service Download PDF

Info

Publication number
CN108510570A
CN108510570A CN201810313340.8A CN201810313340A CN108510570A CN 108510570 A CN108510570 A CN 108510570A CN 201810313340 A CN201810313340 A CN 201810313340A CN 108510570 A CN108510570 A CN 108510570A
Authority
CN
China
Prior art keywords
server
gis
pictures
layer
output picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810313340.8A
Other languages
Chinese (zh)
Other versions
CN108510570B (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.)
Changsha Hai Chart Technology Co Ltd
Original Assignee
Changsha Hai Chart 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 Changsha Hai Chart Technology Co Ltd filed Critical Changsha Hai Chart Technology Co Ltd
Priority to CN201810313340.8A priority Critical patent/CN108510570B/en
Publication of CN108510570A publication Critical patent/CN108510570A/en
Application granted granted Critical
Publication of CN108510570B publication Critical patent/CN108510570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides drawing method and device is gone out based on standard map service, it is related to picture synthesis technical field, wherein being somebody's turn to do the drawing method that goes out based on standard map service includes:First, server obtains the current accuracy of GIS pictures, then, server obtains multiple and different figure layer precision according to the difference of the slicing mode of GIS pictures, secondly, server executes mixing operation to the corresponding GIS pictures of each figure layer precision one by one according to current accuracy, each mixing operation obtains an output picture, until all corresponding GIS pictures of figure layer precision all complete mixing operation, later, multiple output picture group synthetic standards are exported picture by server, and standard output picture is returned into browser, pass through the above-mentioned processing of server, people are eliminated the step of browser operates manually, enable people to conveniently get a figure based on standard map service.

Description

Go out drawing method and device based on standard map service
Technical field
The present invention relates to picture synthesis technical fields, more particularly to go out drawing method and device based on standard map service.
Background technology
Drawing system of GIS, that is, GIS-Geographic Information System (Geographic Information System, abbreviation GIS) is It is a kind of based on primary spatial data and the integrated management of all kinds of professional spatial datas and application system, by Various types of data Displaying, inquiry, statistics and analysis etc. are superimposed to realize the linkage displaying and management in space, attribute.GIS mono- opens drawing system and is based on gently Magnitude browser browser access, but there are disadvantages in the management of space GIS data, for example, the GIS in input/output function Data export, because directly operating the operating interactives such as GIS data, file and IO (Input/Output) in browser has limit System.
But GIS mono- opens drawing system during client's direct use, if it is desired to for crucial map location data into Row prints figure, for example, by a GIS picture 1:The land red-line of some plot range is superimposed upon digital line under 500 engineer's scales It draws on figure, exports into normal pictures later and printed or reported.Currently, the conjunction of a complete standard output picture Include mainly following several forms at method:
1. being zoomed in and out on a drawing system, later, sectional drawing tool is used on the picture that different scalings is formed Picture is intercepted into, then a standard output picture is synthesized by tools such as PS.
2. by the profession GIS tools such as ArcGis, the corresponding map overlay rendering of GIS pictures is first fabricated to MXD formats File the data of specified range are exported into figure later by exporting map sheet function, then pass through the upper legend of PS tools addition Deng formation standard output picture.
3. cut the vector data of output area by cad file, manually the upper picture frame of addition, legend and title, then by CAD Specified figure layer rank is zoomed to, later, standard output picture is exported by CAD.
As it can be seen that the building-up process of above-mentioned standard output picture is very cumbersome, user is needed to be manually operated in browser time-consuming Arduously.
Invention content
In view of this, being designed to provide for the embodiment of the present invention goes out drawing method and dress based on standard map service It sets, by the way that server etc. is arranged, improves the convenience of the synthesis of standard output picture.
In a first aspect, an embodiment of the present invention provides the drawing methods that goes out based on standard map service, including:
Server obtains the current accuracy of GIS pictures;
The server obtains multiple and different figure layer precision according to the difference of the slicing mode of the GIS pictures;
The server executes fusion to the corresponding GIS pictures of each figure layer precision one by one according to current accuracy Operation, each mixing operation obtains an output picture, until all corresponding GIS pictures of the figure layer precision are all complete At mixing operation;
Multiple output picture group synthetic standards are exported picture by the server, and the standard output picture is returned Back to browser.
With reference to first aspect, an embodiment of the present invention provides the first possible embodiments of first aspect, wherein institute Stating server, the GIS pictures corresponding to each figure layer precision execute mixing operation one by one according to current accuracy, every time Mixing operation obtains an output picture, until all corresponding GIS pictures of the figure layer precision all complete fusion behaviour Make, including:
The step of mixing operation, is as follows:
The server calculates the difference of the current accuracy and the figure layer precision;
The server judges the figure layer rank of the corresponding GIS pictures of the figure layer precision according to the difference;
The server obtains the corresponding line-column matrix of the figure layer rank, and, with the line-column matrix by the figure layer The corresponding GIS pictures of rank are divided into multiple free hand drawings;
The multiple free hand drawing is fused into the output picture by the server.
With reference to first aspect, an embodiment of the present invention provides second of possible embodiments of first aspect, wherein institute The current accuracy that server obtains GIS pictures is stated, including:
The server receives the coordinate value and pixel value that browser is sent, wherein the coordinate value and the pixel value It is that the browser is calculated when receiving external output triggering according to the current GIS pictures;
The server calculates the ratio of the coordinate value and the pixel value, and, the ratio is denoted as described current Precision.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides the third of first aspect Possible embodiment, wherein the server judges the corresponding GIS pictures of the figure layer precision according to the difference Figure layer rank, including:
The server extracts the maximum value of the corresponding figure layer precision of the GIS pictures under all slicing modes, and, Multiple threshold intervals are divided between 0 and the maximum value;
The server is that a figure layer rank is arranged in each threshold interval;
The corresponding threshold interval of difference described in the whois lookup, and, judge the corresponding institute of the threshold interval It is the corresponding figure layer rank of the GIS pictures to state figure layer rank.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides the 4th kind of first aspect Possible embodiment, wherein the server obtains the corresponding line-column matrix of the figure layer rank, and, with the ranks square The corresponding GIS pictures of the figure layer rank are divided into multiple free hand drawings by battle array, including:
The server obtains the origin X-coordinate X of the corresponding GIS pictures of the figure layer rank1, origin Y coordinate Y1、 Lower left corner X-coordinate X2, lower left corner Y coordinate Y2, upper right corner X-coordinate X3, upper right corner Y coordinate Y3, picture pixels Z;
The server calculates the line number L in the lower left corner1=floor ((Y2-Y1)/(Z*S)), wherein S indicates the figure layer The corresponding figure layer precision of rank;
The server calculates the row number L in the lower left corner2=floor ((X2-X1)/(Z*S)), wherein S indicates the figure layer The corresponding figure layer precision of rank;
The server calculates the line number L in the upper right corner3=floor ((Y3-Y1)/(Z*S)), wherein S indicates the figure layer The corresponding figure layer precision of rank;
The server calculates the row number L in the upper right corner4=floor ((X3-X1)/(Z*S)), wherein S indicates the figure layer The corresponding figure layer precision of rank;
The server obtains the line-column matrix L=(L3-L1, L4-L2);
The GIS pictures are divided into (L by the server according to the line-column matrix L3-L1)*(L4-L2) a free hand drawing.
The possible embodiment of with reference to first aspect the first, an embodiment of the present invention provides the 5th kind of first aspect Possible embodiment, wherein the multiple free hand drawing is fused into the output picture by the server, including:
The server extracts the coordinate in the line-column matrix;
The server merges the multiple free hand drawing in same coordinate, obtains the output picture.
Second of possible embodiment with reference to first aspect, an embodiment of the present invention provides the 6th kind of first aspect Possible embodiment, wherein multiple output picture group synthetic standards are exported pictures by the server, and by the mark Quasi- output picture returns to browser, including:
The server is that the output picture is superimposed legend according to standard map service;
The server is the output picture addition picture frame after being superimposed legend, obtains the standard output picture;
The standard output picture is returned to the browser by the server.
Second aspect, an embodiment of the present invention provides the map devices that goes out based on standard map service, including:
Current accuracy acquisition module obtains the current accuracy of GIS pictures for server;
Figure layer precision acquisition module is more according to the different acquisitions of the slicing mode of the GIS pictures for the server A different figure layer precision;
Mixing operation module, for the server according to current accuracy one by one to the corresponding institute of each figure layer precision It states GIS pictures and executes mixing operation, each mixing operation obtains an output picture, until all figure layer precision correspond to The GIS pictures all complete mixing operation;
Multiple output picture group synthetic standards are exported picture by picture synthesis module for the server, and will The standard output picture returns to browser.
The third aspect, the embodiment of the present invention also provide a kind of terminal, including memory and processor, and memory is for depositing Storage supports processor to execute the program for going out drawing method based on standard map service that above-mentioned aspect provides, and processor is configured as For executing the program stored in memory.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, when computer program is run by processor execute any of the above-described method the step of.
It is provided in an embodiment of the present invention that drawing method and device are gone out based on standard map service, wherein study plot should be based on Figure service the drawing method that goes out include:First, server obtains the current accuracy of GIS pictures, i.e., the GIS figures under current slice mode The current accuracy of piece, then, server obtain multiple and different figure layer precision according to the difference of the slicing mode of GIS pictures, Secondary, server executes mixing operation, each mixing operation to the corresponding GIS pictures of each figure layer precision one by one according to current accuracy An output picture is obtained, multiple output pictures can be obtained after traversing aforesaid operations, in this way, until all figure layer precision pair The GIS pictures answered all complete mixing operation, and later, multiple output picture group synthetic standards are exported picture by server, and will mark Quasi- output picture returns to browser, can be by GIS pictures according to different figures by the automatic implementation procedure of above-mentioned server Layer precision carries out mixing operation one by one, and then is combined into standard output picture, and standard output picture is returned to browser and is looked into It sees, compared with prior art, drawing method should be gone out without people in a browser manually to GIS pictures based on standard map service It is handled, it is convenient and efficient.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and is obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 shows the flow chart for going out drawing method based on standard map service that the embodiment of the present invention is provided;
Fig. 2 shows the sons for going out step S101 in drawing method based on standard map service that the embodiment of the present invention is provided Flow chart;
Fig. 3 shows the son for going out step S103 in drawing method based on standard map service that the embodiment of the present invention is provided Flow chart;
Fig. 4 shows the son for going out step S104 in drawing method based on standard map service that the embodiment of the present invention is provided Flow chart;
Fig. 5 shows the structure connection figure for going out map device based on standard map service that the embodiment of the present invention is provided.
Icon:1- current accuracy acquisition modules;2- figure layer precision acquisition modules;3- mixing operation modules;4- pictures synthesize Module.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It is the system for having input/output function that GIS mono-, which opens drawing system, and during current use, people want to utilize Above-mentioned GIS mono- opens drawing system, needs to be operated manually in browser end.Existing operating method includes mainly following several shapes Formula:1. zoomed in and out on a drawing system, later, on the picture that different scalings is formed with the interception of sectional drawing tool at Picture, then synthesize a standard output picture by tools such as PS.2., first will be corresponding by the profession GIS tools such as ArcGis Map overlay rendering be fabricated to MXD files, later by export map sheet function, the data of specified range are exported into figure, then Upper legend etc. is added by PS tools, forms standard output picture.3. the vector data of output area is cut by cad file, The upper picture frame of addition, legend and title manually, then CAD is zoomed into specified figure layer rank, later, standard output is exported by CAD Picture.As it can be seen that the building-up process at present about standard output picture is very cumbersome.
Based on this, an embodiment of the present invention provides drawing method and device is gone out based on standard map service, below by reality Example is applied to be described.
Embodiment 1
Referring to Fig. 1, Fig. 2, Fig. 3 and Fig. 4, the drawing method that goes out based on standard map service that the present embodiment proposes specifically includes Following steps:
Step S101:Server obtains the current accuracy of GIS pictures.
First, it introduces lower GIS mono- and opens the GIS pictures externally shown in drawing system, in general, the GIS in GIS mono- opens drawing system Picture is three-dimensional, can be by rotating above-mentioned GIS pictures, to be obtained from when people want to check the GIS pictures of different angle The GIS pictures at the visual angle that oneself wants.Also, GIS pictures can also be according to the figure layer, rank, accuracy relation that section protocol defines The GIS pictures of different stage (i.e. different zoom ratio) are obtained, for example, 1:200 certain county's map and 1:500 certain county Figure.
Above-mentioned steps S101 is described in detail below:
Step S1011:Server receives the coordinate value and pixel value that browser is sent, wherein coordinate value and pixel value are equal It is that browser is calculated when receiving external output triggering according to current GIS pictures.
When people want to obtain the current accuracy of GIS pictures shown in current browser, sent before this to browser Outside output triggering calculates the coordinate of current GIS pictures in this way, being browser later after receiving external output triggering Value and pixel value, and the coordinate value being calculated and pixel value are sent to server.
Step S1012:The ratio of server coordinates computed value and pixel value, and, ratio is denoted as current accuracy.
Since the size of coordinate value indicates that the range that a GIS picture is included, the size of pixel value indicate a GIS The readability of picture, therefore, in order to effectively weigh the attribute of a GIS picture, server receive above-mentioned coordinate value and The ratio of coordinates computed value and pixel value after pixel value, and using the above-mentioned ratio being calculated as current accuracy.
Step S102:Server obtains multiple and different figure layer precision according to the difference of the slicing mode of GIS pictures.
Server obtains different figure layer rank and precision according to the section protocol of GIS pictures, can determine in section protocol One slice figure layer of justice, is divided into how many a ranks (engineer's scale), each rank can define precision or resolution ratio, can also define and cut The information such as piece origin and slice range.General GIS mono-, which opens drawing system base map section protocol, can define 18 ranks, and rank is got over Large scale is smaller.
In the processing procedure of GIS pictures, it will usually carry out slicing treatment to GIS pictures, i.e., selected different slice is former After point, the slice parameters such as resolution ratio and initial slice range, different GIS pictures are obtained.Correspondingly, opening drawing system in GIS mono- In, the GIS pictures after having carried out different slicing treatments are previously stored in server.In the present embodiment, in order to accurately obtain To the figure layer precision of GIS pictures, need to search the different figure layers essences of the corresponding GIS pictures of different slicing modes in the server Degree, comprehensively and effectively to obtain the All Layers precision of GIS pictures.
Step S103:Server executes fusion behaviour to the corresponding GIS pictures of each figure layer precision one by one according to current accuracy Make, each mixing operation obtains an output picture, until all corresponding GIS pictures of figure layer precision all complete fusion behaviour Make.
As can be seen from the above description, the same point of a GIS picture can correspond to different figures under different figure layer precision Piece content, in order to completely effectively consider each particular content of point on different dimensions in GIS pictures.Server is one by one Mixing operation is executed to the corresponding GIS pictures of each figure layer precision, each mixing operation obtains an output picture, until all The corresponding GIS pictures of figure layer precision all complete mixing operation until.
The step of above-mentioned mixing operation, is described in detail below below:
Step S1031:Server calculates the difference of current accuracy and figure layer precision.
As can be seen from the above description, the figure layer precision of GIS pictures has multiple.In the present embodiment, using current accuracy as base Standard is compared with each figure layer precision one by one that is, on the basis of the current accuracy of the GIS pictures under current slice mode, with This considers each figure layer precise manner of GIS pictures.
When it is implemented, for the GIS pictures of each figure layer precision, server calculates the difference of current accuracy and figure layer precision Value.The difference between each figure layer precision i.e. by the size (relative value) of above-mentioned difference to characterize GIS pictures.
Step S1032:Server judges the figure layer rank of the corresponding GIS pictures of figure layer precision according to difference.Specific implementation When include:
(1) server extracts the maximum value of the corresponding figure layer precision of all GIS pictures, when it is implemented, server before this The corresponding figure layer precision of all GIS pictures is obtained, for example, the figure layer precision got is respectively a, b, c ... t, wherein t is Maximum value, then, server therefrom extracts maximum values of the t as the corresponding figure layer precision of all GIS pictures.Also, 0 with most Multiple threshold intervals are divided between big value t, the specific number of the threshold interval after division can carry out flexibly according to usage scenario Setting.
(2) server is that a figure layer rank is arranged in each threshold interval, since threshold interval is a continuous range Value, in order to quantify to each threshold interval, server is that a figure layer rank is arranged in each threshold interval, using as rear The reference that continuous figure layer precision compares.
(3) the corresponding threshold interval of whois lookup difference, and, the figure layer grade of the corresponding GIS pictures of judgement figure layer precision It Wei not the corresponding figure layer rank of threshold interval.In this way, after server has calculated multiple differences, pass through the corresponding threshold value of difference Section determines figure layer rank, multiple continuous threshold interval discretizations to obtain.
Step S1033:Server obtains the corresponding line-column matrix of figure layer rank, and, with line-column matrix by figure layer rank pair The GIS pictures answered are divided into multiple free hand drawings.In order to which the corresponding GIS pictures of different figure layer ranks are processed into multiple free hand drawings, in this reality It applies in example, a line-column matrix is corresponded to each figure layer rank to realize, in order to effectively represent the corresponding ranks square of GIS pictures The size of battle array, when specific implementation include:
(1) server obtains the origin X-coordinate X of the corresponding GIS pictures of figure layer rank1, origin Y coordinate Y1, lower left corner X sit Mark X2, lower left corner Y coordinate Y2, upper right corner X-coordinate X3, upper right corner Y coordinate Y3, picture pixels Z.
(2) server calculates the line number L in the lower left corner1=floor ((Y2-Y1)/(Z*S)), wherein S indicates figure layer rank pair The figure layer precision answered.Wherein, the basic function of floor functions is realized as follows:
(3) server calculates the row number L in the lower left corner2=floor ((X2-X1)/(Z*S)), wherein S indicates figure layer rank pair The figure layer precision answered.
The minimum value of line-column matrix is characterized by the calculating of the line number and row number in the above-mentioned lower left corner.
(4) server calculates the line number L in the upper right corner3=floor ((Y3-Y1)/(Z*S)), wherein S indicates figure layer rank pair The figure layer precision answered.
(5) server calculates the row number L in the upper right corner4=floor ((X3-X1)/(Z*S)), wherein S indicates figure layer rank pair The figure layer precision answered.
The maximum value of line-column matrix is characterized by the calculating of the line number and row number in the above-mentioned upper right corner.
(6) server obtains line-column matrix L=(L3-L1, L4-L2)。
(7) GIS pictures are divided into (L by server according to line-column matrix L3-L1)*(L4-L2) a free hand drawing.
The size of entire line-column matrix is characterized by the calculating of above-mentioned maximum value and minimum difference.And by obtaining The corresponding GIS pictures of each figure layer rank are divided into multiple free hand drawings by each coordinate points of line-column matrix.
Step S1034:Multiple free hand drawings are fused into output picture by server.Include when specific implementation:
(1) coordinate in server extraction line-column matrix, that is, after getting above-mentioned line-column matrix, server is in above-mentioned ranks Coordinate is extracted in matrix.
(2) after getting above-mentioned coordinate, server merges multiple free hand drawings in same coordinate, i.e., will each scheme Multiple free hand drawings in the corresponding same coordinate of layer precision are overlapped, and obtain output picture, in this way, output picture is in each slice There is the output picture of at least one fusion to correspond under mode, to ensure the spatial integrity of output picture.
Step S104:Multiple output picture group synthetic standards are exported picture by server, and standard output picture is returned To browser.Aforesaid operations are illustrated below:
Step S1041:Server is that output picture is superimposed legend according to standard map service, needs exist for illustrating It is that the new edition standard map that standard map service, which is country's mapping geography information office's geography information, researches and develops with map department tissue is online Service system defines multiple standards, including legend in the online service system.Map is looked into for the ease of people It sees, server is that output picture is superimposed legend according to standard map service, and the specific placement location of legend and size etc. can bases Usage scenario etc. is flexibly set.
Step S1042:In order to further ensure the integrality of picture, server is the output picture addition after being superimposed legend Picture frame obtains standard output picture, needs exist for illustrating, and above-mentioned picture frame can be pre-stored mark in server Quasi- picture frame, either, the individual character picture frame etc. that people are voluntarily drawn by browser.
Step S1043:Standard output picture is returned to browser by server, i.e., after above-mentioned processing procedure, takes Business device end has obtained standard output picture by automatic running, and standard output picture is sent to browser, so that people look into It sees.
In conclusion the drawing method that goes out provided in this embodiment based on standard map service includes:First, server obtains The current accuracy of GIS pictures, i.e. figure layer precision under the current slicing mode of GIS pictures, then, server is according to GIS pictures The difference of slicing mode obtain multiple and different figure layer precision, secondly, server is according to current accuracy one by one to each figure layer The corresponding GIS pictures of precision execute mixing operation, and each mixing operation obtains an output picture, until all figure layer precision Until corresponding GIS pictures all complete mixing operation, later, multiple output picture group synthetic standards are exported picture by server, As output picture addition upper legend, picture frame etc., and standard output picture is returned into browser, by above-mentioned processing, save People oneself carry out the steps of picture scaling, cutting etc. in browser, so as to voluntarily handle server well standard Output picture is transmitted directly to people and checks, convenient and efficient.
Embodiment 2
Referring to Fig. 5, present embodiments providing the map device that goes out based on standard map service includes:
Current accuracy acquisition module 1 obtains the current accuracy of GIS pictures for server.
Figure layer precision acquisition module 2 is obtained for server according to the difference of the slicing mode of GIS pictures multiple and different Figure layer precision.
Mixing operation module 3 one by one holds the corresponding GIS pictures of each figure layer precision according to current accuracy for server Row mixing operation, each mixing operation obtains an output picture, until all corresponding GIS pictures of figure layer precision are all completed Mixing operation.
Picture synthesis module 4, for server by multiple output picture group synthetic standards output picture, and by standard output Picture returns to browser.
It is provided in an embodiment of the present invention that map device is gone out based on standard map service, with above-described embodiment offer based on mark Quasi- Map Services go out drawing method technical characteristic having the same, so can also solve identical technical problem, reach identical Technique effect.
The embodiment of the present invention additionally provides a kind of terminal, including memory and processor, and memory is supported for storing Processor executes the program of above-described embodiment method, and processor is configurable for executing the program stored in memory.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, when computer program is run by processor the step of the method for execution any of the above-described.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. The technology effect for going out drawing method and device, realization principle and generation based on standard map service that the embodiment of the present invention is provided Fruit is identical with preceding method embodiment, and to briefly describe, device embodiment part does not refer to place, can refer to preceding method implementation Corresponding contents in example.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module or unit in each embodiment of the present invention can integrate and to form an independence Part, can also be modules individualism, can also two or more modules be integrated to form an independent portion Point.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence, can not be interpreted as indicating or implying relative importance.Moreover, term " packet Include ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that including the mistake of a series of elements Journey, method, article or equipment include not only those elements, but also include other elements that are not explicitly listed, either Further include for elements inherent to such a process, method, article, or device.In the absence of more restrictions, by sentence The element that "including a ..." limits, it is not excluded that also deposit in the process, method, article or apparatus that includes the element In other identical element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. going out drawing method based on standard map service, which is characterized in that including:
Server obtains the current accuracy of GIS pictures;
The server obtains multiple and different figure layer precision according to the difference of the slicing mode of the GIS pictures;
The server executes fusion to the corresponding GIS pictures of each figure layer precision one by one according to the current accuracy Operation, each mixing operation obtains an output picture, until all corresponding GIS pictures of the figure layer precision are all complete At mixing operation;
Multiple output picture group synthetic standards are exported picture by the server, and the standard output picture is returned to Browser.
2. according to claim 1 go out drawing method based on standard map service, which is characterized in that the server according to The GIS pictures corresponding to each figure layer precision execute mixing operation to current accuracy one by one, and each mixing operation obtains One output picture, until all corresponding GIS pictures of the figure layer precision all complete mixing operation, including:
The step of mixing operation, is as follows:
The server calculates the difference of the current accuracy and the figure layer precision;
The server judges the figure layer rank of the corresponding GIS pictures of the figure layer precision according to the difference;
The server obtains the corresponding line-column matrix of the figure layer rank, and, with the line-column matrix by the figure layer rank The corresponding GIS pictures are divided into multiple free hand drawings;
The multiple free hand drawing is fused into the output picture by the server.
3. according to claim 1 go out drawing method based on standard map service, which is characterized in that the server obtains The current accuracy of GIS pictures, including:
The server receives the coordinate value and pixel value that browser is sent, wherein the coordinate value and the pixel value are The browser is when receiving external output triggering according to current GIS pictures calculating;
The server calculates the ratio of the coordinate value and the pixel value, and, the ratio is denoted as the current accuracy.
4. according to claim 2 go out drawing method based on standard map service, which is characterized in that the server according to The difference judges the figure layer rank of the corresponding GIS pictures of the figure layer precision, including:
The server extracts the maximum value of the corresponding figure layer precision of the GIS pictures under all slicing modes, and, 0 Multiple threshold intervals are divided between the maximum value;
The server is that a figure layer rank is arranged in each threshold interval;
The corresponding threshold interval of difference described in the whois lookup, and, judge the corresponding figure of the threshold interval Level Wei not the corresponding figure layer rank of the GIS pictures.
5. according to claim 2 go out drawing method based on standard map service, which is characterized in that the server obtains The corresponding line-column matrix of the figure layer rank, and, with the line-column matrix by the corresponding GIS pictures point of the figure layer rank At multiple free hand drawings, including:
The server obtains the origin X-coordinate X of the corresponding GIS pictures of the figure layer rank1, origin Y coordinate Y1, lower-left Angle X-coordinate X2, lower left corner Y coordinate Y2, upper right corner X-coordinate X3, upper right corner Y coordinate Y3, picture pixels Z;
The server calculates the line number L in the lower left corner1=floor ((Y2-Y1)/(Z*S)), wherein S indicates the figure layer rank Corresponding figure layer precision;
The server calculates the row number L in the lower left corner2=floor ((X2-X1)/(Z*S)), wherein S indicates the figure layer rank Corresponding figure layer precision;
The server calculates the line number L in the upper right corner3=floor ((Y3-Y1)/(Z*S)), wherein S indicates the figure layer rank Corresponding figure layer precision;
The server calculates the row number L in the upper right corner4=floor ((X3-X1)/(Z*S)), wherein S indicates the figure layer rank Corresponding figure layer precision;
The server obtains the line-column matrix L=(L3-L1, L4-L2);
The GIS pictures are divided into (L by the server according to the line-column matrix L3-L1)*(L4-L2) a free hand drawing.
6. according to claim 2 go out drawing method based on standard map service, which is characterized in that the server is by institute It states multiple free hand drawings and is fused into the output picture, including:
The server extracts the coordinate in the line-column matrix;
The server merges the multiple free hand drawing in same coordinate, obtains the output picture.
7. according to claim 3 go out drawing method based on standard map service, which is characterized in that the server will be more A output picture group synthetic standards export picture, and the standard output picture is returned to browser, including:
The server is that the output picture is superimposed legend according to standard map service;
The server is the output picture addition picture frame after being superimposed legend, obtains the standard output picture;
The standard output picture is returned to the browser by the server.
8. going out map device based on standard map service, which is characterized in that including:
Current accuracy acquisition module obtains the current accuracy of GIS pictures for server;
Figure layer precision acquisition module, it is multiple not according to the difference acquisition of the slicing mode of the GIS pictures for the server Same figure layer precision;
Mixing operation module, it is corresponding to each figure layer precision described one by one according to current accuracy for the server GIS pictures execute mixing operation, and each mixing operation obtains an output picture, until all figure layer precision are corresponding The GIS pictures all complete mixing operation;
Multiple output picture group synthetic standards are exported picture by picture synthesis module for the server, and will be described Standard output picture returns to browser.
9. a kind of terminal, which is characterized in that including memory and processor, the memory supports processor to hold for storing The program of any one of row claim 1 to 7 the method, the processor are configurable for executing and be stored in the memory Program.
10. a kind of computer readable storage medium, it is stored with computer program on computer readable storage medium, feature exists In when computer program is run by processor the step of any one of execution the claims 1 to 7 the method.
CN201810313340.8A 2018-04-09 2018-04-09 Drawing method and device based on standard map service Active CN108510570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810313340.8A CN108510570B (en) 2018-04-09 2018-04-09 Drawing method and device based on standard map service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810313340.8A CN108510570B (en) 2018-04-09 2018-04-09 Drawing method and device based on standard map service

Publications (2)

Publication Number Publication Date
CN108510570A true CN108510570A (en) 2018-09-07
CN108510570B CN108510570B (en) 2022-03-22

Family

ID=63381011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810313340.8A Active CN108510570B (en) 2018-04-09 2018-04-09 Drawing method and device based on standard map service

Country Status (1)

Country Link
CN (1) CN108510570B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417071A (en) * 2020-11-02 2021-02-26 中关村科学城城市大脑股份有限公司 Vector data layer fusion and service calling method based on GIS

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388043A (en) * 2008-09-26 2009-03-18 北京航空航天大学 OGC high performance remote sensing image map service method based on small picture
US20100254596A1 (en) * 2007-09-26 2010-10-07 Wei Xiong Method and system for generating an entirely well-focused image of a large three-dimensional scene
US20120141026A1 (en) * 2010-12-03 2012-06-07 Electronics & Telecommunications Research Institute Method and system for providing tile map service using image fusion
CN103699582A (en) * 2013-12-03 2014-04-02 天津市普迅电力信息技术有限公司 Multi-source map data processing method
CN105260450A (en) * 2015-10-10 2016-01-20 东方网力科技股份有限公司 Electronic map issuing method and apparatus and electronic map display method
CN105279268A (en) * 2015-10-26 2016-01-27 东方网力科技股份有限公司 Multi-data-source map download method
CN106296647A (en) * 2016-06-30 2017-01-04 广州极飞科技有限公司 A kind of map image section update method and device
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100254596A1 (en) * 2007-09-26 2010-10-07 Wei Xiong Method and system for generating an entirely well-focused image of a large three-dimensional scene
CN101388043A (en) * 2008-09-26 2009-03-18 北京航空航天大学 OGC high performance remote sensing image map service method based on small picture
US20120141026A1 (en) * 2010-12-03 2012-06-07 Electronics & Telecommunications Research Institute Method and system for providing tile map service using image fusion
CN103699582A (en) * 2013-12-03 2014-04-02 天津市普迅电力信息技术有限公司 Multi-source map data processing method
CN105260450A (en) * 2015-10-10 2016-01-20 东方网力科技股份有限公司 Electronic map issuing method and apparatus and electronic map display method
CN105279268A (en) * 2015-10-26 2016-01-27 东方网力科技股份有限公司 Multi-data-source map download method
CN106296647A (en) * 2016-06-30 2017-01-04 广州极飞科技有限公司 A kind of map image section update method and device
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王晓东等: "利用Bing Maps地图切片实现网络地图服务", 《国土资源遥感》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417071A (en) * 2020-11-02 2021-02-26 中关村科学城城市大脑股份有限公司 Vector data layer fusion and service calling method based on GIS
CN112417071B (en) * 2020-11-02 2021-10-26 中关村科学城城市大脑股份有限公司 Vector data layer fusion and service calling method based on GIS

Also Published As

Publication number Publication date
CN108510570B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US11042279B2 (en) Generating graphical marks for graphical views of a data source
Wood et al. Interactive visual exploration of a large spatio-temporal dataset: Reflections on a geovisualization mashup.
US7889888B2 (en) System and method for grouping and visualizing data
US20130321458A1 (en) Contextual visualization via configurable ip-space maps
US20130194272A1 (en) Placing pixels according to attribute values in positions in a graphical visualization that correspond to geographic locations
KR20090058036A (en) Method and system for displaying graphical objects on a digital map
US20100131889A1 (en) User interface to explore data objects and their related supplementary data objects
DE202013012486U1 (en) User interface for orienting a camera view towards surfaces within a 3-D map and facilities that incorporate the user interface
CN109063193A (en) A kind of thematic maps recommends the method and device of display
US20160328418A1 (en) Data processing system utilizing geographic information and data processing program
US20160070983A1 (en) Density sampling map data
CN105589932A (en) Page configuration method and apparatus
CN110428310A (en) A kind of generation method and device of commodity details page
CN115081414A (en) Spreadsheet generation method, device, equipment and medium based on data model
CN109840929B (en) Method and device for realizing dynamic base line drawing based on Echarts
CN108510570A (en) Go out drawing method and device based on standard map service
WO2002027508A1 (en) Method and software for graphical representation of qualitative search results
CN103902633B (en) A kind of method and its device, system of generation POI hot-zone data
CN109101544A (en) Heating power drawing generating method, calculates equipment and readable storage medium storing program for executing at device
CN108319706A (en) A kind of processing method of GIS-Geographic Information System
Pante et al. Package ‘marmap’
CN109426458B (en) Method and device for printing relation graph
CN114416897B (en) Information processing method, device, system, equipment and medium based on two-dimensional map
US20090006323A1 (en) System and Method for Analyzing Intelligence Information
CN114398460A (en) Environment-friendly field prediction model plotting system

Legal Events

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