CN108228746A - Call method, device, storage medium and the server of tile map service - Google Patents
Call method, device, storage medium and the server of tile map service Download PDFInfo
- Publication number
- CN108228746A CN108228746A CN201711383605.3A CN201711383605A CN108228746A CN 108228746 A CN108228746 A CN 108228746A CN 201711383605 A CN201711383605 A CN 201711383605A CN 108228746 A CN108228746 A CN 108228746A
- Authority
- CN
- China
- Prior art keywords
- tile
- tile data
- image
- data
- visual level
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000000007 visual effect Effects 0.000 claims abstract description 81
- 238000013480 data collection Methods 0.000 claims abstract description 60
- 239000012141 concentrate Substances 0.000 claims abstract description 16
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013507 mapping Methods 0.000 claims description 8
- 238000002372 labelling Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 10
- 238000012800 visualization Methods 0.000 description 10
- 239000002699 waste material Substances 0.000 description 7
- 241001269238 Data Species 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 4
- 239000003550 marker Substances 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000116 mitigating effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 238000012300 Sequence Analysis Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000035699 permeability Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/006—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
- G09B29/007—Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Ecology (AREA)
- Mathematical Physics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Hardware Design (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of call method, device, storage medium and the server of tile map service, this method includes:Each image metadata is labeled according to predetermined semantic tagger element, generate tile data collection, the visual level range under each tile data vertical dimensions is determined according to the default image resolution of each tile data of tile data concentration and default image priority, and determines the tile ID of the corresponding tile data of each visual level range;The image theme received with default image theme is matched, and then obtains workable predetermined tile data collection;Obtain view information of the client in Map Services, and determine that predetermined tile data concentrates the tile boundaries of tile data on the screen to be shown according to view information, boundary information is matched with the boundary of Map Services, determine the fine service sequences for meeting demand for services, and it is ranked up according to the service creation time, the nearest tile service of allocating time.
Description
Technical field
The present invention relates to data processing field, more particularly to a kind of call method of tile map service, device, storage
Medium and server.
Background technology
Tile map service (Tile Map Service, referred to as TMS) is according to tile map by remote sensing Raster Images
Pyramid model is sampled cutting, which is simultaneously published to network by the multi-level image tile data collection of formation rule,
The data service method used is called for user.Tile map pyramid model by the world map after projection according to quaternary tree into
Row subdivision establishes the correspondence of tile level, number and actual geographic coordinate, can obtain longitude and latitude according to tile number
Section can also find tile number according to geographical coordinate.In an image tile data collection tissue, the layer of each tile
Grade, ranks number and corresponding geospatial location are one-to-one, therefore according in viewport in tile map service
The tile resolution ratio that heart position, the bounds of viewport and viewport needs are observed can calculate the tile number row for needing to ask
Table realizes the visualization of tile service.When the tile map service data source of request is unique, according to row of tiles row number and tile
Level can get unique tile.
Tile data collection is according to the tile data set of image pyramid model tissue, and wherein tile data collects only body
Now in the data set tile spatial relation, for multiple tile data collection, the prior art mainly from phase to watt
Sheet data collection carries out standard and management, and the tile data collection of different phases is carried out standard and coding by timestamp, will be multiple
Tile pyramid is combined into a tactic logical collection in time, but this method is only applicable to allow to tile data
Collection carries out the scene of pretreatment operation, such as organizes a set of multidate fundamental geological tile data, the volume of multiple tile data collection
Code conversion needs to consume longer time with merging management, is not suitable for high tile data being required to be served by timeliness.
For example, in the emergency response after natural calamity occurs and studying and judging task, obtained in time by means of different, different sensors
Disaster area image generally can be respectively issued as mutually independent data service, the operations such as avoid merging multiple data sets,
Loading reality is carried out with multiple tile map service data sources, ensures that user understands the morphosequent letter in disaster area in first time
Breath.
But multiple tile map services load to generate simultaneously and the situation of image overlap occur in regional area, for
Visualization end without it is any processing and judgement in the case of acquiescence can to services all in visual range in meet row, column and layer
The tile of grade number is all called and is loaded, and there is the tile of the same name for having multiple data sources in same position (i.e. in different data
Concentrate the tile with identical line number, row number and pyramid level) overlapping calls, loading and the problem of draw, and the problem is into one
Step causes the reduction of efficiency of service:1) in server end, the tile calling of each position can traverse all tile data collection, no
By whether finding when suitable data set can all cause longer and consuming, the response speed of slow server is dragged;2) it in transmission process, passes
Defeated bandwidth is occupied by a large amount of tiles of the same name, and the tile that user really needs cannot be sent to client from server-side in time, lead
Efficiency of transmission is caused to reduce;3) at visualization end, multiple tile Overlapping displays of the same name can only show the tile letter that last time is called
Breath, but the data called before can still occupy memory and carry out data parsing, lead to unnecessary memory calculating and space waste,
So as to influence to visualize the fluency of end tile refreshing, there is the problem of displaying scene interim card, discontinuous or even client collapse.
Invention content
The present invention provides a kind of call method, device, storage medium and the server of tile map service, existing to solve
There is the following problem of technology:Multiple tile map services load to generate simultaneously there is the situation of image overlap in regional area,
Although multiple tile superpositions of the same name can only show the tile information that last time is called, the data called before can still occupy interior
It deposits and carries out data parsing, lead to unnecessary memory calculating and space waste.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of call method of tile map service, including:
The default image resolution of each tile data and default image priority is concentrated to determine each tile according to tile data
Visual level range under data vertical dimensions, and determine the tile ID of the corresponding tile data of each visual level range;It will
The image theme received is matched with default image theme, and tile is obtained to be concentrated according to matching result in the tile data
Data, to generate the first predetermined tile data collection according to the tile data got;By the image time range received and in advance
If the video generation time is matched, tile data is obtained to be concentrated according to matching result in the described first predetermined tile data,
To generate the second predetermined tile data collection according to the tile data got;Obtain viewpoint letter of the user side in Map Services
Breath, and determine that the described second predetermined tile data concentrates watt of tile data on the screen to be shown according to the view information
Sheet border, wherein, the view information includes current elevation information and current latitude and longitude information;It will include in the tile boundaries
Each tile data be ranked up all in accordance with generated time, and according to the tile ID call sequence after generated time from current
The nearest tile data of allocating time.
Optionally, concentrate the default image resolution of each tile data and default image preferential according to the tile data
Before grade determines the visual level range under each tile data vertical dimensions, further include:Image metadata is read, according to
Predetermined semantic tagger element is labeled each image metadata, to generate the tile data collection, wherein, the pre- attribute
Justice mark element includes at least:Image file title, video generation time, image space range, image resolution, image theme
With image priority.
Optionally, concentrate the default image resolution of each tile data and default image preferential according to the tile data
Grade determines the visual level range under each tile data vertical dimensions, including:It is true according to the default image resolution
The maximum visual level of the fixed tile data determines that the minimum of the tile data is visual according to the default image priority
Level;Obtain the intersection of the maximum visual level and the minimum visual level, and by the intersection is corresponding but level
Range is determined as the visual level range under the tile data vertical dimensions.
Optionally, it obtains view information of the user side in Map Services, and described the is determined according to the view information
Two predetermined tile datas concentrate the tile boundaries of tile data on the screen to be shown, including:According to elevation information and tile
The mapping relations of the visual level of default pyramid of data determine the corresponding visual level of the current elevation information;According to described
Visual level is concentrated in the described second predetermined tile data and obtains corresponding tile data, to be given birth to according to the tile data got
Into the predetermined tile data collection of third;It determines that the predetermined tile data collection kind of the third is to be shown according to the latitude and longitude information shielding
The tile boundaries of tile data on curtain.
On the other hand, the present invention also provides a kind of calling device of tile map service, including:First determining module is used
In concentrate the default image resolution of each tile data according to tile data and default image priority determine it is each described in watt
Visual level range under sheet data vertical dimensions, and determine the tile ID of the corresponding tile data of each visual level range;
First matching module, for the image received theme to be matched with default image theme, according to matching result at described watt
Sheet data, which is concentrated, obtains tile data, to generate the first predetermined tile data collection according to the tile data got;Second matching
Module, for the image received time range to be matched with the default video generation time, according to matching result described
First predetermined tile data, which is concentrated, obtains tile data, to generate the second predetermined tile data according to the tile data got
Collection;Second determining module for obtaining view information of the user side in Map Services, and determines institute according to the view information
The tile boundaries that the second predetermined tile data concentrates tile data on the screen to be shown are stated, wherein, the view information packet
Include current elevation information and current latitude and longitude information;Calling module, for each tile number that will include in the tile boundaries
It is ranked up according to all in accordance with generated time, and nearest from current allocating time according to generated time after tile ID calling sequences
Tile data.
Optionally, it further includes:Labeling module, for reading image metadata, according to predetermined semantic tagger element to each
Image metadata is labeled, to generate the tile data collection, wherein, the predetermined semantic tagger element includes at least:Shadow
As file name, video generation time, image space range, image resolution, image theme and image priority.
Optionally, first determining module, is specifically used for:The tile number is determined according to the default image resolution
According to maximum visual level, the visual level of minimum of the tile data is determined according to the default image priority;Obtain institute
The intersection of maximum visual level and the minimum visual level is stated, and the corresponding level range that can be of the intersection is determined as institute
State the visual level range under tile data vertical dimensions.
Optionally, second determining module, is specifically used for:Default pyramid according to elevation information and tile data can
Mapping relations depending on level determine the corresponding visual level of the current elevation information;According to the visual level described second
Predetermined tile data, which is concentrated, obtains corresponding tile data, to generate the predetermined tile data of third according to the tile data got
Collection;Watt of the predetermined tile data collection kind tile data on the screen to be shown of the third is determined according to the latitude and longitude information
Sheet border.
On the other hand, the present invention also provides a kind of storage mediums, are stored with computer program, and the computer program is located
The step of reason device realizes the call method of above-mentioned tile map service when performing.
On the other hand, the present invention also provides a kind of servers, including at least memory, processor, are deposited on the memory
Computer program is contained, the processor realizes above-mentioned tile map service in the computer program on performing the memory
Call method the step of.
The tile data of a position is ranked up by the present invention in the tile data for obtaining map according to generated time,
The generated time tile data nearest from current allocating time after sequence is only called, which does not need to call the position pair early period
The other tile datas answered reduce system-computed process, also save the space resources of system, solve the prior art as
Lower problem:Multiple tile map services load to generate simultaneously there is the situation of image overlap in regional area, multiple of the same name watts
Although piece superposition can only show the tile information that last time is called, the data called before can still occupy memory and go forward side by side line number
According to parsing, lead to unnecessary memory calculating and space waste.This method avoids the repetition calling of tile of the same name and memory from loading,
Reduce memory calculating and the space waste of server retrieval, bandwidth occupancy and client.
Description of the drawings
Fig. 1 is the flow chart of the call method of tile map service in first embodiment of the invention;
Fig. 2 is the calling device of tile map service in second embodiment of the invention;
Fig. 3 is the flow chart that tile data set metadata file is generated in third embodiment of the invention;
Fig. 4 is tile Adaptive matching flow chart in third embodiment of the invention.
Specific embodiment
In order to solve the problems, such as the as follows of the prior art:Multiple tile map services load can generate to go out in regional area simultaneously
The situation of existing image overlap although multiple tile superpositions of the same name can only show the tile information that last time is called, is adjusted before
Data can still occupy memory and carry out data parsing, lead to unnecessary memory calculating and space waste;The present invention provides
A kind of call method, device, storage medium and the server of tile map service, it is right below in conjunction with attached drawing and embodiment
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
Do not limit the present invention.
First embodiment of the invention provides a kind of call method of tile map service, flow such as Fig. 1 institutes of this method
Show, including step S101 to S105:
S101 concentrates the default image resolution of each tile data and default image priority to determine according to tile data
Visual level range under each tile data vertical dimensions, and determine watt of the corresponding tile data of each visual level range
Piece ID;
S102 matches the image theme received with default image theme, with according to matching result in tile data
It concentrates and obtains tile data, to generate the first predetermined tile data collection according to the tile data got;
S103 matches the image time range received with the default video generation time, with according to matching result
It is concentrated in the first predetermined tile data and obtains tile data, to generate the second predetermined tile data according to the tile data got
Collection;
S104 obtains view information of the user side in Map Services, and determines the second predetermined tile according to view information
The tile boundaries of tile data on the screen to be shown in data set, wherein, view information includes current elevation information and works as
Preceding latitude and longitude information;
The each tile data included in tile boundaries is ranked up, and according to tile by S105 all in accordance with generated time
ID calls the generated time tile data nearest from current allocating time after sequence.
The embodiment of the present invention is provided with parameter preset to tile data collection, during specific implementation, is first differentiated according to default image
Rate and default image priority determine the visual level range of each tile data and the tile ID of tile data under the range, with
The search condition received is matched with default image theme and default video generation time afterwards, it is true further according to view information
Fixed tile boundaries to be shown, and pass through tile ID and transfer the border inner tile data, and then obtain user's current view point letter
Breath it is lower it can be seen that map.
The tile data of a position is ranked up by this method in the tile data for obtaining map according to generated time,
The generated time tile data nearest from current allocating time after sequence is only called, which does not need to call the position pair early period
The other tile datas answered reduce system-computed process, also save the space resources of system, solve the prior art as
Lower problem:Multiple tile map services load to generate simultaneously there is the situation of image overlap in regional area, multiple of the same name watts
Although piece superposition can only show the tile information that last time is called, the data called before can still occupy memory and go forward side by side line number
According to parsing, lead to unnecessary memory calculating and space waste.
The default image resolution of each tile data and default image priority is being concentrated to determine often according to tile data
Before visual level range under a tile data vertical dimensions, it is also necessary to image metadata is read, according to predetermined semantic tagger
Element is labeled each image metadata, to generate tile data collection, wherein, predetermined semantic tagger element includes at least:
Image file title, video generation time, image space range, image resolution, image theme and image priority.The process
It is marked for tile data collection, reduces follow-up Map Services use in the process to the retrieval time of tile data.
During specific implementation, the default image resolution of each tile data is being concentrated according to tile data and is being preset
When image priority determines the visual level range under each tile data vertical dimensions, it can specifically include following process:Root
The maximum visual level of tile data is determined according to default image resolution, determines tile data most according to default image priority
Small visual level;Obtain the intersection of maximum visual level and minimum visual level, and intersection is corresponding but level range is true
The visual level range being set under tile data vertical dimensions.The process determines that it can rationally show for each tile data
Visual level range, avoid visual level excessive or it is too small caused by tile data call after show unclear situation.
View information of the user side in Map Services is being obtained, and the second predetermined tile data is determined according to view information
When concentrating the tile boundaries of tile data on the screen to be shown, can specifically it include:According to elevation information and tile data
The mapping relations of the visual level of default pyramid determine the corresponding visual level of current elevation information;According to visual level
Two predetermined tile datas, which are concentrated, obtains corresponding tile data, to generate the predetermined tile number of third according to the tile data got
According to collection;The tile side of the predetermined tile data collection kind tile data on the screen to be shown of third is determined according to latitude and longitude information
Boundary.The process determines current visual level according to elevation information, then determines the current latitude and longitude information under current visible level
The tile boundaries of corresponding tile data, and then can accurately obtain the body of a map or chart that user's needs are checked.
Second embodiment of the invention provides a kind of calling device of tile map service, which can be arranged on service
In device, the structural representation of the device as shown in Fig. 2, including:
First determining module 10, for concentrating the default image resolution of each tile data according to tile data and presetting
Image priority determines the visual level range under each tile data vertical dimensions, and determines that each visual level range corresponds to
Tile data tile ID;First matching module 11 is coupled with the first determining module 10, for the image theme that will receive with
Default image theme is matched, and is concentrated according to matching result in tile data and is obtained tile data, with according to watt got
Sheet data generates the first predetermined tile data collection;Second matching module 12 is coupled with the first matching module 11, for that will receive
Image time range matched with the default video generation time, obtained according to matching result in the first predetermined tile data concentration
Tile data is taken, to generate the second predetermined tile data collection according to the tile data got;Second determining module 13, with second
Matching module 12 couples, and for obtaining view information of the user side in Map Services, and determines that second is pre- according to view information
Determine the tile boundaries that tile data concentrates tile data on the screen to be shown, wherein, view information is believed including current elevation
Breath and current latitude and longitude information;Calling module 14 is coupled with the second determining module 13, for each by what is included in tile boundaries
Tile data is ranked up all in accordance with generated time, and according to generated time after tile ID calling sequences from current allocating time most
Near tile data.
The embodiment of the present invention is provided with parameter preset to tile data collection, during specific implementation, is first differentiated according to default image
Rate and default image priority determine the visual level range of each tile data and the tile ID of tile data under the range, with
The search condition received is matched with default image theme and default video generation time afterwards, it is true further according to view information
Fixed tile boundaries to be shown, and pass through tile ID and transfer the border inner tile data, and then obtain user's current view point letter
Breath it is lower it can be seen that map.
Above device can also include:The labeling module coupled with the first determining module 10, for reading image metadata,
Each image metadata is labeled according to predetermined semantic tagger element, to generate tile data collection, wherein, make a reservation for semantic mark
Note element includes at least:Image file title, video generation time, image space range, image resolution, image theme and shadow
As priority.The tile data collection that is set as of the module is marked, reduce during follow-up Map Services use to watt
The retrieval time of sheet data.
During realization, the first determining module 10 is specifically used for:The maximum for determining tile data according to default image resolution can
Depending on level, the visual level of minimum of tile data is determined according to default image priority;Obtaining maximum visual level can with minimum
Depending on the intersection of level, and by intersection is corresponding but level range is determined as the visual level model under tile data vertical dimensions
It encloses.Each tile data that is set as of the module determines its visual level range that can rationally show, avoids visual level
Tile data shows unclear situation after calling caused by excessive or too small.
There is choosing, the second determining module 13 is specifically used for:Default pyramid according to elevation information and tile data is visual
The mapping relations of level determine the corresponding visual level of current elevation information;According to visual level in the second predetermined tile data collection
It is middle to obtain corresponding tile data, to generate the predetermined tile data collection of third according to the tile data got;According to longitude and latitude
Information determines the tile boundaries of the predetermined tile data collection kind tile data on the screen to be shown of third.The module allows to
Current visual level is determined according to elevation information, then determines the corresponding tile of current latitude and longitude information under current visible level
The tile boundaries of data, and then can accurately obtain the body of a map or chart that user's needs are checked.
The present embodiment carries out semantic tagger to tile data collection, from data set theme, phase, resolution ratio, range, priority
Etc. many aspects the description of the metadata of data set is expanded;The tile automatic fitration method of viewpoint driving is further provided for,
Ensure that the tile in a service is only asked in the tile map service in face of overlapping region every time, in the feelings for not influencing result of browse
The request number of times of tile of the same name is substantially reduced under condition, promotes the visualization efficiency of multi-source tile map service.
Third embodiment of the invention provides a kind of storage medium, is stored with computer program, which is located
Reason device realizes each step of the call method for the tile map service that above-mentioned first embodiment provides when performing, no longer superfluous herein
It states.
The present embodiment generates tile of the same name for multiple logic map overlays in the visualization of multi-source tile map services selection
The problems such as data invalid access caused by data overlap and memory redundancy, it is proposed that a kind of tile map service semantics mark and oneself
Dynamic filter method, from many aspects such as spatial dimension, phase range, resolution ratio, theme, priority in traditional tile Map Services
Increase semantic tagger on the basis of metadata description, for further increasing the difference degree of data source when calling and servicing.It faces
Largely newly-increased tile map service source, can be according to user for each tile calling process by automatic fitration method
Demand automatically selects best service source and carries out tile request, had both increased the availability in abundant data source, and had also avoided factor
According to redundancy issue caused by numerous.The storage medium of the present embodiment is in setting, including following two method parts:
(1) tile map service semantics mask method.
It is in the process tile data collection addition semantic tagger, packet that it is pyramidal, which to establish tile, by file slice in remote sensing image
It is semantic to include semantic semantic range, phase semanteme, resolution ratio, priority semanteme and theme.The space of range semantic description data set
Regional extent;Time semanteme records the acquisition time of remote sensing images;The local pyramidal vertical range of resolution ratio semantical definition;
Priority semanteme control data set puts in order;Theme semanteme is application message (such as task theme for recording tile data collection
Deng) one group of subtab.The semantic tagger content of tile data collection is by resource description framework (RDF, Resource
Description Framework) expression, semantic detailed description and function are as follows:
Range is semantic, the 2 dimensional region boundary of description tile data collection at the earth's surface.During image slice, one group
New image is usually first cut into a shape and the matched image of target area boundaries.Range semanteme passes through one group of two dimension
Coordinate points string descriptor image cover earth's surface polygonal shape, can accurate description image bounds.In tile map service
In, range semanteme is for the uncorrelated service other than viewport accurately Filtration Goal range.In metadata RDF files, range
Semanteme with<Polygon>Labeled marker is reached by one group of two-dimensional points string list.
Phase is semantic, describes the sequence and life cycle of data set in time dimension.The time range of each data set
With the formal definition of timestamp, support visualization to the sequence analysis of multiple tile map services and the exhibition of multidate image tile
Show.In the range of same phase, tile is dispatched as acquiescence using time closest tile under other parameter same case, is ensured
The uniqueness that tile of the same name calls.In metadata RDF files, phase semanteme with<StartTime>With<EndTime>Label
Mark records year, month, day, hour, minute, second in the form of " 20140808041230 ".
Resolution ratio is semantic, and description image resolution corresponds to the highest level of pyramid model.During pyramid construction,
The resolution ratio of image determines the pyramidal depth of its tile under three dimensions.Resolution ratio semanteme represents current pyramid in Z axis
Visual range.For example, when viewpoint is reached close to landscape position, it is meant that compared to the low resolution line of global context data set
Reason, the relief detail feature that user is shown more concerned with high resolution image data collection.In this case, resolution ratio semanteme is believed
It ceases to exclude the tile map service except user's field range.In metadata RDF files, resolution ratio semanteme with<
Resolution>Labeled marker is expressed with integer character constant.
Priority is semantic, is to determine the secondary index of service loading sequence.In such as mitigation contingency tasks, with shadow
There is the tile map service being overlapped as the acquisition of data can generate many spatial dimensions, visible depth and life cycle.Preferentially
Grade is used to distinguish these Map Services of high superposed.Priority semanteme is initialized by artificial experience.If for example, current image
It is extracted more suitable for the water body in flood damage, then corresponding pyramidal priority is obtained higher than other sensors (i.e. camera)
The tile service of image.Priority semanteme is used to ensure the uniqueness of tile service filter result.In metadata RDF files,
Priority semanteme with<Priority>Labeled marker is expressed with integer character constant.
Theme is semantic, is according to the data separations tile map service characteristic such as sensor type, data source, task preference
The constraint of difference.Such as in visualization tasks are met an urgent need in mitigation, the corresponding image resolution ratio of different Disasters Types and sensor
The preference of type is different.One group of subtab is built by theme semanteme to describe the theme feature of image layer.It effectively increases
The matching relationships of different visualization tasks and data set supports user's batch to select and abandon tile map service.In first number
According in RDF files, theme semanteme with<Theme>Labeled marker is reached with string table.Table 1 is tile data collection RDF metadata text
Part example.
Fig. 3 is illustrated establishes tile data set metadata generation step during pyramid by image data slice.
Step 1:Image metadata is read, image information is obtained, including image file title, video generation time, image
The information such as georeferencing, image description (i.e. resolution ratio), automatic mapping is tile data collection field description and records each field
Value.
Step 2:The header file of image data is read, obtains the space range information of image, setting<Polygon>Value.
Step 3:The resolution information of image is read, by the hierarchical information that conversion of resolution is tile pyramid model, is deposited
Enter<Resolution>Label.
Step 4:Phase information during setting including two ways, gives tacit consent to the generated time automatic conversion storage by image<
StartTime>Label, and postpone the 24 hour records termination time as initial time, storage<EndTime>Label or by
It is artificial to formulate input starting, terminate the time, it is stored in phase semantic label.
Step 5:By manually rule of thumb setting subject information, multiple character strings are stored successively<Theme>Label.
Step 6:By manually rule of thumb (such as task preference, the quality of data, covering region of interest degree etc.) sets tile
Data set priority, for example, highest is 5, lowermost level 0.
Step 7:Tile data collection RDF meta data files are generated according to above-mentioned label.
(2) tile map service automatic fitration method.
This method combines in tile retrieving by the space and time order feature of RDF document description data collection and works as forward sight
Dot position information carries out Adaptive matching and screening to tile.Fig. 4 illustrates tile Adaptive matching flow, including walking as follows
Suddenly:
Step 1:The metadata RDF files of simultaneously all tile data collection of structured storage are traversed, to the number of tile data collection
It is stored according to collection title, theme and data source as the identification information of coarseness.
Step 2:Loading<StartTime>、<EndTime>、<Resolution>Wait label values, it is assumed that<Resolution>
The pyramid maximum level of record is Range1.The pyramid maximum level is that Range1 is that original resolution is corresponding most clear
Visibility.
Step 3:It will<Priority>Priority mapped with minimum visual range, obtain corresponding to current priority
Vertical direction the minimum visual level Range2 of pyramid.It, may noise although resolution ratio may be very high during being somebody's turn to do
Greatly, therefore, priority may be relatively low.
Step 4:Range1 and Range2 are sought common ground, determine visual range of the tile data collection in vertical dimensions, it should
Visual range is a more suitable range.
Step 5:It calculates data set and bounding box lower-left and upper right is in each pyramid level of range1 ∩ range2
The tile ID of position is identified as range boundary, prepares Adaptive matching.Latitude and longitude information is converted to tile ID by the process.
Step 6:Acquisition of information visualization theme and phase are inputted according to user.The former embodies the interest pair of operator
As being matched by message subject with the association attributes of data set, associated data set list list1 being formed after filtering.
Step 7:Further list1 with temporal information is compared, rejects the number other than input time section in list
According to collection, list list2 is obtained, reduces the range of follow-up Auto-matching and retrieval.
Map is presented at this point, being equivalent on map, but the visual level of possible map is smaller, user does not see specific scape
Object, so user can constantly adjust viewpoint position, to move to the position for oneself wanting to see clearly.
Step 8:With the movement of viewpoint position, view information is obtained in real time, elevation and longitude and latitude position including viewpoint,
The mapping relations divided according to viewpoint elevation and pyramid level calculate the level LOD (i.e. details level) that viewpoint is presently in.
Step 9:Ergodic data collection list list2 matches LOD with the visible depth of data set, selects vertical dimension
Degree visible range includes the tile data collection of LOD.
Step 10:The pyramid array of the data set is further inquired, finds the tile boundaries of LOD levels, will wait to ask
The ranks number of tile are matched therewith, and the data set comprising tile forms list list3.
Step 11:By list3 according to phase minor sort again.
Step 12:The first cis-position tile map service source of last list3 is called as a result.
Remarks:In above-mentioned preceding automatic fitration three times, if service source quantity contained by list is only to be less than or equal to 1, directly
Jump to step 12.
Compared with prior art, present invention optimizes tile select permeability when being serviced towards numerous tile maps, pass through
Ask each tile progress automatic screening that can ensure to transfer the uniqueness of tile from a large amount of service sources, in server end
There are one ensureing the tile data collection for needing to traverse only, avoid carrying out traversal lookup to all tile data collection, improve service
The response efficiency at device end;The quantity of tile of the same name is significantly reduced in transport layer, alleviates in original technology tile of the same name simultaneously
Caused by calling bandwidth resources waste with it is inefficient;The overall request of tile and loading quantity are effectively reduced at visualization end, is carried
The request rate of effective tile has been risen, has not only rationally been sufficiently used numerous tile map Service Sources, but also ensure limited memory
Resource is applied to most suitable tile and parses and draw, and maintains visual smooth effect.In addition, the filtering technique is in visitor
It traverses and completes in the end memory of family, can undertake the response timeliness of hundreds of tile data collection traversal comparison, therefore above-mentioned tile
The promotion of figure efficiency of service will not decline because of the increase of tile map quantity of service, ensure that tile map service call
Efficient stable.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random AccessMemory), mobile hard disk, magnetic disc or light
The various media that can store program code such as disk.Optionally, in the present embodiment, processor has been stored according in storage medium
Program code perform above-described embodiment record method and step.Optionally, the specific example in the present embodiment can refer to upper
The example described in embodiment and optional embodiment is stated, details are not described herein for the present embodiment.Obviously, those skilled in the art
Member is it should be understood that above-mentioned each module of the invention or each step can realize that they can collect with general computing device
In on single computing device or be distributed on the network that multiple computing devices are formed, optionally, they can use tricks
The program code that can perform of device is calculated to realize, is performed it is thus possible to be stored in storage device by computing device,
It and in some cases, can be with the steps shown or described are performed in an order that is different from the one herein or distinguishes them
It is fabricated to each integrated circuit modules or multiple modules in them or step is fabricated to single integrated circuit module to come in fact
It is existing.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
Although for example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize
Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to the above embodiments.
Claims (10)
1. a kind of call method of tile map service, which is characterized in that including:
According to tile data concentrate the default image resolution of each tile data and default image priority determine it is each described in
Visual level range under tile data vertical dimensions, and determine the tile of the corresponding tile data of each visual level range
ID;
The image theme received is matched with default image theme, to be obtained according to matching result in tile data concentration
Tile data is taken, to generate the first predetermined tile data collection according to the tile data got;
The image time range received is matched with the default video generation time, with according to matching result described first
Predetermined tile data, which is concentrated, obtains tile data, to generate the second predetermined tile data collection according to the tile data got;
View information of the user side in Map Services is obtained, and the described second predetermined tile number is determined according to the view information
According to concentrate tile data on the screen to be shown tile boundaries, wherein, the view information include current elevation information and
Current latitude and longitude information;
The each tile data included in the tile boundaries is ranked up all in accordance with generated time, and according to the tile ID
Call the generated time tile data nearest from current allocating time after sequence.
2. call method as described in claim 1, which is characterized in that each tile data is concentrated according to the tile data
Default image resolution and default image priority determine visual level range under each tile data vertical dimensions it
Before, it further includes:
Image metadata is read, each image metadata is labeled according to predetermined semantic tagger element, to generate described watt
Sheet data collection, wherein, the predetermined semantic tagger element includes at least:Image file title, video generation time, image space
Range, image resolution, image theme and image priority.
3. call method as described in claim 1, which is characterized in that each tile data is concentrated according to the tile data
Default image resolution and default image priority determine the visual level range under each tile data vertical dimensions, packet
It includes:
The maximum visual level of the tile data is determined according to the default image resolution, it is preferential according to the default image
Grade determines the visual level of minimum of the tile data;
Obtain the intersection of the maximum visual level and the minimum visual level, and by the intersection is corresponding but level model
Enclose the visual level range being determined as under the tile data vertical dimensions.
4. call method as claimed any one in claims 1 to 3, which is characterized in that obtain user side in Map Services
View information, and determine that the described second predetermined tile data concentrates tile on the screen to be shown according to the view information
The tile boundaries of data, including:
Mapping relations according to the visual level of the default pyramid of elevation information and tile data determine the current elevation information
Corresponding visual level;
It is concentrated according to the visual level in the described second predetermined tile data and obtains corresponding tile data, got with basis
Tile data generation the predetermined tile data collection of third;
The predetermined tile data collection kind tile data on the screen to be shown of the third is determined according to the latitude and longitude information
Tile boundaries.
5. a kind of calling device of tile map service, which is characterized in that including:
First determining module, for being concentrated the default image resolution of each tile data and default image excellent according to tile data
First grade determines the visual level range under each tile data vertical dimensions, and determines that each visual level range is corresponding
The tile ID of tile data;
First matching module, for the image received theme to be matched with default image theme, according to matching result in institute
It states tile data and concentrates acquisition tile data, to generate the first predetermined tile data collection according to the tile data got;
Second matching module, for the image received time range to be matched with the default video generation time, according to
It is concentrated with result in the described first predetermined tile data and obtains tile data, with pre- according to the tile data generation second got
Determine tile data collection;
Second determining module for obtaining view information of the user side in Map Services, and is determined according to the view information
The second predetermined tile data concentrates the tile boundaries of tile data on the screen to be shown, wherein, the view information
Including current elevation information and current latitude and longitude information;
Calling module, for each tile data included in the tile boundaries to be ranked up all in accordance with generated time, and
According to the tile data that generated time after tile ID calling sequences is nearest from current allocating time.
6. calling device as claimed in claim 5, which is characterized in that further include:
Labeling module for reading image metadata, is labeled each image metadata according to predetermined semantic tagger element,
To generate the tile data collection, wherein, the predetermined semantic tagger element includes at least:Image file title, video generation
Time, image space range, image resolution, image theme and image priority.
7. calling device as claimed in claim 5, which is characterized in that first determining module is specifically used for:
The maximum visual level of the tile data is determined according to the default image resolution, it is preferential according to the default image
Grade determines the visual level of minimum of the tile data;Obtain the friendship of the maximum visual level and the minimum visual level
Collection, and by the intersection is corresponding but level range is determined as the visual level range under the tile data vertical dimensions.
8. the calling device as described in any one of claim 5 to 7, which is characterized in that second determining module is specific to use
In:
Mapping relations according to the visual level of the default pyramid of elevation information and tile data determine the current elevation information
Corresponding visual level;It is concentrated according to the visual level in the described second predetermined tile data and obtains corresponding tile data,
To generate the predetermined tile data collection of third according to the tile data got;Determine that the third is pre- according to the latitude and longitude information
Determine the tile boundaries of tile data collection kind tile data on the screen to be shown.
9. a kind of storage medium, is stored with computer program, which is characterized in that real when the computer program is executed by processor
The step of existing any one of claims 1 to 4 the method.
10. a kind of server including at least memory, processor, is stored with computer program on the memory, feature exists
In the processor realizes any one of claims 1 to 4 the method in the computer program on performing the memory
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711383605.3A CN108228746A (en) | 2017-12-20 | 2017-12-20 | Call method, device, storage medium and the server of tile map service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711383605.3A CN108228746A (en) | 2017-12-20 | 2017-12-20 | Call method, device, storage medium and the server of tile map service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108228746A true CN108228746A (en) | 2018-06-29 |
Family
ID=62650033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711383605.3A Pending CN108228746A (en) | 2017-12-20 | 2017-12-20 | Call method, device, storage medium and the server of tile map service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228746A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457271A (en) * | 2019-08-13 | 2019-11-15 | 苏州超擎图形软件科技发展有限公司 | A kind of tile map update method and system |
CN111126130A (en) * | 2018-10-30 | 2020-05-08 | 赫尔环球有限公司 | Method and device for retrieving map data based on environment |
CN111753031A (en) * | 2019-12-05 | 2020-10-09 | 广州极飞科技有限公司 | Map area integration method and device, storage medium and electronic equipment |
CN112053364A (en) * | 2020-09-30 | 2020-12-08 | 成都星时代宇航科技有限公司 | Data processing method and device, remote sensing data service platform and readable storage medium |
CN112416930A (en) * | 2020-11-18 | 2021-02-26 | 国家基础地理信息中心 | Query method, storage method and related device for mixed time phase image map data |
CN113010793A (en) * | 2021-04-09 | 2021-06-22 | 阿波罗智联(北京)科技有限公司 | Method, device, equipment, storage medium and program product for map data processing |
CN113987233A (en) * | 2021-12-30 | 2022-01-28 | 成都国星宇航科技有限公司 | Tile request method and device and electronic equipment |
CN114063018A (en) * | 2021-11-15 | 2022-02-18 | 北京无线电测量研究所 | Radar three-dimensional ball display method and system, storage medium and electronic equipment |
CN115984457A (en) * | 2022-12-02 | 2023-04-18 | 北京百度网讯科技有限公司 | Three-dimensional model display method and device and electronic equipment |
CN116051764A (en) * | 2022-12-30 | 2023-05-02 | 北京华云星地通科技有限公司 | Remote sensing image map drawing method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082934A (en) * | 2007-06-19 | 2007-12-05 | 北京师范大学 | Three-dimensional visual method of very-large-scale space data in network surroundings |
CN101394338A (en) * | 2007-09-21 | 2009-03-25 | 华为技术有限公司 | Method, system and apparatus for data scheduling |
CN103003789A (en) * | 2010-06-02 | 2013-03-27 | 微软公司 | Adjustable and progressive mobile device street view |
CN105159987A (en) * | 2015-08-31 | 2015-12-16 | 深圳市茁壮网络股份有限公司 | Data storage and query method and apparatus |
CN106960097A (en) * | 2017-03-27 | 2017-07-18 | 北京图安世纪科技股份有限公司 | One kind builds three-dimensional city level road network and microscopic traffic flow simulation method and system |
CN107450860A (en) * | 2017-08-15 | 2017-12-08 | 湖南安存科技有限公司 | A kind of map file pre-head method based on distributed storage |
-
2017
- 2017-12-20 CN CN201711383605.3A patent/CN108228746A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082934A (en) * | 2007-06-19 | 2007-12-05 | 北京师范大学 | Three-dimensional visual method of very-large-scale space data in network surroundings |
CN101394338A (en) * | 2007-09-21 | 2009-03-25 | 华为技术有限公司 | Method, system and apparatus for data scheduling |
CN103003789A (en) * | 2010-06-02 | 2013-03-27 | 微软公司 | Adjustable and progressive mobile device street view |
CN105159987A (en) * | 2015-08-31 | 2015-12-16 | 深圳市茁壮网络股份有限公司 | Data storage and query method and apparatus |
CN106960097A (en) * | 2017-03-27 | 2017-07-18 | 北京图安世纪科技股份有限公司 | One kind builds three-dimensional city level road network and microscopic traffic flow simulation method and system |
CN107450860A (en) * | 2017-08-15 | 2017-12-08 | 湖南安存科技有限公司 | A kind of map file pre-head method based on distributed storage |
Non-Patent Citations (3)
Title |
---|
仇林遥等: "顾及时空语义的多主题瓦片数据优化检索方法", 《国防科技大学学报 工程科技II》 * |
仇林遥等: "顾及时空语义的多主题瓦片数据优化检索方法", 《国防科技大学学报 工程科技II》, vol. 37, no. 5, 31 October 2015 (2015-10-31), pages 15 - 20 * |
卫东: "《地理空间数据一体化更新发布***的技术研究》", 《测绘通报》, no. 7, 31 July 2013 (2013-07-31), pages 77 - 81 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111126130A (en) * | 2018-10-30 | 2020-05-08 | 赫尔环球有限公司 | Method and device for retrieving map data based on environment |
CN110457271B (en) * | 2019-08-13 | 2022-04-26 | 苏州超擎图形软件科技发展有限公司 | Tile map updating method and system |
CN110457271A (en) * | 2019-08-13 | 2019-11-15 | 苏州超擎图形软件科技发展有限公司 | A kind of tile map update method and system |
CN111753031A (en) * | 2019-12-05 | 2020-10-09 | 广州极飞科技有限公司 | Map area integration method and device, storage medium and electronic equipment |
CN112053364A (en) * | 2020-09-30 | 2020-12-08 | 成都星时代宇航科技有限公司 | Data processing method and device, remote sensing data service platform and readable storage medium |
CN112053364B (en) * | 2020-09-30 | 2022-02-01 | 成都星时代宇航科技有限公司 | Data processing method and device, remote sensing data service platform and readable storage medium |
CN112416930A (en) * | 2020-11-18 | 2021-02-26 | 国家基础地理信息中心 | Query method, storage method and related device for mixed time phase image map data |
CN113010793A (en) * | 2021-04-09 | 2021-06-22 | 阿波罗智联(北京)科技有限公司 | Method, device, equipment, storage medium and program product for map data processing |
CN114063018A (en) * | 2021-11-15 | 2022-02-18 | 北京无线电测量研究所 | Radar three-dimensional ball display method and system, storage medium and electronic equipment |
CN113987233A (en) * | 2021-12-30 | 2022-01-28 | 成都国星宇航科技有限公司 | Tile request method and device and electronic equipment |
CN113987233B (en) * | 2021-12-30 | 2022-03-29 | 成都国星宇航科技有限公司 | Tile request method and device and electronic equipment |
CN115984457A (en) * | 2022-12-02 | 2023-04-18 | 北京百度网讯科技有限公司 | Three-dimensional model display method and device and electronic equipment |
CN116051764A (en) * | 2022-12-30 | 2023-05-02 | 北京华云星地通科技有限公司 | Remote sensing image map drawing method and system |
CN116051764B (en) * | 2022-12-30 | 2024-01-30 | 北京华云星地通科技有限公司 | Remote sensing image map drawing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228746A (en) | Call method, device, storage medium and the server of tile map service | |
US10996823B2 (en) | Interactive geospatial map | |
CN111010882B (en) | Location privacy association on map-based social media platform | |
CN101553778B (en) | Method for reappearring numerical map and tile therein | |
US20090183083A1 (en) | Method and system for displaying information on a map | |
US10459967B2 (en) | Interactive image display and selection system | |
JP5334911B2 (en) | 3D map image generation program and 3D map image generation system | |
KR101405508B1 (en) | System and method for image processing | |
US7889888B2 (en) | System and method for grouping and visualizing data | |
EP2954468B1 (en) | Providing indoor facility information on a digital map | |
WO2016150052A1 (en) | Method and system for utilizing image to generate link | |
US10453226B1 (en) | Presenting information on a map | |
KR20140123019A (en) | Visual representation of map navigation history | |
CN105574102A (en) | Electronic map data loading method and device | |
CN106682104B (en) | Web-based dynamic customization method for spatial data thematic map | |
JP5299993B2 (en) | Map display device and map display method | |
CN114611036B (en) | Gis data processing and rendering method | |
CN104699826B (en) | A kind of the pyramid laminar storage method and Spatial Database Systems of image data | |
CN116011322A (en) | Urban information display method, device, equipment and medium based on digital twinning | |
JP2010537349A (en) | Geospatial data system and related methods for selectively retrieving and displaying geospatial texture data based on user selected viewpoints | |
JP4906705B2 (en) | Method and apparatus for automatically identifying a region of interest in a digital map | |
US20170011064A1 (en) | Methods and Apparatus for Sending or Receiving an Image | |
CN109657023B (en) | Scenic spot dynamic electronic map drawing method, server and system | |
WO2017184196A1 (en) | A digitally generated set of regional shapes for presenting information on a display screen | |
CN111966853B (en) | Management method of remote sensing image |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |