CN115774767A - Geographic information metadata processing method and device - Google Patents

Geographic information metadata processing method and device Download PDF

Info

Publication number
CN115774767A
CN115774767A CN202310094513.2A CN202310094513A CN115774767A CN 115774767 A CN115774767 A CN 115774767A CN 202310094513 A CN202310094513 A CN 202310094513A CN 115774767 A CN115774767 A CN 115774767A
Authority
CN
China
Prior art keywords
metadata
data
geospatial
different
geographic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310094513.2A
Other languages
Chinese (zh)
Other versions
CN115774767B (en
Inventor
常杰
王陈
刘夯
孙婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jouav Automation Technology Co ltd
Original Assignee
Chengdu Jouav Automation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jouav Automation Technology Co ltd filed Critical Chengdu Jouav Automation Technology Co ltd
Priority to CN202310094513.2A priority Critical patent/CN115774767B/en
Publication of CN115774767A publication Critical patent/CN115774767A/en
Application granted granted Critical
Publication of CN115774767B publication Critical patent/CN115774767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and a device for processing geographic information metadata, which can generate a corresponding architecture with a certain structure and relationship according to different OGC metadata specifications and geographic metadata specifications defined by other organizations, and map the architecture into a set of structured data according to fields of different specifications so as to solve the problems of storing and analyzing different specification standards and generating and exporting XML data of metadata specifications of corresponding standards. The method adopts computer language to describe various characteristics and relations of geographic information metadata entities and elements, and reconstructs multi-level and multi-state data structures of the metadata data structure table set in an organization form of top-down and unified inheritance. The problems that the existing scheme is weak in interaction capacity, poor in flexibility, incapable of adapting to different application scenes and the like are solved.

Description

Geographic information metadata processing method and device
Technical Field
The invention relates to a metadata processing technology, in particular to a method and a device for processing geographic information metadata.
Background
In recent years, with the increasing popularity of geographic information service application fields and audience groups, people have more and more diverse requirements on geographic information services, and geographic data are registered and distributed on the network in the form of services by government departments, enterprise institutions and the like engaged in the geographic information industry, so that the number of geographic information services is increased sharply. The geospatial data contains a large amount of attribute data, has richer and more complex semantic information than a general relational database and a transaction database, and hides rich knowledge.
In the face of a large amount of information resources, how to organize, manage and utilize the information resources is a problem which is very concerned by information resource users, and under the background environment that people urgently need to solve the problem of disorder of the information resources, a concept of metadata is provided. Metadata is data about data describing information resources or data objects, and is generated for effectively solving problems existing in network resource retrieval, and the purpose of using the metadata is to identify resources, track the resources, evaluate changes of the resources in the using process, and realize effective discovery and search of the information resources and effective management of the used resources. The metadata effectively searches and controls the disordered digital information, provides a new method for sorting, searching, controlling and managing the information, can effectively realize the description of the information, and improves the quality of the data.
To enable management of geospatial metadata information, OGC proposes a CSW (OGC Catalog Service for Web) specification that can be used to publish and retrieve metadata about geospatial data, services and related resources. According to the public interface defined by the directory service, the method can be bound with a specific application and a metadata information model thereof, and is effectively applied to geospatial information resources. By adopting a related directory service interface, the registration, browsing and discovery of geospatial data can be realized. Because the registration service has a specific information modeling mode, a standardized registration information model is adopted, a mapping relation from a corresponding metadata information model to the registration information model needs to be established, different metadata specifications are various at present, such as ISO, FGDC, CH/Z9018-2012, DC and other specifications, and the metadata standards generally adopt a structured expression method, so that on one hand, the structured content expression form is more suitable for information bodies with more organization information, but the analysis and processing difficulty is high; on the other hand, the lack of a uniform metadata standard definition language results in inconsistent definition expression of the metadata standard. The metadata standards often define only the logical structure of metadata without specifying a specific implementation, different data, industries employ different specifications to generate geospatial metadata, diverse specifications make managing metadata difficult, and the CSW specification proposed by OGC is only a conceptual description. There is no method that can support flexible and effective organization and management of metadata format standards of different standards, and the traceability of each record is lacked, information integration and sharing among heterogeneous platforms are realized, and metadata acquisition and preview of different geospatial data are realized.
Therefore, how to provide a method capable of effectively implementing efficient management of geospatial data with different geospatial metadata specifications is a problem to be solved at present.
Disclosure of Invention
The invention provides a method and a device for processing geographic information metadata, which realize effective management of metadata information of different geographic space data. The specific scheme is as follows:
in a first aspect, the present application discloses a geographic information metadata processing method, including:
acquiring attribute information of corresponding geospatial metadata according to different geospatial data by registering a metadata extraction driver;
standardizing different specifications of the geospatial metadata to generate standardized metadata corresponding to the different specifications;
and analyzing the geospatial metadata to be stored, and storing the geospatial metadata in a manner of mapping to a data set based on the standard architecture of the corresponding normalized metadata.
Optionally, the step of acquiring attribute information of corresponding geospatial metadata according to different geospatial data by registering the metadata extraction driver specifically includes:
registering metadata extraction drivers according to different geospatial data;
acquiring the metadata extraction driver;
opening a geographic information data source through the metadata extraction driver to obtain a space-time data set; the geographic information data source comprises a local resource path and a network address;
and acquiring attribute information of corresponding geographic space metadata through the time-space data set, and acquiring a metadata attribute table.
Optionally, the step of performing normalization processing on different specifications of the geospatial metadata to generate normalized metadata corresponding to the different specifications specifically includes:
acquiring standards corresponding to different specifications of geospatial metadata;
analyzing a data structure of attribute information in standards of geospatial metadata with different specifications, and describing the data structure and other specifications on which the standards depend by using a computer language, wherein the data structure comprises value standards, ranges and data types of the metadata;
according to the data structure described by using the computer language, generating corresponding metadata standard architectures aiming at different specifications respectively;
and generating XML format data under the corresponding metadata standard architecture according to the metadata standard architecture and the metadata attribute table.
Optionally, the analyzing the geospatial metadata to be saved and storing the geospatial metadata in a manner of mapping to a data set based on a standard architecture of the corresponding normalized metadata specifically includes:
analyzing the geospatial metadata corresponding to different specifications;
judging whether the metadata standard architecture corresponding to the specification is generated or not, and if not, regenerating the metadata standard architecture corresponding to the specification;
obtaining a metadata attribute table corresponding to the geospatial metadata;
and performing relational reconstruction and extraction mapping on the acquired metadata attribute table based on the metadata standard architecture, and storing the metadata attribute table into a data table, wherein the data table is a structured data set correspondingly established in a database.
Optionally, the analyzing the geospatial metadata to be saved and storing the geospatial metadata in a manner of mapping to a data set based on a standard architecture of the corresponding normalized metadata further includes:
acquiring attribute fields defined by a user;
and establishing a mapping relation between the attribute field and the field in the data table.
Optionally, the method further includes:
and quickly previewing the stored different geospatial data.
Optionally, the step of quickly previewing the stored different geospatial data specifically includes:
registering geospatial data conversion drive;
registering geospatial data publishing drivers;
generating corresponding configuration information of the geospatial data release driver according to different geospatial data;
issuing a drive according to the configuration information and the geospatial data;
and acquiring a geographic space data preview address for the front-end tool to preview data.
In a second aspect, the present application discloses a geographic information metadata processing apparatus, comprising:
the data acquisition unit is used for acquiring attribute information of corresponding geographic space metadata according to different geographic space data by registering the metadata extraction driver;
the normalization processing unit is used for performing normalization processing on different specifications of the geographic space metadata and determining a normalized metadata format;
and the data storage unit is used for analyzing the geographic space metadata with different specifications to obtain corresponding information of a normalized metadata format and storing the information in a mode of mapping to a data set.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including:
one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of the first aspect.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a program code is stored, and the program code can be called by a processor to execute the method according to the first aspect.
In summary, the present invention provides a method and an apparatus for processing geographic information metadata, which describe various features and relationships of geographic information metadata entities and elements in terms of data parsing and reconstruction, and reconstruct a multi-level and multi-state data structure of a metadata structure table set in an organization form of top-down unified inheritance. In the aspect of constructing the metadata information interactive view, the invention visually and completely reflects the whole content of the metadata data dictionary by mapping the metadata with different specifications into the data table, dynamically and flexibly shows the multilevel and polymorphic structure of the metadata data dictionary, and provides an efficient and extensible solution for the arrangement, retrieval, control and management of the geographic information. The problems that the existing scheme is weak in interaction capacity, poor in flexibility, incapable of adapting to different application scenes and the like are solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a method flow diagram of a geographic information metadata processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method of a metadata acquisition method according to an embodiment of the present invention;
FIG. 3 is a method flow diagram of a method for generating normalized metadata for different canonical geographic information metadata in accordance with an embodiment of the invention;
FIG. 4 is a flowchart illustrating an implementation of a method for generating normalized metadata of different normalized geographic information metadata according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for parsing a standardized storage of geospatial metadata specifications with different specifications according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating an implementation of a different specification geospatial metadata specification parsing standardized storage method in accordance with an embodiment of the present invention;
FIG. 7 is a flowchart of a method for quickly previewing geospatial metadata according to an embodiment of the present invention;
FIG. 8 is a flow chart illustrating an exemplary implementation of data retrieval for geospatial data in accordance with an embodiment of the present invention;
FIG. 9 is a functional block diagram of a geographic information metadata processing apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram illustrating an electronic device for executing a geographic information metadata processing method according to an embodiment of the present application according to an embodiment of the present invention;
fig. 11 is a block diagram of a computer-readable storage medium for storing or carrying program code for implementing a geographic information metadata processing method according to an embodiment of the present application, according to an embodiment of the present invention.
Reference numerals:
a data acquisition unit 110; a normalization processing unit 120; a data storage unit 130; an electronic device 300; a processor 310; a memory 320; a computer-readable storage medium 400; program code 410.
Detailed Description
In recent years, with the increasing popularity of geographic information service application fields and audience groups, people have more and more diverse requirements on geographic information services, and geographic data are registered and distributed on the network in the form of services by government departments, enterprise institutions and the like engaged in the geographic information industry, so that the number of geographic information services is increased sharply. The geospatial data contains a large amount of attribute data, has richer and more complex semantic information than a general relational database and a transaction database, and hides rich knowledge.
In the face of a large amount of information resources, how to organize, manage and utilize the information resources is a problem which is very concerned by information resource users, and under the background environment that people urgently need to solve the problem of disorder of the information resources, a concept of metadata is provided. Metadata is data about data describing information resources or data objects, and is generated for effectively solving problems existing in network resource retrieval, and the purpose of using the metadata is to identify resources, track the resources, evaluate changes of the resources in the using process, and realize effective discovery and search of the information resources and effective management of the used resources. The metadata effectively retrieves and controls the disordered digital information, provides a new method for sorting, retrieving, controlling and managing the information, can effectively realize the description of the information, and improves the quality of the data.
To enable management of geospatial metadata information, OGC proposes a CSW (OGC Catalog Service for Web) specification that can be used to publish and retrieve metadata about geospatial data, services and related resources. According to the public interface defined by the directory service, the method can be bound with a specific application and a metadata information model thereof, and can be effectively applied to geospatial information resources. By adopting a related directory service interface, the registration, browsing and discovery of geospatial data can be realized. Because the registration service has a specific information modeling mode, a standardized registration information model is adopted, a mapping relation from a corresponding metadata information model to the registration information model needs to be established, different metadata specifications are various at present, such as ISO, FGDC, CH/Z9018-2012, DC and other specifications, and the metadata standards generally adopt a structured expression method, so that on one hand, the structured content expression form is more suitable for information bodies with more organization information, but the analysis and processing difficulty is high; on the other hand, the lack of a uniform metadata standard definition language results in inconsistent definition expression of the metadata standard. The metadata standards often define only the logical structure of metadata without specifying a specific implementation, different data, industries employ different specifications to generate geospatial metadata, diverse specifications make managing metadata difficult, and the CSW specification proposed by OGC is only a conceptual description. There is no method that can support flexible and effective organization and management of metadata format standards of different standards, and the traceability of each record is lacked, information integration and sharing among heterogeneous platforms are realized, and metadata acquisition and preview of different geospatial data are realized.
Therefore, how to provide a method capable of effectively implementing efficient management of geospatial data with different geospatial metadata specifications is a problem to be solved at present.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that the terms "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings or the orientations or positional relationships conventionally used in the product of the present invention, and are only used for convenience of description and simplification of the description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed in a specific orientation, and operate, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, the present invention provides a geographic information metadata processing method, including:
step S101, through registering a metadata extraction driver, acquiring attribute information of corresponding geospatial metadata according to different geospatial data.
Step S102, different specifications of the geographic space metadata are normalized, and normalized metadata corresponding to the different specifications are generated.
Step S103, analyzing the geospatial metadata to be saved, and storing the geospatial metadata in a mode of mapping to a data set based on the corresponding standard architecture of the normalized metadata.
The geographic information metadata processing method provided by the embodiment of the invention has the main processing logic that the metadata is acquired, and the attribute information of the corresponding geographic space metadata is acquired respectively aiming at different geographic space data. Metadata is data describing data, mainly information describing data attributes, and is used to describe basic information of geospatial information, such as data creation time, data geographic range, and the like.
And after acquiring attribute information of the geospatial metadata corresponding to different geospatial data, generating normalized metadata. Different geospatial metadata have different specifications or standards, and need to be normalized respectively to determine a metadata standard architecture for normalizing the different geospatial metadata, and standard format data corresponding to the geospatial metadata under the metadata standard architecture is generated according to the metadata standard architecture.
And finally, analyzing the geographic space metadata with different specifications, and mapping and storing the geographic space metadata based on the corresponding metadata standard architecture. Through the steps, the metadata content of the corresponding geographic space data is collected for different geographic information data, the standard format data of the corresponding geographic information metadata is generated, and standardized storage management is carried out.
On the basis, as a preferred implementation manner of the embodiment of the present invention, a flow of the method for acquiring metadata corresponding to step S101 is shown in fig. 2, and includes:
step S201, a driver is extracted according to different geospatial data registration metadata.
Step S202, acquiring the metadata extraction driver.
And correspondingly registering the metadata extraction driver aiming at different geographic space data. For the metadata registration service, metadata registration is mainly performed by generating metadata records and calling an insertRecords service.
Step S203, opening a geographic information data source through the metadata extraction driver to obtain a space-time data set; the geographic information data source comprises a local resource path and a network address.
Different geographic information data sources respectively correspond to different geographic space data, and the corresponding geographic information data sources can be opened through the registered metadata extraction driving program, so that a time-space data set is obtained. The geographic information data source includes, but is not limited to, a local resource path, a network address, and the like.
And step S204, acquiring attribute information of corresponding geographic space metadata through the space-time data set, and obtaining a metadata attribute table.
The contents of the metadata attribute table correspond to the acquired attribute information.
Through the steps, the attribute information of the geographic space metadata corresponding to different geographic space data is obtained. The geospatial metadata acquisition method is described below by a specific case:
in this case, an open source Library GDAL (Geospatial Data Abstraction Library) in the OpenGIS domain is used as the implementation basis of the method. GDAL is an open source grid space data conversion library under X/MIT license agreement; it uses abstract data model to express supported various file formats; it also has a series of command line tools to perform data conversion and processing.
GDAL is an open source grid space data conversion library under X/MIT license agreement; it uses abstract data model to express supported various file formats; it also has a series of command line tools to perform data conversion and processing.
The GDAL-defined data-driven GDALDriver type can be used as all data-driven base classes, corresponding geospatial data drives are registered, then an Open interface is opened, the geospatial network data and local resource data are included, corresponding geographic data sets are returned, and some metadata information of the geospatial data can be acquired through the returned geographic data sets. For the thumbnail acquisition of the map space data, the thumbnail acquisition of the Shp, tiff and video format data is supported.
As a preferred implementation manner of the embodiment of the present invention, a flow of the method for generating the normalized metadata corresponding to step S102 is shown in fig. 3, and includes:
step S301, obtaining standards corresponding to different specifications of geospatial metadata.
Step S302, analyzing the data structure of the attribute information in the standards of the geospatial metadata with different specifications, and describing the data structure and other specifications on which the standards depend by using a computer language, wherein the data structure comprises the value standard, the range and the data type of the metadata.
Step S303, generating the metadata standard architecture corresponding to the metadata standard architecture aiming at different specifications according to the data structure described by the computer language.
And step S304, generating XML format data under the corresponding metadata standard architecture according to the metadata standard architecture and the metadata attribute table.
In specific implementation, as shown in fig. 4, since different geospatial metadata may have different specifications, a standard corresponding to the geospatial metadata of different specifications is obtained first, and then a specific data structure in the specification is parsed, and the data structure and other specifications on which the standard depends are described using a computer language. As a preferred embodiment, the description may be made using JSON format. After the analysis is completed, respectively aiming at different specifications, a metadata standard architecture (Schema) corresponding to the specifications is generated. And on the basis of the generated metadata standard architecture, generating the XML format data based on the metadata standard architecture by combining the metadata attribute table corresponding to the attribute information of the geospatial metadata acquired in the step S101.
Specifically, firstly, defining the data type of metadata by adopting a computer language according to an XML mode implementation rule of a geographic information metadata specification, then extracting metadata entity, element, code table and code table enumeration item information recorded in the metadata XML mode file and the code table file, and analyzing the metadata entity, the element object, the code table object and the code table enumeration item information into an entity object, an element object, a code table object and a code table enumeration item object of the data type; and reconstructing a metadata data dictionary organization relationship, describing an inclusion relationship, a reference relationship, a generalization relationship and a specialization relationship recorded in a metadata data structure table by a computer language through expanding and defining attributes of an entity class and an element class in a data type of metadata and assigning the attributes, and organizing an entity object and an element object obtained by analysis together to form a geospatial data metadata standard architecture. And generating corresponding XML metadata records through a structured metadata standard architecture.
As a preferred implementation manner of the embodiment of the present invention, a method flow of the different canonical geospatial metadata canonical analysis standardized storage method corresponding to step S103 is shown in fig. 5, and includes:
step S401, analyzing the geospatial metadata corresponding to different specifications.
Step S402, judging whether the metadata standard architecture corresponding to the specification is generated, if not, regenerating the metadata standard architecture corresponding to the specification;
step S403, a metadata attribute table corresponding to the geospatial metadata is obtained.
And S404, performing relationship reconstruction and extraction mapping on the acquired metadata attribute table based on the metadata standard architecture, and storing the metadata attribute table into a data table. The data table is a structured data set correspondingly established in the database.
During specific execution, as shown in fig. 6, based on the processing logic of the foregoing steps S301 to S304, on the basis of the generated standard architecture of the metadata, the geospatial metadata corresponding to different specifications is analyzed, and in combination with the obtained metadata attribute table of the geospatial metadata of different specifications, attribute analysis, relationship reconstruction, and extraction mapping are performed on the metadata attribute table. The data table is established in a database and is a structured data set, and the mapping result of the metadata attribute table is directly stored in the data table, so that the storage of the geospatial metadata with different specifications is realized.
It should be noted that, for the geospatial metadata to be stored, the standard architecture of the metadata corresponding to the specification used by the geospatial metadata may or may not be generated already when steps S301-S304 are executed. If not, the actions corresponding to the steps S301-S303 are re-executed for the specification, and the metadata standard architecture corresponding to the specification is generated. Correspondingly, if the corresponding metadata attribute table is already obtained when step S204 is executed, the metadata attribute table is directly obtained from the existing metadata attribute table, and if not, the actions corresponding to the above steps S201 to S204 need to be re-executed to obtain the metadata attribute table corresponding to the geospatial metadata.
For a data table, the data table is directly established in a database for storing data, and fields in the data table are fixed, so for metadata attribute tables of geospatial metadata of different specifications, a mapping relation from the metadata attribute table to the data table needs to be determined, and contents in the metadata attribute table are mapped into the data table, so that the geospatial metadata of different specifications can be stored.
As a preferred implementation of the embodiment of the invention, a plug-in development mode is also provided for supporting a user to define the geospatial metadata standard, analyze and standardize the geospatial metadata standard and store the standard in a database. And when the data table mentioned in the step is customized, defining a mapping relation between the fields in the data table and the attribute fields defined by the user, so that the customized geospatial metadata specification information is analyzed and stored.
When the method is specifically executed, the method comprises the following steps:
acquiring attribute fields defined by a user;
and establishing a mapping relation between the attribute field and the field in the data table.
The method for analyzing and storing the geographic space data with different specifications in the standardized manner mainly solves the problem of storing different specifications in a standardized manner by analyzing the relation and attribute expression content of different specifications according to different geographic space metadata specifications and mapping the different specifications to a set of structured data.
Specifically, table 1 is an example of a semantic table structure provided by an embodiment of the present invention for mapping metadata to a database for different specifications:
TABLE 1 normalized Standard data Table Structure for different canonical metadata mappings
Attribute name Types of Whether null is allowed Main key Description of the invention
Identifier TEXT Whether or not Is that The record unique identifier
typename TEXT Whether or not - CSW TypeName
schema TEXT Whether or not - Structure and format used for the results: default value is http:// www. Options. Net/cat/csw/2.0.2
mdsource TEXT Whether or not - Resource source, "local" or URL for web service
insert_date TEXT Whether or not - Recording the insertion time
xml TEXT Whether or not - Raw XML metadata
anytext TEXT Whether or not - Containing only metadata elements and attributes, without XML tags
language TEXT Whether or not - Recording description language
type TEXT Whether or not - Type of data, reference http:// purl
title TEXT Whether or not - Data title
title_alternate TEXT Is that - Alias name
abstract TEXT Is that - Data summarization
keywords TEXT Is that - The data description key words can be more simplified with anyText
keywordstype TEXT Is that - Type of keyword
parentidentifier TEXT Is that - Parent identifier, which holds parent record unique identifier if multiple layers exist for a WMS service
relation TEXT Is that - Other record id of the Association
time_begin TEXT Is that - Recording start time
time_end TEXT Is that - End time of recording
topicategory TEXT Is that - Topic(s)
resourcelanguage TEXT Is that - Resource description language
creator TEXT Is that - Recording resource authors
publisher TEXT Is that - Record publisher (record publisher user ID)
contributor TEXT Is that - Contributor
organization TEXT Is that - Tissue of
securityconstraints TEXT Is that - Safety restraint
accessconstraints TEXT Is that - Access restriction
otherconstraints TEXT Is that - Other constraints (storing associated task IDs, if any)
date TEXT Is that - Time of data generation
date_revision TEXT Is that - -
date_creation TEXT Is that - Creation time
date_publication TEXT Is that - Time of release
date_modified TEXT Is that - Modifying time
format TEXT Is that - Data format
source TEXT Is that - URI Address: specifying the acquisition source of the Harvest metadata, for example: http://127.0.0.1 8080/geoserver/sf/wms
crs TEXT Is that - Coordinate identification
geodescode TEXT Is that - Geographic description code
denominator TEXT Is that - Geographic identification features
distancevalue TEXT Is that - Distance between two adjacent plates
distanceuom TEXT Is that - Distance unit
wkt_geometry TEXT Is that - WKT value
servicetype TEXT Is that - The type of service of the record, e.g. WMS
servicetypeversion TEXT Is that - Version of the recording service, e.g. 1.3.0 of WMS
operation TEXT Is that - Operations supported by the record, such as GetCapabilities, getMap, getFeatureInfo
couplingtype TEXT Is that - Element coupling types including lose, mixed, light
operateson TEXT Is that - Including layer names
operatesonidentifier TEXT Is that - Identification of included layer names
operatesoname TEXT Is that - Operation of included layers
degree TEXT Is that - Measurement of
classification TEXT Is that - Record classification
conditionapplyingtoaccessanduse TEXT Is that - Applicable conditions of access and use (record accessible user ID)
lineage TEXT Is that - Data lineage
responsiblepartyrole TEXT Is that - Responsibility party role
specificationtitle TEXT Is that - Specification header
specificationdate TEXT Is that - Normalized time
specificationdatetype TEXT Is that - Canonical data types
links TEXT Is that - JSON list of DICTs with attributes: name, description, protocol, url
As a preferred implementation manner, the geographic information metadata processing method provided in the embodiment of the present invention further includes:
and quickly previewing the stored different geospatial data.
In order to make the decision maker see the data result presented in an intuitive way, a data preview is performed which is visualized for different geospatial data which has been saved. A specific flow of the data quick preview method is shown in fig. 7, and includes:
step S501, a geospatial data conversion driver is registered.
Step S502, the geospatial data publishing driver is registered.
Step S503, generating corresponding configuration information of the geospatial data distribution driver according to different geospatial data.
And step S504, issuing a driver according to the configuration information and the geospatial data.
Step S505, a geospatial data preview address is obtained for the front-end tool to preview data.
As a preferred embodiment, when the driver is issued, the driver may issue the service as the OGC specification, and for data that does not support the service issued as the OGC specification, such as point cloud (las/laz), OSGB, and Obj data, the data conversion driver may be used to convert the data into a data format that can be loaded by the corresponding Web end, such as 3d Tiles format data.
The following describes a metadata quick preview method by a specific case:
in the metadata previewing method, data which cannot be previewed directly on a Web end by OSGB, las/laz three-dimensional geographic spatial data is mainly converted, so that data loading previewing is achieved through a front-end tool.
For the OSGB data preferred embodiment, an open-source OSGB conversion tool Cesium3DTilesConverter project is adopted, and OSGB data are converted into 3D tiles specification data defined by OGC, so that loading preview of front-end tools Cesium and ThreeJS is realized. The tool supports the conversion of the formats of OSGB, shp, GDB and the like into a 3D Tiles data format, and then loading preview is carried out by adopting a Cesium and ThreeJS front-end tool.
For the preferred embodiment of the las/laz data, a point cloud conversion tool PotreeConverter of an open source project Potree is adopted to convert the las/laz data into a data preview format supported by Potree, so that the front-end tool PotreeJS loading preview is realized.
Further, as a preferred implementation manner, the geographic information metadata processing method provided in the embodiment of the present invention further includes:
and performing data retrieval on the stored different geospatial data.
Specific execution logic as shown in fig. 8, a user may input a corresponding query condition through a query interface to obtain data meeting the condition from a database, where the query condition may be an attribute query or a spatial query. The data return format can be selected from the XML, atom and the like generated by JSON or different metadata specifications.
To sum up, the geographic information metadata processing method provided in the embodiment of the present invention can generate a Schema (Schema) corresponding to a certain structure and relationship according to different OGC metadata specifications and geographic metadata specifications defined by other organizations, and map the Schema into a set of structured data according to fields of different specifications, so as to solve the problem of storing and analyzing different specification standards and generating and exporting XML data of metadata specifications corresponding to the standards.
In the aspect of data analysis and reconstruction, various characteristics and relationships of geographic information metadata entities and elements are described by adopting a computer language, and a multi-level and multi-state data structure of a metadata data structure table set is reconstructed in a top-down unified inheritance organization form. In the aspect of constructing the metadata information interactive view, the invention visually and completely reflects the whole content of the metadata data dictionary by mapping the metadata with different specifications into the data table, dynamically and flexibly shows the multilevel and polymorphic structure of the metadata data dictionary, and provides an efficient and extensible solution for the arrangement, retrieval, control and management of the geographic information. The problems that the existing scheme is weak in interaction capacity, poor in flexibility, incapable of adapting to different application scenes and the like are solved. The patent is supported by the construction project of the technical foundation public service platform of the application and development industry of the artificial intelligence of the Chengdu, and the project number is 2021-0166-1-2.
As shown in fig. 9, the geographic information metadata processing apparatus provided in the present invention includes:
a data obtaining unit 110, configured to obtain attribute information of corresponding geospatial metadata according to different geospatial data by registering a metadata extraction driver;
the normalization processing unit 120 is configured to perform normalization processing on different specifications of the geospatial metadata to generate normalized metadata corresponding to the different specifications;
the data storage unit 130 is configured to parse the geospatial metadata to be saved, and store the metadata in a manner of mapping to a data set based on a standard architecture of the corresponding normalized metadata.
The geographic information metadata processing apparatus provided in the embodiment of the present invention is configured to implement the above-mentioned geographic information metadata processing method, and therefore, the specific implementation is the same as that of the above-mentioned method, and is not described herein again.
As shown in fig. 10, a block diagram of an electronic device 300 according to an embodiment of the present invention is provided. The electronic device 300 may be a smart phone, a tablet computer, an electronic book, or the like, which is capable of running an application program. The electronic device 300 in the present application may include one or more of the following components: a processor 310, a memory 320, and one or more applications, wherein the one or more applications may be stored in the memory 320 and configured to be executed by the one or more processors 310, the one or more applications configured to perform the methods as described in the foregoing method embodiments.
Processor 310 may include one or more processing cores. The processor 310 connects various parts throughout the electronic device 300 using various interfaces and lines, and performs various functions of the electronic device 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 320 and calling data stored in the memory 320. Alternatively, the processor 310 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 310 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 310, but may be implemented by a communication chip.
The Memory 320 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 320 may be used to store instructions, programs, code sets, or instruction sets. The memory 320 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal in use, such as a phonebook, audio-video data, chat log data, and the like.
As shown in fig. 11, a block diagram of a computer-readable storage medium 400 according to an embodiment of the present invention is provided. The computer readable medium has stored therein a program code 410, said program code 410 being invokable by the processor to perform the method described in the method embodiments above.
The computer-readable storage medium 400 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 400 includes a non-volatile computer-readable medium. The computer readable storage medium 400 has storage space for program code 410 for performing any of the method steps of the method described above. The program code 410 can be read from or written to one or more computer program products. Program code 410 may be compressed, for example, in a suitable form.
In summary, the present invention provides a method and an apparatus for processing geographic information metadata, which can generate a Schema (Schema) corresponding to a certain structure and relationship according to different OGC metadata specifications and geographic metadata specifications defined by other organizations, and map the Schema to a set of structured data according to fields of different specifications, so as to solve the problem of storing, analyzing and generating XML data of metadata specifications for exporting corresponding standards standardized specifications.
In the aspect of data analysis and reconstruction, various characteristics and relationships of geographic information metadata entities and elements are described by adopting a computer language, and a multi-level and multi-state data structure of a metadata data structure table set is reconstructed in a top-down unified inheritance organization form. In the aspect of constructing the metadata information interactive view, the invention visually and completely reflects all contents of the metadata data dictionary by mapping the metadata with different specifications into the data table, dynamically and flexibly expresses the multilevel and polymorphic structure of the metadata data dictionary, and provides an efficient and extensible solution for the sorting, searching, controlling and managing of the geographic information. The problems that the existing scheme is weak in interaction capacity, poor in flexibility, incapable of adapting to different application scenes and the like are solved.
In the embodiments disclosed in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.

Claims (10)

1. A geographic information metadata processing method, comprising:
acquiring attribute information of corresponding geographic space metadata according to different geographic space data through a registered metadata extraction driver;
standardizing different specifications of the geospatial metadata to generate standardized metadata corresponding to the different specifications;
and analyzing the geospatial metadata to be stored, and storing the geospatial metadata in a manner of mapping to a data set based on the standard architecture of the corresponding normalized metadata.
2. The method for processing geographic information metadata according to claim 1, wherein the step of acquiring attribute information of corresponding geographic spatial metadata according to different geographic spatial data by registering a metadata extraction driver specifically includes:
registering metadata extraction drivers according to different geospatial data;
acquiring the metadata extraction driver;
opening a geographic information data source through the metadata extraction driver to obtain a space-time data set; the geographic information data source comprises a local resource path and a network address;
and acquiring attribute information of corresponding geographic space metadata through the space-time data set, and acquiring a metadata attribute table.
3. The method for processing geographic information metadata according to claim 2, wherein the step of normalizing different specifications of the geospatial metadata to generate normalized metadata corresponding to the different specifications specifically includes:
acquiring standards corresponding to different specifications of geospatial metadata;
analyzing a data structure of attribute information in standards of geospatial metadata with different specifications, and describing the data structure and other specifications on which the standards depend by using a computer language, wherein the data structure comprises value standards, ranges and data types of the metadata;
according to the data structure described by using the computer language, generating corresponding metadata standard architectures aiming at different specifications respectively;
and generating XML format data under the corresponding metadata standard architecture according to the metadata standard architecture and the metadata attribute table.
4. The method according to claim 3, wherein the step of parsing the geospatial metadata to be saved and storing the parsed geospatial metadata in a manner of mapping to a data set based on a standard architecture of corresponding normalized metadata specifically comprises:
analyzing the geospatial metadata corresponding to different specifications;
judging whether a metadata standard architecture corresponding to the specification of the metadata standard architecture is generated or not, and if not, regenerating the metadata standard architecture corresponding to the specification;
obtaining a metadata attribute table corresponding to the geospatial metadata;
and performing relational reconstruction and extraction mapping on the acquired metadata attribute table based on the metadata standard architecture, and storing the metadata attribute table into a data table, wherein the data table is a structured data set correspondingly established in a database.
5. The method for processing geographic information metadata according to claim 4, wherein the step of parsing the geospatial metadata to be saved and storing the parsed geospatial metadata in a manner of mapping to a data set based on a standard architecture of corresponding normalized metadata further comprises:
acquiring attribute fields defined by a user;
and establishing a mapping relation between the attribute field and the field in the data table.
6. The geographic information metadata processing method according to claim 1, wherein said method further comprises:
and quickly previewing the stored different geospatial data.
7. The method for processing geographic information metadata according to claim 6, wherein the step of performing quick preview on the different stored geospatial data specifically includes:
registering geospatial data conversion drive;
registering geospatial data publishing drivers;
generating corresponding configuration information of the geospatial data release driver according to different geospatial data;
issuing a drive according to the configuration information and the geospatial data;
and acquiring a geographic space data preview address for the front-end tool to preview data.
8. A geographic information metadata processing apparatus, comprising:
the data acquisition unit is used for acquiring attribute information of corresponding geographic space metadata according to different geographic space data by registering the metadata extraction driver;
the normalization processing unit is used for carrying out normalization processing on different norms of the geographic space metadata to generate normalized metadata corresponding to the different norms;
and the data storage unit is used for analyzing the geospatial metadata to be saved and storing the geospatial metadata in a mode of mapping to a data set on the basis of the corresponding standard architecture of the normalized metadata.
9. An electronic device, comprising:
one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a program code is stored in the computer-readable storage medium, which program code can be called by a processor to execute the method according to any of claims 1-7.
CN202310094513.2A 2023-02-10 2023-02-10 Geographic information metadata processing method and device Active CN115774767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310094513.2A CN115774767B (en) 2023-02-10 2023-02-10 Geographic information metadata processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310094513.2A CN115774767B (en) 2023-02-10 2023-02-10 Geographic information metadata processing method and device

Publications (2)

Publication Number Publication Date
CN115774767A true CN115774767A (en) 2023-03-10
CN115774767B CN115774767B (en) 2023-05-16

Family

ID=85393499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310094513.2A Active CN115774767B (en) 2023-02-10 2023-02-10 Geographic information metadata processing method and device

Country Status (1)

Country Link
CN (1) CN115774767B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625694A (en) * 2009-08-17 2010-01-13 中国科学院地理科学与资源研究所 Method and system for storing various standard geological metadata
CN102708203A (en) * 2012-05-18 2012-10-03 成都科泰地理信息技术有限公司 Database dynamic management method based on XML metadata
CN102937998A (en) * 2012-11-27 2013-02-20 北京邮电大学 Mapping method for identifying recognized metadata
WO2014175922A1 (en) * 2013-04-24 2014-10-30 Mastercard International Incorporated Systems and methods for using metadata to search for related computer infrastructure components
US20170286456A1 (en) * 2014-08-29 2017-10-05 Akana, Inc Dynamic ontology schema generation and asset management for standards for exchanging data
CN108292323A (en) * 2016-01-08 2018-07-17 微软技术许可有限责任公司 Use the database manipulation of the metadata of data source
CN109522386A (en) * 2018-12-25 2019-03-26 武汉众智鸿图科技有限公司 A kind of spatial Information Service generation method and system across GIS platform
CN109684428A (en) * 2018-12-12 2019-04-26 广东启慧城市信息有限公司 Spatial data building method, device, equipment and storage medium
CN110019634A (en) * 2018-07-25 2019-07-16 中国科学院地理科学与资源研究所 The geographical spatial data correlating method and device of quantitative accurate
CN112685385A (en) * 2020-12-31 2021-04-20 广西中科曙光云计算有限公司 Big data platform for smart city construction
CN113282792A (en) * 2021-06-09 2021-08-20 青岛理工大学 Intelligent management data storage method for prefabricated building based on BIM
CN113468149A (en) * 2021-09-02 2021-10-01 北京宇信科技集团股份有限公司 Data model development platform
CN114328779A (en) * 2021-12-23 2022-04-12 王玉成 Geographic information cloud disk based on cloud computing efficient retrieval and browsing
CN115391699A (en) * 2022-08-30 2022-11-25 中科星图数字地球合肥有限公司 Cloud-optimized static geographic information vector data online service method
CN115630191A (en) * 2022-12-22 2023-01-20 成都纵横自动化技术股份有限公司 Time-space data set retrieval method and device based on full-dynamic video and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625694A (en) * 2009-08-17 2010-01-13 中国科学院地理科学与资源研究所 Method and system for storing various standard geological metadata
CN102708203A (en) * 2012-05-18 2012-10-03 成都科泰地理信息技术有限公司 Database dynamic management method based on XML metadata
CN102937998A (en) * 2012-11-27 2013-02-20 北京邮电大学 Mapping method for identifying recognized metadata
WO2014175922A1 (en) * 2013-04-24 2014-10-30 Mastercard International Incorporated Systems and methods for using metadata to search for related computer infrastructure components
US20170286456A1 (en) * 2014-08-29 2017-10-05 Akana, Inc Dynamic ontology schema generation and asset management for standards for exchanging data
CN108292323A (en) * 2016-01-08 2018-07-17 微软技术许可有限责任公司 Use the database manipulation of the metadata of data source
CN110019634A (en) * 2018-07-25 2019-07-16 中国科学院地理科学与资源研究所 The geographical spatial data correlating method and device of quantitative accurate
CN109684428A (en) * 2018-12-12 2019-04-26 广东启慧城市信息有限公司 Spatial data building method, device, equipment and storage medium
CN109522386A (en) * 2018-12-25 2019-03-26 武汉众智鸿图科技有限公司 A kind of spatial Information Service generation method and system across GIS platform
CN112685385A (en) * 2020-12-31 2021-04-20 广西中科曙光云计算有限公司 Big data platform for smart city construction
CN113282792A (en) * 2021-06-09 2021-08-20 青岛理工大学 Intelligent management data storage method for prefabricated building based on BIM
CN113468149A (en) * 2021-09-02 2021-10-01 北京宇信科技集团股份有限公司 Data model development platform
CN114328779A (en) * 2021-12-23 2022-04-12 王玉成 Geographic information cloud disk based on cloud computing efficient retrieval and browsing
CN115391699A (en) * 2022-08-30 2022-11-25 中科星图数字地球合肥有限公司 Cloud-optimized static geographic information vector data online service method
CN115630191A (en) * 2022-12-22 2023-01-20 成都纵横自动化技术股份有限公司 Time-space data set retrieval method and device based on full-dynamic video and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
K. R. MANJULA 等: "Spatial datamodel based schema creation for the forest change phenomenon", 《2014 INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM)》 *
夏姚璜: "开放政府数据平台的地理空间元数据标准研究", 《图书馆建设》 *
程越 等: "公共游乐场游乐设施核心元数据标准化研究", 《 标准科学 》 *

Also Published As

Publication number Publication date
CN115774767B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US9483464B2 (en) Method and system for managing semantic and syntactic metadata
JP4222947B2 (en) Method, program, and system for representing multimedia content management objects
US8793285B2 (en) Multidimensional tags
CN105989150B (en) A kind of data query method and device based on big data environment
US8812544B2 (en) Enterprise content management federation and integration system
US9146994B2 (en) Pivot facets for text mining and search
JP2007531157A (en) Adapter framework for integration of mission critical applications
US20040187111A1 (en) Content management portal and method for communicating media content
US9406018B2 (en) Systems and methods for semantic data integration
CN103310025A (en) Unstructured-data description method and device
US20040078355A1 (en) Information management system
CN111611448A (en) Knowledge-driven joint big data query and analysis platform
Valentine et al. EarthCube Data Discovery Studio: A gateway into geoscience data discovery and exploration with Jupyter notebooks
CN115905212A (en) Centralized metadata repository with dependency identifiers
US10133826B2 (en) UDDI based classification system
CN113761040A (en) Database and application program bidirectional mapping method, device, medium and program product
Pereira et al. SCALEUS‐FD: a FAIR data tool for biomedical applications
Pikus et al. Semi-automatic ontology-driven development documentation: generating documents from RDF data and DITA templates
CN115774767B (en) Geographic information metadata processing method and device
Bouyukliev et al. Development of a personal bibliographic information system
Fakhre Alam et al. A comparative study of RDF and topic maps development tools and APIs
JP2003091535A (en) Data management method, program and device
Schuchardt et al. Applying content management to automated provenance capture
King et al. METIS: a flexible foundation for the unified management of multimedia assets
CN100576204C (en) The method and system that is used for the storage API of common data platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 7 / F, area a, building 6, No. 200, Tianfu 5th Street, high tech Zone, Chengdu, Sichuan 610000

Patentee after: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 610000 room 801-805, 8th floor, block a, building 3, No. 200, Tianfu Fifth Street, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan

Patentee before: CHENGDU JOUAV AUTOMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address