CN109947882A - Map Services dissemination method and device - Google Patents
Map Services dissemination method and device Download PDFInfo
- Publication number
- CN109947882A CN109947882A CN201910143357.8A CN201910143357A CN109947882A CN 109947882 A CN109947882 A CN 109947882A CN 201910143357 A CN201910143357 A CN 201910143357A CN 109947882 A CN109947882 A CN 109947882A
- Authority
- CN
- China
- Prior art keywords
- data
- map services
- layer
- center
- spatial
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present invention provides a kind of Map Services dissemination method and device.The described method includes: according to geographical entity lab setting the default style file;According to user demand inquiry, the spatial data for screening and obtaining data offer center publication, the data provide center and store the spatial data according to unified storage specification;The integration and verifying of different figure layer data are carried out to the spatial data of acquisition;The figure layer by verifying is rendered according to the default style file, new pattern file is generated, for issuing Map Services.The embodiment of the present invention inquires, screens and obtains the spatial data of unified storage specification from data offer center, carries out the integration of figure layer data source, carries out figure layer dynamic using Mapnik and renders, realizes the fast browsing and publication of slice type Map Services.
Description
Technical field
The present embodiments relate to remote sensing technology field more particularly to a kind of Map Services dissemination methods and device.
Background technique
Spatial data mainly carries image sensor by satellite or aircraft and obtains at present, and each data provide what center provided
Spatial data is all managed using respective standard storage.Traffic direction, spatial dimension, geodata are administered not by data centers at different levels
Together, it needed in the application of practical publication Map Services from different data center's retrievals, extract and realize target area different data
Combination.
Existing Map Services all have isolated property, and in Map Services publication, data source be must assure that in same data
Center, data acquisition and processing are difficult, and data source also cannot achieve dynamic update, and the Map Services after publication can not repair
Change map styles, announced Map Services can only be deleted, modified Map Services is issued again, inefficiency.
Summary of the invention
The embodiment of the present invention provides a kind of Map Services dissemination method and device, to solve Map Services in the prior art
The low problem of efficiency for issuing.
The embodiment of the present invention provides a kind of Map Services dissemination method, which comprises
According to geographical entity lab setting the default style file;
It according to user demand inquiry, screens and obtains data the spatial data of center publication is provided, during the data provide
The heart stores the spatial data according to unified storage specification;
The integration and verifying of different figure layer data are carried out to the spatial data of acquisition;
The figure layer by verifying is rendered according to the default style file, new pattern file is generated, for issuing ground
Figure service.
The embodiment of the present invention provides a kind of Map Services dissemination method, and the method is applied to data and provides center, comprising:
According to the identifiable unified storage specification in Map Services center in the form of database table memory space data when
Between, space and attribute information, with the document form store vector data and raster data that can be read;
Data query and screening are carried out according to the inquiry, screening and acquisition request at the Map Services center, and to described
Map Services center sends the spatial data for meeting demand;
Check that data whether there is according to the checking request at the Map Services center, the production of data or uplink time are
No meet demand, the spatial dimension of data whether be within range of needs and the attribute information of data whether meet demand
Setting;
The spatial data that updates storage and synchronize the data of update is shared to the Map Services center.
The embodiment of the present invention provides a kind of Map Services distributing device, and described device includes:
Setting unit, for according to geographical entity lab setting the default style file;
Acquiring unit provides the spatial data of center publication, institute for data to be inquired, screened and obtained according to user demand
It states data and provides center according to the unified storage specification storage spatial data;
Processing unit, for carrying out the integration and verifying of different figure layer data to the spatial data of acquisition;
Generation unit generates new pattern text for rendering according to the default style file to the figure layer by verifying
Part, for issuing Map Services.
The embodiment of the present invention provides a kind of Map Services distributing device, and described device is located at data and provides center, the dress
It sets and includes:
Storage unit, for according to the identifiable specification memory space data in the form of database table in Map Services center
Time, space and attribute information, with the document form store vector data and raster data that can be read;
Transmission unit, for according to the inquiry, screening and acquisition request at the Map Services center carry out data query and
Screening, and the spatial data for meeting demand is sent to the Map Services center;
Authentication unit, for checking that data whether there is according to the checking request at the Map Services center, the life of data
Produce or uplink time whether meet demand, whether the spatial dimension of data is within range of needs and the attribute information of data
Whether the setting of meet demand;
The data of update are simultaneously synchronized to share to the map and taken by data updating unit, spatial data for updating storage
Business center.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor realize above-mentioned Map Services publisher when executing described program
Method.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
Above-mentioned Map Services dissemination method is realized when described program is executed by processor.
Map Services dissemination method and device provided in an embodiment of the present invention, Map Services center is from data offer center
The spatial data for inquiring, screening and obtain unified storage specification, carries out the integration of figure layer data source, carries out figure layer using Mapnik
Dynamic renders, and realizes the fast browsing and publication of slice type Map Services.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the Map Services dissemination method that one embodiment of the invention provides;
Fig. 2 is the composition schematic diagram for the Mapnik pattern file that one embodiment of the invention provides;
The composition schematic diagram of figure layer label in the Mapnik pattern file that Fig. 3 provides for one embodiment of the invention;
Fig. 4 is the flow diagram for the Map Services dissemination method that further embodiment of this invention provides;
Fig. 5 is the flow diagram for the distributed maps service issuing method that one embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the Map Services distributing device that one embodiment of the invention provides;
Fig. 7 is the structural schematic diagram for the Map Services distributing device that further embodiment of this invention provides;
Fig. 8 is the structural schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The embodiment of the present invention is applied to Map Services center, and Map Services center is used to complete publication and the pipe of Map Services
Reason, the data of Map Services provide center by data and provide.Under the support of Map Services center and data service center, rely on
Mapnik pattern file completes the description of final to map service.
Mapnik is the library with map rendering function of a open source, and core is the shared library of a C++, provides sky
Between data access and visual algorithm and mode, be one open source lightweight map rendering engine, it is characterized in that watt
The dynamic generation of piece.
Fig. 1 shows a kind of flow diagram of Map Services dissemination method provided in an embodiment of the present invention.
As shown in Figure 1, the method specifically includes the following steps:
S11, according to geographical entity lab setting the default style file;
Specifically, the service published method of Map Services center setting default, for the space number that geographical entity library is general
According to common thematic map figure layer combination in industry field according to type setting default figure layer, is preset, saved as after rendering figure layer silent
Recognize Mapnik pattern file, issues customized Map Services.When issuing Map Services according to user demand, taken according to map
The demand ornamenting data of business update Map Services pattern file.
It should be noted that default Mapnik pattern file is without ornamenting used in customized service, it is therefore an objective to be
The patterns for keeping data original.
S12, the spatial data for inquiring, screening and obtaining data offer center publication according to user demand, the data mention
The spatial data is stored according to unified storage specification for center;
Specifically, user demand is analyzed, provide center screening from data and extracts required data, wherein during data provide
The heart is according to the identifiable specification storing data information in Map Services center.
S13, the integration and verifying that different figure layer data are carried out to the spatial data of acquisition;
Specifically, Map Services center carries out Data Integration according to different layer types to the spatial data of extraction, different
The data group of layer type is combined into different data collection, such as is combined into the data set of point, line or face layer type, by these data
Collection is ranked up according to arrangement mode predetermined.Center, which is provided, to data simultaneously sends the effective of requests verification integral data
The feasibility of property and demand.
S14, the figure layer by verifying is rendered according to the default style file, new pattern file is generated, for sending out
Cloth Map Services.
Specifically, figure layer dynamic is carried out using Mapnik to the Demand and service by verifying to render, generate new Mapnik
Pattern file renders part in the position of the data source components confirmation data source of the figure layer label of file and querying method, figure layer
Use the map styles of default.
Fig. 2 shows the composition schematic diagrames of Mapnik pattern file.
Mapnik pattern file is made of different XML tags, the meaning that each label has oneself to represent, such as Fig. 2
It is shown, it is broadly divided into map tag, style tags, figure layer label.Wherein:
Map tag: being the description information of to map service in service labels, such as the sky of Map Services title, Map Services
Between projection information, in map element pattern style.
Style tags: defining the pattern of figure layer, distinguishes element type, mainly sets font, line style, the maps rendering such as filling
Condition, style tags do not provide which figure layer belonged to.
Fig. 3 shows the composition schematic diagram of figure layer label in Mapnik pattern file.
As shown in figure 3, in figure layer label (such as: service including figure layer title, pattern title, coordinate information, data source information
The information such as device address, database instance name, database user name and password), the query statement of data source in the database, herein
Query statement the pattern mark using same names is specified according to database standard (such as PostGreSql standard), in style information
Label rendering figure layer.
In single pattern file, map tag can only have one, and style tags and figure layer label can define it is multiple.
The style tags of the layer types such as different point, line, surface, grid are defined, realizes and uses multiple types in a Map Services
Data, render different types of figure layer data with different style, also realize the data of same type, use different patterns
The ability of label, as supermarket's point figure layer and water system face figure layer use different style tags or supermarket's point figure layer and bank's point
Different style tags renderings can be used in figure layer.The figure layer of different data sources is defined, realizes that data need be not necessarily stored in map clothes
Business center or the same data provide center, only need to believe the corresponding server info of data source and database when designing figure layer
Breath is filled in correctly, and Map Services accurately can be quickly issued.
The embodiment of the present invention relies on the Map Services publication of Mapnik data render slice, reduces Map Services center
Data store pressure, the unified management and use for realizing Map Services.
Map Services dissemination method provided in an embodiment of the present invention, Map Services center inquires from data offer center,
The spatial data for screening and obtaining unified storage specification, carries out the integration of figure layer data source, carries out figure layer dynamic using Mapnik
The fast browsing and publication of slice type Map Services are realized in rendering.
On the basis of the above embodiments, S11 is specifically included:
According to the default figure layer of global geographical solid data setting different types of data;
The rendering style of each default figure layer is set, and described the rendering style includes font, line style and filling;
Figure layer combination after rendering is saved as into the default style file.
Specifically, default service published method is set at Map Services center, according to the arrangement mode of definition to inhomogeneity
Type data set is ranked up, setting default figure layer and pattern file.When issuing Map Services, rapid data selection is only needed (to be not required to
It is concerned about data source), Map Services are issued using the map styles of default.
On the basis of the above embodiments, S13 is specifically included:
The spatial data of different figure layers is integrated;
Determine that the data source information of different figure layer integral datas, the data source information include server info, database
The query statement of information and data source in the database;
Map Services are registered, the customized information of Map Services is saved, the customized information includes the inquiry letter of integral data
Breath;
The customized information serviced according to the map provides center to data and sends checking request, verifies the validity of integral data
And feasibility.
Specifically, according to user demand, inquiry and the default style and data source information for determining Map Services, and in map
Service centre registers Map Services, stores the customization result of Map Services.
The service subscription information of service centre according to the map sends to data center and requests, according to " the Space Time-of data
Belong to " information, the validity and feasibility of integral data are verified, checks that data whether there is, the production of data or uplink time are
Whether the spatial dimension of no meet demand, data is within range of needs, and whether meet demand is set for the attribute informations of data
It is fixed.
On the basis of the above embodiments, S14 is specifically included:
Default the rendering style that different figure layer integral datas are inquired from the default style file, renders figure layer;
Figure layer after the data source information and rendering of the different figure layer integral datas is saved as into new pattern file.
Specifically, Map Services center generates new Mapnik pattern file according to the customization service by verifying, new
Position and query statement of the data source components of the figure layer label of pattern file added with data source, figure layer rendering part use silent
The map styles recognized.
On the basis of the above embodiments, the method also includes:
The figure layer data source information and style information that pattern file is modified according to the variation dynamic of user demand, regenerate
Pattern file realizes that the dynamic rendering of Map Services updates;
Specifically, announced Map Services, the rendering style part and data source according to new demand modification pattern file
Part.
Data are periodically inquired, screened and obtained automatically, the new spatial data of center publication is provided, by new figure layer data
Source information and data query sentence are added to the corresponding label in pattern file, realize that the dynamic of Map Services updates.
Specifically, when refreshing Map Services, new style tags content rendering map is read, new data source label is read
Content provides center requests data from service again, realizes the update of Map Services pattern and data source.
On the basis of the above embodiments, the method also includes:
The division of administrative division is carried out to spatial data according to the physical location of data cover, and spatial data is carried out
The differentiation of different type and format;
It determines the place name address of the data of different zonings, and determines the spatial storage methods side of different type and format
Formula, so that the data provide center according to unified storage specification memory space data.
Specifically, it is multinomial interior to design unified data storage specification, including time, space, attribute etc. for Map Services center
Hold, so that data provide center according to the identifiable specification storing data information in Map Services center.
Unified data storage specification can be as given a definition:
(1) classify according to data class, according to existing geographical entity library standard, such as category of roads, order of stream;Or
Person directly organizes as data splitting, such as customized place name address base.According to the physical location of data cover, the model of data is confirmed
It encloses and administrative division.
(2) it is distinguished according to the type of data and format, the data that data provide central store are multiple formats, are such as used
Database or standard data file (files of the formats such as GeoTIFF, ShapeFile, CSV, GeoJson) store different-format
Data, every class data meet the requirement of map service centre, if vector data provides the title of field, the structure of csv file,
Raster data uniform format is GeoTIFF format etc..
Fig. 4 shows the flow diagram of the Map Services dissemination method of one embodiment of the invention offer.
The method is applied to data and provides center, as shown in figure 4, specifically includes the following steps:
S21, unify storage specification memory space data in the form of database table according to Map Services center is identifiable
Time, space and attribute information, with the document form store vector data and raster data that can be read;
Specifically, data provide center and count the geographical spatial data that can be issued, identifiable according to Map Services center
Unified storage specification, vector number are stored with the structure for the csv file that can be read, and raster data is unified for GeoTIFF file format
Storage.Wherein, vector data is mainly obtained by field operation measurement and raster data vector quantization, and raster data mainly by satellite or flies
Machine carries image sensor and obtains.
PostgreSQL is the Object-Relation data management system of an open source, possess data type abundant support and
Good spatial data is expanded, and is unique data base management system for supporting the characteristics such as things, subquery.And it is excellent to possess performance
Good geodata is expanded --- geodata object (PostGISGPL).
The embodiment of the present invention uses " Space Time-category " information of PostgreSQL database purchase geodata, multiple data
The data that offer center combines realize the diversification of data, and publication spatial dimension is wider, thematic type is more, content is more complete
Face, the stronger map slice service of timeliness.
S22, data query and screening are carried out according to the inquiry, screening and acquisition request at the Map Services center, and to
The Map Services center sends the spatial data for meeting demand;
S23, check that data whether there is according to the checking request at the Map Services center, when the production or upload of data
Between whether meet demand, whether the spatial dimension of data is within range of needs and whether the attribute information of data meets need
The setting asked;
S24, the spatial data updated storage and synchronize the data of update are shared to the Map Services center.
Specifically, data provide center and provide data retrieval service and the service for checking credentials of data for Map Services center.Number
It shares according to the data dynamic real-time update of offer central store, and by synchronizing information is updated into the data service of Map Services.
By modification pattern file and more source of new data, the dynamic for realizing Map Services updates Map Services.
Map Services dissemination method provided in an embodiment of the present invention, data provide center and provide data for Map Services center
The service for checking credentials of retrieval service and data, and timing or regularly data source safeguard, expand Map Services coverage area and
Data content.
To sum up, the ability at Map Services center includes: to define geographical entity library, for geographical entity library customization default map
Common thematic map figure in the level and spatial display grade, default industry field between geographical entity that pattern, setting are defaulted
Layer combines, for the demand of user's registration, and in conjunction with existing data resource, the feasibility of demands on examination, map datum are virtually whole
Conjunction is verified, and is sent the validity of requests verification data to data offer center and is customized the feasibility serviced, modifies according to demand
Pattern file updates Map Services and management Map Services.
Data provide center ability include: database table form storage geodata " Space Time-category " information, with
The document form storage geodata that can be read, based on " Space Time-category " condition, realize data retrieval service and data
The service for checking credentials, thermal response more source of new data and by update synchronizing information share into the data service of Map Services.
The embodiment of the present invention is supported with PostgreSQL data type abundant and good spatial data is expanded
(PostGIS) based on, slice (vector data and raster data) is rendered using the data dynamic of Mapnik Map Services, is realized
The distributed storage and management of data.The distributed storage and Mapnik Dynamic Slicing of Map Services of the embodiment of the present invention and timing
The characteristics of cleaning, ensure that service centre will not store a large amount of cache file, realize the reasonable utilization of resource.
Fig. 5 shows a kind of flow diagram of distributed maps service issuing method provided in an embodiment of the present invention.
As shown in figure 5, successfully publication Map Services need to include that configuration process (i.e. setting the default style), analysis need to
It asks, customize service, verification process, generate pattern file, issuing service, management service composition and modified according to new changes in demand
Pattern file and etc..
Each step specific implementation elaborates in the above-described embodiments, and which is not described herein again.
Fig. 6 shows a kind of structural schematic diagram of Map Services distributing device provided in an embodiment of the present invention.
As shown in fig. 6, Map Services distributing device provided in an embodiment of the present invention is applied to Map Services center, comprising:
Setting unit 11, acquiring unit 12, processing unit 13 and generation unit 14, in which:
The setting unit 11, for according to geographical entity lab setting the default style file;
Specifically, the service published method of default is set, is set for the general spatial data in geographical entity library according to type
Default figure layer is set, common thematic map figure layer combination in industry field is preset, saves as default Mapnik pattern after rendering figure layer
File.
Mapnik pattern file is defaulted without ornamenting, in order to keep the pattern that data are original.
The acquiring unit 12 provides the space of center publication for data to be inquired, screened and obtained according to user demand
Data, the data provide center and store the spatial data according to unified storage specification;
Specifically, center screening is provided from data and extract required data, wherein data provide center according to Map Services
The identifiable specification storing data information in center.
The processing unit 13, for carrying out the integration and verifying of different figure layer data to the spatial data of acquisition;
Specifically, Data Integration, the number of different layer types are carried out according to different layer types to the spatial data of extraction
It is combined into different data collection according to group, such as is combined into the data set of point, line or face layer type, by these data sets according to fixed in advance
The arrangement mode of justice is ranked up.Simultaneously to data provide center send requests verification integral data validity and demand can
Row.
The generation unit 14 generates new for being rendered according to the default style file to the figure layer by verifying
Pattern file, for issuing Map Services.
Specifically, figure layer dynamic is carried out using Mapnik to the Demand and service by verifying to render, generate new Mapnik
Pattern file renders part in the position of the data source components confirmation data source of the figure layer label of file and querying method, figure layer
Use the map styles of default.
The composition of Mapnik pattern file is as shown in Figures 2 and 3, and which is not described herein again.
Map Services distributing device provided in an embodiment of the present invention, Map Services center inquires from data offer center,
The spatial data for screening and obtaining unified storage specification, carries out the integration of figure layer data source, carries out figure layer dynamic using Mapnik
The fast browsing and publication of slice type Map Services are realized in rendering.
On the basis of the above embodiments, the setting unit 11 includes:
First setup module, for the default figure layer according to global geographical solid data setting different types of data;
Second setup module, for be arranged it is each default figure layer the rendering style, described the rendering style include font, line style and
Filling;
First preserving module, for the figure layer combination after rendering to be saved as the default style file.
Specifically, default service published method is set at Map Services center, according to the arrangement mode of definition to inhomogeneity
Type data set is ranked up, setting default figure layer and pattern file.When issuing Map Services, rapid data selection is only needed (to be not required to
It is concerned about data source), Map Services are issued using the map styles of default.
On the basis of the above embodiments, the processing unit 13 includes:
Module is integrated, for integrating the spatial data of different figure layers;
Determining module, for determining that the data source information of different figure layer integral datas, the data source information include service
The query statement of device information, database information and data source in the database;
Registration module saves the customized information of Map Services, the customized information includes integration for registering Map Services
The query information of data;
Authentication module, the customized information for servicing according to the map provide center to data and send checking request, verify whole
Close the validity and feasibility of data.
Specifically, according to user demand, inquiry and the default style and data source information for determining Map Services, and in map
Service centre registers Map Services, stores the customization result of Map Services.
The service subscription information of authentication module service centre according to the map sends to data center and requests, according to data
" Space Time-category " information verifies the validity and feasibility of integral data, checks that data whether there is, the production or upload of data
Time whether meet demand, whether the spatial dimension of data be within range of needs, and whether the attribute information of data meets need
The setting asked.
On the basis of the above embodiments, the generation module 14 includes:
Rendering module, for inquiring default the rendering style of different figure layer integral datas from the default style file, to figure
Layer is rendered;
Second preserving module, for saving the figure layer after the data source information and rendering of the different figure layer integral datas
For new pattern file.
Specifically, Map Services center generates new Mapnik pattern file according to the customization service by verifying, new
Position and query statement of the data source components of the figure layer label of pattern file added with data source, figure layer rendering part use silent
The map styles recognized.
On the basis of the above embodiments, described device further include:
Unit is modified, the figure layer data source information and pattern of pattern file are modified for the variation dynamic according to user demand
Information regenerates pattern file, realizes that the dynamic rendering of Map Services updates;
Specifically, announced Map Services, the rendering style part and data source according to new demand modification pattern file
Part.
Updating unit provides the new spatial data of center publication for periodically inquiring, screening and obtaining data automatically, will
New figure layer data source information and data query sentence is added to the corresponding label in pattern file, realizes the dynamic of Map Services
It updates.
Specifically, when refreshing Map Services, new style tags content rendering map is read, new data source label is read
Content provides center requests data from service again, realizes the update of Map Services pattern and data source.
On the basis of the above embodiments, described device further include:
Taxon carries out the division of administrative division for the physical location according to data cover to spatial data, and
The differentiation of different type and format is carried out to spatial data;
Determination unit, the place name address of the data for determining different zonings, and determine the sky of different type and format
Between data storage mode so that the data provide center according to unified storage specification memory space data.
Specifically, it is multinomial interior to design unified data storage specification, including time, space, attribute etc. for Map Services center
Hold, so that data provide center according to the identifiable specification storing data information in Map Services center.
Fig. 7 shows the structural schematic diagram of the Map Services distributing device of one embodiment of the invention offer.
Described device is applied to data and provides center, as shown in fig. 7, described device includes: storage unit 21, transmission unit
22, authentication unit 23 and data updating unit 24, in which:
The storage unit 21, for according to the identifiable unified storage specification in Map Services center with the shape of database table
Time, space and the attribute information of formula memory space data, with the document form store vector data and raster data that can be read;
Specifically, data provide center and count the geographical spatial data that can be issued, identifiable according to Map Services center
Unified storage specification, vector number are stored with the structure for the csv file that can be read, and raster data is unified for GeoTIFF file format
Storage.Wherein, vector data is mainly obtained by field operation measurement and raster data vector quantization, and raster data mainly by satellite or flies
Machine carries image sensor and obtains.
PostgreSQL is the Object-Relation data management system of an open source, possess data type abundant support and
Good spatial data is expanded, and is unique data base management system for supporting the characteristics such as things, subquery.And it is excellent to possess performance
Good geodata is expanded --- geodata object (PostGISGPL).
The embodiment of the present invention uses " Space Time-category " information of PostgreSQL database purchase geodata, multiple data
The data that offer center combines realize the diversification of data, and publication spatial dimension is wider, thematic type is more, content is more complete
Face, the stronger map slice service of timeliness.
The transmission unit 22, for carrying out data according to the inquiry, screening and acquisition request at the Map Services center
Inquiry and screening, and the spatial data for meeting demand is sent to the Map Services center;
The authentication unit 23, for checking that data whether there is according to the checking request at the Map Services center, number
According to production or uplink time whether meet demand, whether the spatial dimension of data is within range of needs and the category of data
Property information whether the setting of meet demand;
The data updating unit 24, spatial data for updating storage and synchronize the data of update are shared to described
Map Services center.
Specifically, data provide center and provide data retrieval service and the service for checking credentials of data for Map Services center.Number
It shares according to the data dynamic real-time update of offer central store, and by synchronizing information is updated into the data service of Map Services.
By modification pattern file and more source of new data, the dynamic for realizing Map Services updates Map Services.
Map Services dissemination method provided in an embodiment of the present invention, data provide center and provide data for Map Services center
The service for checking credentials of retrieval service and data, and timing or regularly data source safeguard, expand Map Services coverage area and
Data content.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
For example as follows:
Fig. 8 illustrates a kind of entity structure schematic diagram of server, as shown in figure 8, the server may include: processor
(processor) 31, communication interface (Communications Interface) 32, memory (memory) 33 and communication bus
34, wherein processor 31, communication interface 32, memory 33 complete mutual communication by communication bus 34.Processor 31 can
To call the logical order in memory 33, to execute following method:
According to the spatial data that geographical entity library data provide center publication, the default style file is set;
It according to user demand inquiry, screens and obtains data the spatial data of center publication is provided, during the data provide
The heart stores the spatial data according to unified storage specification;
The integration and verifying of different figure layer data are carried out to the spatial data of acquisition;
The figure layer by verifying is rendered according to the default style file, new pattern file is generated, for issuing ground
Figure service.
In addition, the logical order in above-mentioned memory 33 can be realized and as only by way of SFU software functional unit
Vertical product when selling or using, can store in a computer readable storage medium.Based on this understanding, this hair
Substantially the part of the part that contributes to existing technology or the technical solution can be with soft in other words for bright technical solution
The form of part product embodies, which is stored in a storage medium, including some instructions are to make
It obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present invention
The all or part of the steps of the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
Claims (10)
1. a kind of Map Services dissemination method, which is characterized in that the described method includes:
According to geographical entity lab setting the default style file;
According to user demand inquiry, the spatial data for screening and obtaining data offer center publication, the data provide center and press
The spatial data is stored according to unified storage specification;
The integration and verifying of different figure layer data are carried out to the spatial data of acquisition;
The figure layer by verifying is rendered according to the default style file, generates new pattern file, for issuing map clothes
Business.
2. the method according to claim 1, wherein described according to geographical entity lab setting the default style file packet
It includes:
According to the default figure layer of global geographical solid data setting different types of data;
The rendering style of each default figure layer is set, and described the rendering style includes font, line style and filling;
Figure layer combination after rendering is saved as into the default style file.
3. the method according to claim 1, wherein the spatial data of described pair of acquisition carries out different figure layer data
Integration and verifying include:
The spatial data of different figure layers is integrated;
Determine that the data source information of different figure layer integral datas, the data source information include server info, database information
And the query statement of data source in the database;
Map Services are registered, save the customized information of Map Services, the customized information includes the query information of integral data;
The customized information serviced according to the map to data provide center send checking request, verify integral data validity and can
Row;
Described to be rendered according to the default style file to the figure layer by verifying, generating new pattern file includes:
Default the rendering style that different figure layer integral datas are inquired from the default style file, renders figure layer;
Figure layer after the data source information and rendering of the different figure layer integral datas is saved as into new pattern file.
4. the method according to claim 1, wherein the method also includes:
The figure layer data source information and style information that pattern file is modified according to the variation dynamic of user demand, regenerate pattern
File realizes that the dynamic rendering of Map Services updates;
Data periodically being inquired, screened and being obtained automatically, the new spatial data of center publication is provided, new figure layer data source is believed
Breath and data query sentence are added to the corresponding label in pattern file, realize that the dynamic of Map Services updates.
5. the method according to claim 1, wherein the method also includes:
The division of administrative division is carried out to spatial data according to the physical location of data cover, and spatial data is carried out different
The differentiation of type and format;
It determines the place name address of the data of different zonings, and determines the spatial storage methods mode of different type and format,
So that the data provide center according to unified storage specification memory space data.
6. a kind of Map Services dissemination method, which is characterized in that the method is applied to data and provides center, comprising:
According to Map Services center identifiable unified storage specification time of memory space data, sky in the form of database table
Between and attribute information, with the document form store vector data and raster data that can be read;
Data query and screening are carried out according to the inquiry, screening and acquisition request at the Map Services center, and to the map
Service centre sends the spatial data for meeting demand;
Check that data whether there is according to the checking request at the Map Services center, whether the production of data or uplink time are full
Sufficient demand, the spatial dimension of data whether be within range of needs and the attribute information of data whether meet demand is set
It is fixed;
The spatial data that updates storage and synchronize the data of update is shared to the Map Services center.
7. a kind of Map Services distributing device, which is characterized in that described device includes:
Setting unit, for according to geographical entity lab setting the default style file;
Acquiring unit provides the spatial data of center publication, the number for data to be inquired, screened and obtained according to user demand
The spatial data is stored according to unified storage specification according to the center of offer;
Processing unit, for carrying out the integration and verifying of different figure layer data to the spatial data of acquisition;
Generation unit generates new pattern file, uses for being rendered according to the default style file to the figure layer by verifying
In publication Map Services.
8. a kind of Map Services distributing device, which is characterized in that described device is located at data and provides center, and described device includes:
Storage unit, for according to the identifiable unified storage specification memory space in the form of database table in Map Services center
Time, space and the attribute information of data, with the document form store vector data and raster data that can be read;
Transmission unit, for carrying out data query and screening according to the inquiry, screening and acquisition request at the Map Services center,
And the spatial data for meeting demand is sent to the Map Services center;
Authentication unit, for according to the checking request at the Map Services center check data whether there is, the production of data or
Uplink time whether meet demand, whether the spatial dimension of data is within range of needs and whether the attribute information of data
The setting of meet demand;
Data updating unit, spatial data for updating storage and synchronize the data of update are shared into the Map Services
The heart.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes that map takes as described in any one of claim 1 to 6 when executing described program
The step of business dissemination method.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
It is realized when program is executed by processor as described in any one of claim 1 to 6 the step of Map Services dissemination method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910143357.8A CN109947882A (en) | 2019-02-26 | 2019-02-26 | Map Services dissemination method and device |
CN201910561340.4A CN110309249B (en) | 2019-02-26 | 2019-06-26 | Map service publishing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910143357.8A CN109947882A (en) | 2019-02-26 | 2019-02-26 | Map Services dissemination method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947882A true CN109947882A (en) | 2019-06-28 |
Family
ID=67008073
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910143357.8A Pending CN109947882A (en) | 2019-02-26 | 2019-02-26 | Map Services dissemination method and device |
CN201910561340.4A Active CN110309249B (en) | 2019-02-26 | 2019-06-26 | Map service publishing method and device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910561340.4A Active CN110309249B (en) | 2019-02-26 | 2019-06-26 | Map service publishing method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN109947882A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111159326A (en) * | 2020-01-02 | 2020-05-15 | 中国航空工业集团公司西安航空计算技术研究所 | Airborne digital map local data incremental updating method and device |
CN112073507A (en) * | 2020-09-04 | 2020-12-11 | 上海领旌信息科技有限公司 | Geographic information system, application configuration method and APP client loading method |
CN112256255A (en) * | 2020-09-27 | 2021-01-22 | 中孚安全技术有限公司 | Dynamic configuration display method and system for map layer of electronic map |
CN112699428A (en) * | 2019-10-23 | 2021-04-23 | 阿里巴巴集团控股有限公司 | Method and device for generating map data and computer system |
CN113379912A (en) * | 2021-07-01 | 2021-09-10 | 中煤航测遥感集团有限公司 | Map service publishing method, map service publishing device, terminal equipment and readable storage medium |
CN115114356A (en) * | 2022-06-28 | 2022-09-27 | 河北平普数政科技有限公司 | Real-time decryption method based on vector data front-end display |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080104531A1 (en) * | 2006-09-29 | 2008-05-01 | Stambaugh Thomas M | Spatial organization and display of enterprise operational integration information |
CN109086286B (en) * | 2017-12-07 | 2021-06-29 | 中国科学院电子学研究所苏州研究院 | Method for producing and publishing color topographic map |
CN108764678A (en) * | 2018-05-18 | 2018-11-06 | 天津科技大学 | Industrial and mining enterprises' management information system based on Arcgis |
-
2019
- 2019-02-26 CN CN201910143357.8A patent/CN109947882A/en active Pending
- 2019-06-26 CN CN201910561340.4A patent/CN110309249B/en active Active
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699428A (en) * | 2019-10-23 | 2021-04-23 | 阿里巴巴集团控股有限公司 | Method and device for generating map data and computer system |
CN111159326A (en) * | 2020-01-02 | 2020-05-15 | 中国航空工业集团公司西安航空计算技术研究所 | Airborne digital map local data incremental updating method and device |
CN112073507A (en) * | 2020-09-04 | 2020-12-11 | 上海领旌信息科技有限公司 | Geographic information system, application configuration method and APP client loading method |
CN112073507B (en) * | 2020-09-04 | 2022-08-05 | 上海领旌信息科技有限公司 | Geographic information system, application configuration method and APP client loading method |
CN112256255A (en) * | 2020-09-27 | 2021-01-22 | 中孚安全技术有限公司 | Dynamic configuration display method and system for map layer of electronic map |
CN113379912A (en) * | 2021-07-01 | 2021-09-10 | 中煤航测遥感集团有限公司 | Map service publishing method, map service publishing device, terminal equipment and readable storage medium |
CN113379912B (en) * | 2021-07-01 | 2023-09-26 | 中煤航测遥感集团有限公司 | Map service issuing method, device, terminal equipment and readable storage medium |
CN115114356A (en) * | 2022-06-28 | 2022-09-27 | 河北平普数政科技有限公司 | Real-time decryption method based on vector data front-end display |
Also Published As
Publication number | Publication date |
---|---|
CN110309249A (en) | 2019-10-08 |
CN110309249B (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309249A (en) | Map Services dissemination method and device | |
CN107239531B (en) | Implementation method for expanding WMS service of GeoServer releasing custom tiles | |
CN105007320B (en) | Based on the intelligent movable tourist guide system of Cloud Server | |
CN109472524B (en) | Information processing method and device | |
CN108282527B (en) | Generate the distributed system and method for Service Instance | |
CN104539681B (en) | The processing method of distributed GIS acceleration systems and GIS service | |
CN109643312A (en) | Trustship query service | |
EP3928473A1 (en) | Systems and methods for communications node upgrade and selection | |
JP2020531970A (en) | Fusion of scalable space-time density data | |
CN105025100B (en) | Based on the hand-drawing map intelligent guide guide system of iOS system | |
CN105721629B (en) | User identifier matching process and device | |
CN105025101A (en) | Hand-drawn map-based intelligent guide and navigation system of Android system | |
CN109918378A (en) | A kind of remotely-sensed data storage method and storage system based on block chain | |
US10262055B2 (en) | Selection of data storage settings for an application | |
CN108257025A (en) | Orphan's declaration form distribution method and device | |
US20180181973A1 (en) | Method of determining crowd dynamics | |
CN105021186A (en) | Intelligent tour-guiding and view-guiding system based on hand-drawn map | |
CN106569790A (en) | Card template generation method and device, service providing method and device, and information providing method and device | |
WO2019019448A1 (en) | Administrative area division verification method, device, server and storage medium | |
CN112817946A (en) | Intelligent development method and system based on layered microservice | |
CN112435311A (en) | Method and device for generating electronic geo-fence | |
CN110046155A (en) | The update of property data base, data characteristics determination method, device and equipment | |
US20140222538A1 (en) | Customer experience management for an organization | |
CN109542894A (en) | User data concentrates storage method, device, medium and computer equipment | |
CN105354326B (en) | Spatial position indexing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190628 |
|
WD01 | Invention patent application deemed withdrawn after publication |