CN105354326A - Spatial position indexing method and system - Google Patents
Spatial position indexing method and system Download PDFInfo
- Publication number
- CN105354326A CN105354326A CN201510834798.4A CN201510834798A CN105354326A CN 105354326 A CN105354326 A CN 105354326A CN 201510834798 A CN201510834798 A CN 201510834798A CN 105354326 A CN105354326 A CN 105354326A
- Authority
- CN
- China
- Prior art keywords
- spatial index
- picture
- index region
- data
- object 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
Links
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/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a spatial position indexing method and system. The method comprises the following steps: obtaining query data reported by a terminal, determining a pre-stored first picture object according to the query data, and determining a first spatial index area, where the first picture object is, according to the first picture object; determining first position data corresponding to the first spatial index area according to the corresponding relationship between the spatial area range and the position data; and rendering the first position data in the shown first picture object, and generating a first picture including the first position data. By means of the method provided in the embodiment of the invention, rapid response to position data query of a monitored object and real-time density distribution display can be realized on a map service.
Description
Technical field
The application relates to field of locating technology, particularly relates to the method and system of a kind of locus index.
Background technology
The information digitalization that the fast development of computer technology brings increases substantially while work efficiency promotes social development, Geographic Information System (English: GeographicInformationSystem, be called for short: GIS) related needs in field is also increasing.Present people are not to the requirement of Map Services in the displaying only resting on static map data, and the renewal displaying of real time data also more and more comes into one's own.Although generalized information system of today is very powerful, but the drafting of front end vector data still has the bottleneck of the performances such as data transfer bandwidth, data volume size and browser drawing modification ability to limit at present.The perfect in shape and function optimization of geotools kit of increasing income makes to generate the services such as the self-defined layer meeting geographical software platform standard and becomes more and more simpler, and this is that the customization of the self-defined service of generalized information system provides larger development prospect.
Current, Map Services realizes become a problem demanding prompt solution to the position data inquiry service of monitored object.
Summary of the invention
Embodiments provide the method and system of a kind of locus index, in order to realize the quick response inquired about the position data of monitored object and the display of real-time Density Distribution in Map Services.
Its concrete technical scheme is as follows:
A method for locus index, described method comprises:
Obtain the query argument of terminal to report;
According to described query argument, determine the first object picture prestored;
According to described first object picture, determine the first spatial index region residing for described first object picture;
According to the corresponding relation between spatial index region and position data, determine the primary importance data that described first spatial index region is corresponding;
Described primary importance Plotting data is entered shown first object picture, generates and comprise described primary importance data first picture.
Optionally, before the query argument obtaining terminal to report, also comprise:
Spatial index Region dividing is carried out to appointed area, obtains N number of spatial index region, wherein, N be more than or equal to 1 positive integer;
By the area identification assignment in spatial index region in position data, and set up the corresponding relation between described spatial index region and position data.
Optionally, before the query argument obtaining terminal to report, also comprise:
According to setting-up time interval, generate the object picture that each time point is corresponding;
Preserve the object picture that each time point of generation is corresponding.
Optionally, according to described first object picture, determine the first spatial index region residing for described first object picture, comprising:
According to planning computing formula, determine the spatial index scope that described first picture is corresponding;
Described spatial index scope and described N number of spatial index region are compared, determines the residing described first spatial index region that described first object picture is corresponding.
Optionally, described primary importance Plotting data is being entered shown first object picture, is generating after comprising described primary importance data first picture, also comprise:
Described first picture comprising primary importance data is sent to counterpart terminal, presents described first picture and described primary importance data to make described terminal.
A system for locus index, comprising:
Acquisition module, for obtaining the query argument of terminal to report;
Processing module, for according to described query argument, determines the first object picture prestored; According to described first object picture, determine the first spatial index region residing for described first object picture; According to the corresponding relation between spatial index region and position data, determine the primary importance data that described first spatial index region is corresponding;
Generation module, for described primary importance Plotting data is entered shown first object picture, generates and comprises described primary importance data first picture.
Optionally, described processing module, also for carrying out spatial index Region dividing to appointed area, obtains N number of spatial index region, by the area identification assignment in spatial index region in position data, and set up the corresponding relation between described spatial index region and position data.Wherein, N be more than or equal to 1 positive integer.
Optionally, described processing module, also for according to setting-up time interval, generates the object picture that each time point is corresponding; Preserve the object picture that each time point of generation is corresponding.
Optionally, described processing module, specifically for according to planning computing formula, determines the spatial index scope that described first picture is corresponding; Described spatial index scope and described N number of spatial index region are compared, determines the residing described first spatial index region that described first object picture is corresponding.
Optionally, described system also comprises:
Sending module, for described first picture comprising primary importance data is sent to counterpart terminal, presents described first picture and described primary importance data to make described terminal.
Embodiments provide the method for a kind of locus index, the method comprises: the data query obtaining terminal to report, according to this data query, determines the first object picture prestored, according to the first object picture, determine the first spatial index region residing for the first object picture; According to the corresponding relation between area of space scope and position data, determine the primary importance data that the first spatial index region is corresponding; Primary importance Plotting data is entered shown first object picture, generates and comprise described primary importance data first picture.The method provided by the embodiment of the present invention can realize the quick response inquired about the position data of monitored object and the display of real-time Density Distribution in Map Services.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of locus index in the embodiment of the present invention;
Fig. 2 is the system architecture schematic diagram of a kind of locus index in the embodiment of the present invention.
Embodiment
Embodiments provide the method for a kind of locus index, the method comprises: the data query obtaining terminal to report, according to this data query, determines the first object picture prestored, according to the first object picture, determine the first spatial index region residing for the first object picture; According to the corresponding relation between area of space scope and position data, determine the primary importance data that the first spatial index region is corresponding; Primary importance Plotting data is entered shown first object picture, generates and comprise described primary importance data first picture.The method provided by the embodiment of the present invention can realize the quick response inquired about the position data of monitored object and the display of real-time Density Distribution in Map Services.
Below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, be to be understood that, the explanation of concrete technical characteristic in the embodiment of the present invention and embodiment just to technical solution of the present invention, instead of limit, when not conflicting, the concrete technical characteristic in the embodiment of the present invention and embodiment can combine mutually.
Be illustrated in figure 1 the process flow diagram of the method for a kind of locus index in the embodiment of the present invention, the method comprises:
S101, obtains the query argument of terminal to report;
S102, according to query argument, determines the first object picture prestored;
S103, according to the first object picture, determines the first spatial index region residing for the first object picture;
S104, according to the corresponding relation between area of space scope and position data, determines the primary importance data that the first spatial index region is corresponding;
S105, enters shown first object picture by described primary importance Plotting data, generates and comprises described primary importance data first picture.
Specifically, in order to realize the method that the embodiment of the present invention provides, system needs to mark off multiple spatial index region, namely according to the factor of the aspect such as service needed and performance, to global geographic location or specific region according to index region between regular partition clearancen.That is, system carries out spatial index Region dividing to appointed area, obtains N number of spatial index region.Then system judges residing for the position data that system gets by the space arithmetic that JTS provides spatial index region, by the area identification assignment in spatial index region in position data, and sets up the corresponding relation between spatial index region and position data.
Here it should be noted that, the area identification of present position data and previous time point can also compare by system, if when area identification changes, system also will upgrade area identification corresponding to position data.Can ensure that area identification can be corresponding in real time with position data like this, thus ensure the accuracy of the data inquired.
Further, in embodiments of the present invention, play up the generation of picture in order to realize real time position, system is by the time interval according to program setting, and constantly generate the raster data picture of certain time point, this raster data picture is object picture.From memory database redis, obtain the position data of current point in time, start section according to chart portfolio engineer's scale (i.e. the pyramid structure of GIS), thus finally obtain object picture corresponding to each time period.
Further, in embodiments of the present invention, in order to improve the efficiency of image slice, the bottom level of pyramid structure is adopted and first produces an overall object picture by the large region unit expression region of 8*8 (namely under this level), again from this object picture, corresponding picture region spanning subgraph sheet object is intercepted by the expression scope of id under WMTS service regulation under this level to object picture, and be stored to database.Such process is compared to each id region and carries out picture drafting separately, and the data decreased on picture compare the drafting number of times of traversal number of times and picture, because the drafting repeatedly carrying out little picture can more expend the more time compared to intercepting sub-pictures.
Further, in embodiments of the present invention, after establishing the corresponding relation between spatial index region and position time, if when system acceptance is to the query argument of terminal, raster data query interface in system, by the data query based on terminal, determines the first object picture that described terminal is corresponding in picture database.
System by based on the first object picture determined, and according to the first spatial index region that space arithmetic quick position first object picture of JTS represents.After system determines the first spatial index region, the corresponding relation that system will be transferred between spatial index region and position data, then determine that the primary importance data that the first spatial index region is corresponding, primary importance data are now primary importance data corresponding to terminal.
After obtaining primary importance data, primary importance Plotting data is entered the first object picture by system, generates the first picture comprising primary importance data, that is, can demonstrate the current residing position of terminal in the first picture.So after generation first picture, the first picture is sent to terminal by system, the quick response that so just real-time in the Map Services position data to terminal is inquired about and the display of real-time Density Distribution.
The method of a kind of locus index in the corresponding embodiment of the present invention, additionally provide the system of a kind of locus index in the embodiment of the present invention, be illustrated in figure 2 the structural representation of the system of a kind of locus index in the embodiment of the present invention, this system comprises:
Acquisition module 201, for obtaining the query argument of terminal to report;
Processing module 202, for according to described query argument, determines the first object picture prestored; According to described first object picture, determine the first spatial index region residing for described first object picture; According to the corresponding relation between spatial index region and position data, determine the primary importance data that described first spatial index region is corresponding;
Generation module 203, for described primary importance Plotting data is entered shown first object picture, generates and comprises described primary importance data first picture.
Further, in embodiments of the present invention, described processing module 202, also for carrying out spatial index Region dividing to appointed area, obtain N number of spatial index region, by the area identification assignment in spatial index region in position data, and set up the corresponding relation between described spatial index region and position data.Wherein, N be more than or equal to 1 positive integer.
Further, in embodiments of the present invention, described processing module 202, also for according to setting-up time interval, generates the object picture that each time point is corresponding; Preserve the object picture that each time point of generation is corresponding.
Further, in embodiments of the present invention, described processing module 202, specifically for according to planning computing formula, determines the spatial index scope that described first picture is corresponding; Described spatial index scope and described N number of spatial index region are compared, determines the residing described first spatial index region that described first object picture is corresponding.
Further, in embodiments of the present invention, this system also comprises:
Sending module, for described first picture comprising primary importance data is sent to counterpart terminal, presents described first picture and described primary importance data to make described terminal.
Although described the preferred embodiment of the application, one of ordinary skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various change and modification to the application and not depart from the spirit and scope of the application.Like this, if these amendments of the application and modification belong within the scope of the application's claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.
Claims (10)
1. a method for locus index, is characterized in that, described method comprises:
Obtain the query argument of terminal to report;
According to described query argument, determine the first object picture prestored;
According to described first object picture, determine the first spatial index region residing for described first object picture;
According to the corresponding relation between spatial index region and position data, determine the primary importance data that described first spatial index region is corresponding;
Described primary importance Plotting data is entered shown first object picture, generates and comprise described primary importance data first picture.
2. the method for claim 1, is characterized in that, before the query argument obtaining terminal to report, also comprises:
Spatial index Region dividing is carried out to appointed area, obtains N number of spatial index region, wherein, N be more than or equal to 1 positive integer;
By the area identification assignment in spatial index region in position data, and set up the corresponding relation between described spatial index region and position data.
3. method as claimed in claim 2, is characterized in that, before the query argument obtaining terminal to report, also comprises:
According to setting-up time interval, generate the object picture that each time point is corresponding;
Preserve the object picture that each time point of generation is corresponding.
4. method as claimed in claim 2, is characterized in that, according to described first object picture, determine the first spatial index region residing for described first object picture, comprising:
According to planning computing formula, determine the spatial index scope that described first picture is corresponding;
Described spatial index scope and described N number of spatial index region are compared, determines the residing described first spatial index region that described first object picture is corresponding.
5. the method for claim 1, is characterized in that, described primary importance Plotting data is being entered shown first object picture, generates after comprising described primary importance data first picture, also comprises:
Described first picture comprising primary importance data is sent to counterpart terminal, presents described first picture and described primary importance data to make described terminal.
6. a system for locus index, is characterized in that, comprising:
Acquisition module, for obtaining the query argument of terminal to report;
Processing module, for according to described query argument, determines the first object picture prestored; According to described first object picture, determine the first spatial index region residing for described first object picture; According to the corresponding relation between spatial index region and position data, determine the primary importance data that described first spatial index region is corresponding;
Generation module, for described primary importance Plotting data is entered shown first object picture, generates and comprises described primary importance data first picture.
7. system as claimed in claim 6, it is characterized in that, described processing module, also for carrying out spatial index Region dividing to appointed area, obtain N number of spatial index region, by the area identification assignment in spatial index region in position data, and set up the corresponding relation between described spatial index region and position data.Wherein, N be more than or equal to 1 positive integer.
8. system as claimed in claim 7, is characterized in that, described processing module, also for according to setting-up time interval, generates the object picture that each time point is corresponding; Preserve the object picture that each time point of generation is corresponding.
9. system as claimed in claim 7, is characterized in that, described processing module, specifically for according to planning computing formula, determines the spatial index scope that described first picture is corresponding; Described spatial index scope and described N number of spatial index region are compared, determines the residing described first spatial index region that described first object picture is corresponding.
10. system as claimed in claim 6, it is characterized in that, described system also comprises:
Sending module, for described first picture comprising primary importance data is sent to counterpart terminal, presents described first picture and described primary importance data to make described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510834798.4A CN105354326B (en) | 2015-11-26 | 2015-11-26 | Spatial position indexing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510834798.4A CN105354326B (en) | 2015-11-26 | 2015-11-26 | Spatial position indexing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105354326A true CN105354326A (en) | 2016-02-24 |
CN105354326B CN105354326B (en) | 2020-09-04 |
Family
ID=55330298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510834798.4A Active CN105354326B (en) | 2015-11-26 | 2015-11-26 | Spatial position indexing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105354326B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106646560A (en) * | 2016-12-30 | 2017-05-10 | 重庆多道电子技术有限公司 | Device for judging target entering into/exiting from appointed area on basis of position data |
CN106772485A (en) * | 2016-12-30 | 2017-05-31 | 重庆多道电子技术有限公司 | The method that target passes in and out designated area is judged based on position data |
CN108369602A (en) * | 2017-03-28 | 2018-08-03 | 深圳中兴力维技术有限公司 | The spatial display method and device of monitoring device |
CN110347938A (en) * | 2019-07-12 | 2019-10-18 | 深圳众赢维融科技有限公司 | Geographic information processing method, apparatus, electronic equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119278A (en) * | 2007-09-14 | 2008-02-06 | 广东威创日新电子有限公司 | Method and system for processing mass data |
CN102368259A (en) * | 2011-10-10 | 2012-03-07 | 北京百度网讯科技有限公司 | Electronic map data storage and query method, device and system |
US8930371B1 (en) * | 2008-06-30 | 2015-01-06 | Amazon Technologies, Inc. | Systems and methods for efficiently storing index data on an electronic device |
-
2015
- 2015-11-26 CN CN201510834798.4A patent/CN105354326B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119278A (en) * | 2007-09-14 | 2008-02-06 | 广东威创日新电子有限公司 | Method and system for processing mass data |
US8930371B1 (en) * | 2008-06-30 | 2015-01-06 | Amazon Technologies, Inc. | Systems and methods for efficiently storing index data on an electronic device |
CN102368259A (en) * | 2011-10-10 | 2012-03-07 | 北京百度网讯科技有限公司 | Electronic map data storage and query method, device and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106646560A (en) * | 2016-12-30 | 2017-05-10 | 重庆多道电子技术有限公司 | Device for judging target entering into/exiting from appointed area on basis of position data |
CN106772485A (en) * | 2016-12-30 | 2017-05-31 | 重庆多道电子技术有限公司 | The method that target passes in and out designated area is judged based on position data |
CN108369602A (en) * | 2017-03-28 | 2018-08-03 | 深圳中兴力维技术有限公司 | The spatial display method and device of monitoring device |
CN108369602B (en) * | 2017-03-28 | 2021-09-21 | 深圳力维智联技术有限公司 | Space display method and device of monitoring equipment |
CN110347938A (en) * | 2019-07-12 | 2019-10-18 | 深圳众赢维融科技有限公司 | Geographic information processing method, apparatus, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN105354326B (en) | 2020-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106384371B (en) | Map drawing method based on vector tiles | |
CN101447091B (en) | Method and apparatus for processing graphics | |
CN110134755B (en) | Map updating method, device, equipment, server and medium | |
CN109086286B (en) | Method for producing and publishing color topographic map | |
CN110321443B (en) | Three-dimensional live-action model database construction method and device and data service system | |
CN106777302B (en) | Method and device for converting space geographic coordinates | |
CN105354326A (en) | Spatial position indexing method and system | |
CN112559667A (en) | Map editor, map engine, map editing system, map editing method, and storage medium | |
CN109726261A (en) | A kind of heating power drawing generating method and device | |
CN105574102A (en) | Electronic map data loading method and device | |
CN110457271A (en) | A kind of tile map update method and system | |
CN101257149A (en) | Method for dividing aerial reflecting plane graticule based on structure electromagnetic coupling | |
CN102779165A (en) | Building method of grid map picture base | |
CN108375806A (en) | The acquisition methods and device of weather-map | |
CN112765299B (en) | Visualization method and device for irregular raster data, electronic equipment and storage medium | |
CN114663324A (en) | Fusion display method of BIM (building information modeling) model and GIS (geographic information system) information and related components | |
CN110674134B (en) | Geographic information data storage method, query method and device | |
CN109657023A (en) | Scenic spot dynamic electronic map method for drafting, server and system | |
CN103902633A (en) | Method, device and system for generating POI hotspot data | |
CN114254491A (en) | Data processing method, device, equipment and storage medium | |
CN113626547A (en) | Freight industry map vector slicing method and device, storage medium and terminal | |
CN103092818B (en) | Thumbnail generation system and the reduced graph generating method of form | |
CN110619675B (en) | OsgEarth-based surface vector data loading method | |
CN113066178B (en) | Map data processing method, device, equipment and storage medium | |
JP2015212964A (en) | Information processing device, method and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |