CN114676368A - Geographic entity information display method, device, equipment and medium based on identification code - Google Patents
Geographic entity information display method, device, equipment and medium based on identification code Download PDFInfo
- Publication number
- CN114676368A CN114676368A CN202210221844.3A CN202210221844A CN114676368A CN 114676368 A CN114676368 A CN 114676368A CN 202210221844 A CN202210221844 A CN 202210221844A CN 114676368 A CN114676368 A CN 114676368A
- Authority
- CN
- China
- Prior art keywords
- code
- geographic entity
- geographic
- information
- grid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the technical field of geographic entities, and discloses a geographic entity information display method and device based on identification codes, terminal equipment and a storage medium, wherein the method comprises the following steps: calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity; obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity; acquiring a classification code, a time code and a sequence code of a geographic entity; generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code; acquiring name information and website information of a geographic entity; and generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code. The method is beneficial to convenient transmission and quick display of the geographic entity attribute information.
Description
Technical Field
The invention relates to the technical field of geographic entities, in particular to a geographic entity information display method and device based on identification codes, terminal equipment and a storage medium.
Background
The geographic entity (geo-entity) is the core content of the novel basic mapping and is the key for promoting the transformation and upgrading of the basic mapping work. In the novel basic mapping, the geographic entity is an independent entity which can be encoded and has associated position and attribute information, and is used as a bridge and a link to connect a basic geographic information database, a population database, a legal person database and a real estate database together.
Common identification codes, such as two-dimensional codes, record data symbol information by using black and white patterns with certain specific geometric patterns regularly distributed on a plane (in two-dimensional directions). The '0' and '1' bit stream concepts forming the internal logic foundation of the computer are skillfully utilized in coding, a plurality of geometric forms corresponding to binary systems are used for representing literal numerical value information, and the literal numerical value information can be automatically read through an image input device or a photoelectric scanning device so as to realize automatic information processing. The two-dimensional code has the characteristics of large information amount, high reliability, strong confidentiality and anti-counterfeiting performance, high traceability, low cost and the like.
At present, the attributes of the geographic entities are stored by using a database, and the attributes can be displayed by means of related professional software, so that the organizing, processing, analyzing, transmitting and operating efficiency of the data of the geographic entities is low. In addition, although the application range of the identification code is very wide, no mature identification code expression method exists in the aspects of the expression of codes, attributes, pictures and the like of the geographic entity, and the method is not beneficial to the convenient propagation and quick display of the attribute information of the geographic entity.
Disclosure of Invention
The invention provides a geographic entity information display method and device based on an identification code, terminal equipment and a storage medium, which are beneficial to convenient propagation and rapid display of geographic entity attribute information.
In a first aspect, to solve the above technical problem, the present invention provides an identifier-based method for displaying geographic entity information, including:
calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
acquiring a classification code, a time code and a sequence code of a geographic entity;
generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
acquiring name information and website information of a geographic entity;
and generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code.
Preferably, the method further comprises:
and when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, determining the sequence codes of the geographic entities according to the acquisition sequence of the geographic entities.
Preferably, the calculating the location code of the geographic entity according to the geographic coordinates and the spatial range of the geographic entity includes:
establishing a plane grid model and a height grid model which comprise different levels;
respectively calculating a plane sub-grid and a height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
acquiring a plane sub-grid code and a height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
and determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
Preferably, the establishing of the plane mesh model and the height mesh model including different levels includes:
carrying out plane projection on the earth surface, and expanding the longitude and latitude to obtain a plane basic grid model;
performing quad-dissection on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
obtaining a plane mesh model comprising different levels according to the plane sub-meshes;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
According to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grid.
Preferably, the method further comprises:
coding the planar sub-grids according to a preset first sequence and a first identifier to obtain planar sub-grid codes;
and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Preferably, the method comprises:
and generating the identification number of the geographic entity according to the sequence of the position code, the classification code, the type code, the time code and the sequence code.
Preferably, the method further comprises:
acquiring attribute information of the geographic entity according to the identification code;
and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information.
In a second aspect, the present invention provides an identification code-based geographic entity information display apparatus, including:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
The characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
and the information display module is used for generating an identification code of the geographic entity according to the identity identification number, the name information and the website information and displaying the information of the geographic entity according to the identification code.
In a third aspect, the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the method for displaying geographic entity information based on an identification code according to any one of the above items when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above methods for displaying geographic entity information based on an identification code.
Compared with the prior art, the invention has the following beneficial effects:
the method comprises the steps of calculating a position code of a geographic entity according to a geographic coordinate and a spatial range of the geographic entity, obtaining a type code of the geographic entity according to a geometric type and a spatial position of the geographic entity, then obtaining a classification code, a time code and a sequence code of the geographic entity, then generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code, then obtaining name information and website information of the geographic entity, finally generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code. The invention can uniquely identify the geographic entity, one identification code corresponds to the unique geographic entity, and the same identification code can not be endowed to other geographic entities for use again. Meanwhile, the geographic entity attribute information can be conveniently and rapidly spread at the mobile terminal based on the identification code, the management of multi-granularity and multi-level geographic entities can be adapted, and the structured, semi-structured and unstructured diversified attribute information of the geographic entities can be displayed.
Drawings
Fig. 1 is a schematic flowchart of a geographic entity information display method based on an identification code according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a geographic entity location coding rule provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an information display interface of a geographic entity according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an identifier-based geographic entity information display apparatus according to a second embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 1, a first embodiment of the present invention provides an identifier-based method for displaying geographic entity information, including the following steps:
s11, calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
s12, obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
S13, obtaining the classification code, time code and sequence code of the geographic entity;
s14, generating the identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
s15, acquiring name information and website information of the geographic entity;
s16, generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code.
In step S11, a location code of the geographic entity is calculated according to the geographic coordinates and the spatial range of the geographic entity. In this embodiment, based on the multidimensional space subdivision of the earth plane four-fork recursion and the height two-fork recursion, the embodiment refers to a set of 0-32-level hierarchical grid systems with the height of 50000km above the earth surface, the integrity of the order of centimeter, the integrity of the order of second and the whole second, and stores geographic entities with different sizes.
In step S12, a type code of the geographic entity is obtained according to the geometric type and the spatial position of the geographic entity. The type code represents the geometric type and spatial location of the geographic entity. Geographical solid geometric type points, lines, faces, volumes, respectively, are represented by P, L, Y, B. The geographic ground space locations include primarily ground, above ground, below ground, and mixed four categories, each designated G, A, U, C.
In step S13, the classification code, time code, sequence code, name information and website information of the geographic entity are acquired.
And classifying the geographic entities according to the types of the geographic entities to obtain classification codes. In this embodiment, the classification code is composed of an eight-digit sequence, and the appended table 4 is a geo-entity classification code table, which specifically includes the following: class 1, represented by the numbers 1-9; subgeneric 1-position, represented by the numbers 1-9; class 2 bits, represented by the numbers 10-99; class 2 bits, represented by the numbers 00-99; subclass 2 bits, represented by numerals 00-99. On the basis of referring to the data standard of urban and rural planning basic geographic information (1: 5001: 10001: 2000) in Guangzhou city, the high-level codes (1-6 bits) adopt the high-level code establishment rule (specifically see the table 1 of a geographic entity gate class and a sub-gate class system list) of GB/T25529 and 2010 geographic information classification and coding rule, and the low-level codes (7-10 bits) refer to GB/T13923 and 2006 basic geographic information element classification and code subclass and GB 50137 and 2011 classification coding rule. Illustratively, in the case of the Guangzhou tower, the classification code is 11023105.
In this embodiment, the time code is a metric year time of the first collection, investigation or library establishment of the geographic entity, and may have different lengths according to the data accuracy requirement. Illustratively, the time code is 20090928.
Further, when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, the sequence codes of the geographic entities are determined according to the acquisition sequence of the geographic entities.
The sequence code adopts 6-bit fixed-length numeric or alphabetic coding, and when different geographic entity classification codes, type codes, position codes and time codes are completely consistent, the entity sequence code is determined according to the entity acquisition sequence. Illustratively, the sequence code has 6 bits, each bit of the sequence code has a value ranging from 0 to 9 and a to z, and the sequence code is sequentially encoded from right to left, and if the sequence code is less than 6 bits, the high order is complemented by "0", for example, the cantonese tower sequence code is 000001.
In step S14, a geo-entity identity document (GID) is generated according to the classification code, the time code, the sequence code, the location code, and the type code. Specifically, the identification number of the geographic entity may be generated according to the sequence of the location code, the classification code, the type code, the time code, and the sequence code.
In step S15, name information and website information of the geographic entity are acquired. Note that the name information indicates a name of a geographic entity, such as a cantonese tower. The website information includes an identification number of the geographic entity, and an example of the website information is shown in table 3. The website information is a geographical entity information website, and the display content of the corresponding geographical entity can be checked through the website. The geographic entity display content mainly comprises geographic entity names, codes, basic attributes, professional attributes, pictures, real-scene three-dimensional models and the like.
In step S16, an identification code of the geographic entity is generated according to the identification number, the name information, and the website information, and the information of the geographic entity is displayed according to the identification code. The identification code can be a two-dimensional plane identification such as a two-dimensional code and a bar code.
Further, the method further comprises: and acquiring attribute information of the geographic entity according to the identification code, and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information. The preset display model comprises a webpage template, after the content displayed by the geographic entity is determined, the webpage displays the contents of the name, the code, the basic attribute, the professional attribute, the picture, the live-action three-dimensional model and the like of the geographic entity according to the preset dynamic webpage template, and the geographic entity webpage can be automatically generated and updated based on the template and the non-confidential information of the geographic entity in the GID query database.
In this embodiment, a two-dimensional code is taken as an example for explanation. And automatically generating the two-dimensional code of the geographic entity by the root node and the child node server established by the MA identification system issuing organization according to the GID, the name information and the website information (url) of the geographic entity. The MA identification system is the first international standard identification system which is independently controllable in China and has global root node management right and code resource allocation right, and can be used for carrying out global unique identity identification on objects of any type. After the geographic entity is created, a globally unique ID (GID) is automatically generated, and a globally unique two-dimensional code is also generated synchronously. The ID and the two-dimensional code are unique identity codes of the geographic entity, do not change along with the updating of the geographic entity until the geographic entity disappears, and embody the purpose of 'measuring one entity once' in novel basic mapping.
In specific application, the spatial identity two-dimensional code of the geographic entity is preferably generated by using national or international standards such as a QR code (ISO/IEC 18004), a quick response matrix code (GB/T18284) or a Hanxin code (GB/T21049).
The geographic entity has multiple types such as points, lines, surfaces, bodies and the like, and has the distinct characteristics of multiple granularities, multiple modes, multiple layers and carrying of structured, semi-structured and unstructured diversified information. The method manages the position data of different types of geographic entities by establishing a multi-level spatial grid; through basic attribute and extended data, the geographic entity attribute data is stored, the organization, processing, analysis, transmission and application efficiency of the geographic entity data is effectively improved, the one-code polymorphic characteristic of novel basic mapping is embodied, the normalized and standardized management of the geographic entity is realized, and more convenient mapping geographic information service is practically provided for various applications.
In order to facilitate an understanding of the invention, some preferred embodiments of the invention will now be described.
In one implementation, calculating a location code of a geographic entity according to a geographic coordinate and a spatial range of the geographic entity specifically includes:
s21, establishing a plane grid model and a height grid model which comprise different levels;
S22, respectively calculating the plane sub-grid and the height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
s23, acquiring the plane sub-grid code and height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
and S24, determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and the preset grid model level.
In step S21, establishing a planar mesh model and a height mesh model including different levels includes:
performing plane projection on the earth surface, and expanding longitude and latitude to obtain a plane basic grid model;
performing quadri-subdivision on the plane basic grid model according to a preset grid model level to obtain plane sub-grids;
obtaining a plane mesh model comprising different levels according to the plane sub-meshes;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
according to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grid.
When the sub-grids are coded, coding the plane sub-grids according to a preset first sequence and a first identifier to obtain plane sub-grid codes; and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Specifically, the surface of the earth is subjected to planar projection from the equator and the meridian of the beginning, the longitude is extended from-180 degrees to-256 degrees, the latitude is extended from-90 degrees to-256 degrees to form a square of 512 degrees multiplied by 512 degrees, and the square is used as a planar basic grid model. And performing quadri-subdivision on the plane basic grid model to form 4 plane sub-grids. The two-dimensional plane grid codes respectively represent southwest hemisphere, southeast hemisphere, northwest hemisphere and northeast hemisphere by G0, G1, G2 and G3, and each level of plane grid is split according to a quadtree on the basis of the previous level of plane grid to form 4 plane sub-grids.
And further, coding the plane sub-grids according to a preset first sequence and a first identifier to obtain the plane sub-grid codes. In this embodiment, 0, 1, 2, and 3 are used as the first identifier, and the 4 plane sub-grids are encoded in the first order in the zigzag manner. And according to the preset mesh model level, iterating in the above way, continuously subdividing the mesh, establishing plane sub-meshes of different levels, and finally obtaining the plane mesh model comprising different levels according to all the plane sub-meshes. Of course, in other embodiments, other numbers, letters, and the like may also be used as the first identifier, and other coding sequences may also be used as the first sequence, which is not described herein again.
Specifically, the height basic grid model is built from the geocenter to about 56996km of space on the earth surface, and the height basic grid model ranges from 0 degrees to 512 degrees, wherein 1 degree is about 111.32 km. And performing binary subdivision on the height basic grid model to form 2 height sub-grids, and coding the 2 height sub-grids by using 4 and 5 as second identifiers according to a second sequence from low to high. And according to the preset mesh model level, iterating in the above way, continuously subdividing the mesh, establishing sub-meshes with different levels of heights, and finally obtaining the height mesh model comprising different levels according to the height sub-meshes.
In steps S22-S24, a planar sub-grid and a height sub-grid belonging to a planar grid model and a height grid model of a geographic entity are respectively calculated according to a geographic coordinate and a spatial range of the geographic entity, a planar sub-grid code and a height sub-grid code corresponding to the planar sub-grid and the height sub-grid are obtained, and a position code of the geographic entity is determined according to the planar sub-grid code, the height sub-grid code and a preset grid model level.
Further, the mesh model hierarchy is set to 18 levels in the present embodiment, and the mesh size is 250m X250 m. According to the geographic coordinates and the spatial range of the geographic entity, the position of the geographic entity in the grid is determined, and a grid position coding rule of the geographic entity is established, as shown in the following figure 2. Wherein, X and H respectively represent the position codes of the geographic entities in each plane and height level grid. Illustratively, the generated geo-entity location code is G340414153505242434041534040404050515.
In this embodiment, a database is built and put in storage for the geographic entity data, and information such as GID of each geographic entity is recorded. When the database is established, firstly, the geographic entity range is drawn, the geographic entity is established, and then basic attributes such as the name of the geographic entity, the identification number (GID) of the geographic entity, the classification code, the position code, the time code, the type code, the sequence code, the process node, the extinction time, the address and the like are input. Wherein, the GID is formed by combining a position code, a classification code, a type code, a time code and a sequence code. And in the process of inputting the professional attributes of the geographic entities, inputting the professional attributes of the geographic entities according to the requirements of each professional for using and managing the geographic entities. Taking a building entity as an example, the surveying and mapping profession needs to input attributes such as building floors, structures, units where the building exists, measuring dates and measuring staff, and the literary and travel profession needs to input attributes such as traffic, scenery characteristics and photos. And in the process of warehousing the geographic entity data, storing the geographic entity and the attribute information into a database, and automatically establishing a globally unique GID (group identity) code according to the position code, the classification code, the type code, the time code and the sequence code.
In the using process, a user scans the two-dimensional code, the root node and the child node server established by the MA identification system issuing organization analyze the GID and the url, then the database is called, and the basic attribute and the professional attribute of the geographic entity are searched at the back end according to the geographic entity GID obtained by scanning. And displaying the related attributes of the geographic entity returned by the back end in the webpage according to the webpage template, and dynamically displaying the attribute information of the geographic entity.
The invention designs a method for displaying geographic entity information by using a dynamic webpage, which comprises the steps of storing a GID (geographic information definition), a name and a url (url) of a geographic entity in a two-dimensional code, scanning the two-dimensional code to obtain the GID, inquiring non-confidential information such as geographic entity attributes, pictures, videos and real-scene three-dimensional models in the background by means of the GID, generating the webpage in a designed webpage template through the geographic entity information returned by the background, and dynamically displaying the related information of the geographic entity, wherein the webpage display is shown in figure 3. The length of the webpage is not limited, the information such as numbers, characters, Chinese characters and the like stored in the traditional two-dimensional code can be displayed, the unstructured information such as pictures, real-scene three-dimensional models, panoramic images and the like can also be displayed, and all attributes of geographic entities can be comprehensively displayed. After the geographic on-site attributes are updated, the webpage contents can be automatically updated by scanning the two-dimensional codes again, and the requirements of different departments on management and display of geographic entities are met. Compared with the traditional bar code, the two-dimensional code can store more information and express more data types, has the advantages of low cost, easy manufacture, strong fault-tolerant capability, error correction function and the like, and has the characteristics of simple and convenient use, easy propagation and the like. The invention utilizes the advantages of the two-dimension code and improves the efficiency of inquiring, transmitting and displaying the geographic entity attribute.
Referring to fig. 4, a second embodiment of the present invention provides an apparatus for displaying geographic entity information based on an identification code, including:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
the characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating the identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
and the information display module is used for generating the identification code of the geographic entity according to the identity identification number, the name information and the website information.
Preferably, the position code calculation module includes:
the model establishing unit is used for establishing a plane grid model and a height grid model which comprise different levels;
the sub-grid computing unit is used for respectively computing the plane sub-grid and the height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
The code acquisition unit is used for acquiring the plane sub-grid codes and the height sub-grid codes corresponding to the plane sub-grids and the height sub-grids;
and the position code calculation unit is used for determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
Preferably, the model building unit includes:
the plane basic model unit is used for carrying out plane projection on the earth surface and expanding the longitude and latitude to obtain a plane basic grid model;
the plane sub-grid unit is used for carrying out four-way subdivision on the plane basic grid model according to a preset grid model level to obtain a plane sub-grid;
the plane mesh model unit is used for obtaining plane mesh models comprising different levels according to the plane sub-meshes;
the height basic model unit is used for establishing a height basic grid model according to the space range from the geocenter to the earth surface;
the height sub-grid unit is used for performing binary subdivision on the height basic grid model according to a preset grid model level to obtain a height sub-grid;
and the height grid model unit is used for obtaining height grid models comprising different levels according to the height sub-grids.
Preferably, the apparatus further comprises:
the plane coding module is used for coding the plane sub-grids according to a preset first sequence and a first identifier to obtain plane sub-grid codes;
and the height coding module is used for coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
Preferably, the apparatus further comprises:
and the sequence code generation module is used for determining the sequence codes of the geographic entities according to the acquisition sequences of the geographic entities when judging that the classification codes, the time codes, the position codes and the type codes of any two geographic entities are completely consistent.
It should be noted that the geographic entity information display device based on the identification code according to the embodiment of the present invention is used for executing all the process steps of the geographic entity information display method based on the identification code according to the embodiment, and the working principles and beneficial effects of the two are in one-to-one correspondence, so that the description is omitted.
Along with the construction of smart cities, the requirements on the spatial characteristics, the attribute characteristics and the organization management system of various geographic information resources are gradually improved, in order to meet various management requirements, unified coding, storage, management, modeling, expression, analysis and visualization are urgently needed to the whole geospatial information related to the earth surface, underground, above water and under water, and indoors and outdoors, a unified attribute management and display method needs to be established, and the scheme has the advantages that:
(1) Uniqueness: according to the scheme, based on GID, global unique identification can be carried out on the basic geographic entity, one mark code corresponds to the unique basic geographic entity, and the same mark code cannot be endowed to other geographic entities for use again;
(2) standardization: in the scheme, the mark code uses a standard two-dimensional code format specified by the state and comprises necessary geographic entity attributes;
(3) rapidness: the scheme is based on the mark code, and the geographic entity attribute information can be conveniently and rapidly transmitted at the mobile terminal;
(4) applicability: the scheme can adapt to the management of multi-granularity and multi-level geographic entities, and show the structured, semi-structured and unstructured diversified attribute information of the geographic entities;
(5) compatibility: the scheme stores geographic entity position information based on a multi-level spatial grid, has a good containment relationship with the existing longitude and latitude grid codes and can be compatible with the existing mapping geographic information data;
(6) expansibility: according to the scheme, the attribute information of geographical entities concerned by other industries is stored by expanding the attributes, and the basic geographical database is linked with the social economic database, so that the use requirements of related services such as natural resources, social economy and the like are met;
(7) resolvability: the scheme is based on a mark code technology, and realizes the special identification of the geographic entity;
(8) Safety: the geographical entity data is stored in a database and the signpost attributes do not cover information related to national secrets.
To facilitate an understanding of the invention, examples of the invention are illustrated with reference to tables 1-4.
TABLE 1 example geographic entity basic Properties
TABLE 2 example geographic entity professional Attribute
Table 3 two-dimensional code attribute examples
TABLE 4 geocoded tables for geo-entity classification
The embodiment of the invention also provides the terminal equipment. The terminal device includes: a processor, a memory, and a computer program, such as an identification code based geographic entity information presentation program, stored in the memory and executable on the processor. The processor, when executing the computer program, implements the steps in the above-mentioned embodiments of the identifier code-based geographic entity information presentation method, such as step S11 shown in fig. 1. Alternatively, the processor implements the functions of the modules/units in the above device embodiments when executing the computer program, for example, the position code calculating module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The terminal device can be a desktop computer, a notebook, a palm computer, an intelligent tablet and other computing devices. The terminal device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the above components are merely examples of a terminal device and do not constitute a limitation of a terminal device, and that more or fewer components than those described above may be included, or certain components may be combined, or different components may be included, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center of the terminal device and connects the various parts of the whole terminal device using various interfaces and lines.
The memory may be used for storing the computer programs and/or modules, and the processor may implement various functions of the terminal device by executing or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the terminal device integrated module/unit can be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that any modifications, equivalents, improvements and the like, which come within the spirit and principle of the invention, may occur to those skilled in the art and are intended to be included within the scope of the invention.
Claims (10)
1. A geographic entity information display method based on identification codes is characterized by comprising the following steps:
calculating a position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
obtaining a type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
acquiring a classification code, a time code and a sequence code of a geographic entity;
generating an identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
acquiring name information and website information of a geographic entity;
and generating an identification code of the geographic entity according to the identity identification number, the name information and the website information, and displaying the information of the geographic entity according to the identification code.
2. The identification code based geographic entity information presentation method of claim 1, further comprising:
and when the classification codes, the time codes, the position codes and the type codes of any two geographic entities are judged to be completely consistent, determining the sequence codes of the geographic entities according to the acquisition sequence of the geographic entities.
3. The method for displaying geographic entity information based on identification codes of claim 1, wherein the calculating the location code of the geographic entity according to the geographic coordinates and the spatial range of the geographic entity comprises:
Establishing a plane grid model and a height grid model which comprise different levels;
respectively calculating a plane sub-grid and a height sub-grid of the geographic entity in the plane grid model and the height grid model according to the geographic coordinate and the spatial range of the geographic entity;
acquiring a plane sub-grid code and a height sub-grid code corresponding to the plane sub-grid and the height sub-grid;
and determining the position code of the geographic entity according to the plane sub-grid code, the height sub-grid code and a preset grid model level.
4. The identification code-based geographic entity information display method according to claim 3, wherein the establishing of the plane grid model and the height grid model comprising different levels comprises:
performing plane projection on the earth surface, and expanding longitude and latitude to obtain a plane basic grid model;
performing quadri-subdivision on the plane basic grid model according to a preset grid model level to obtain plane sub-grids;
obtaining a plane grid model comprising different levels according to the plane sub-grids;
establishing a height basic grid model according to the space range from the geocenter to the earth surface;
According to a preset grid model level, performing binary subdivision on the height basic grid model to obtain a height sub-grid;
and obtaining a height grid model comprising different levels according to the height sub-grid.
5. The method for displaying geographic entity information based on identification code according to claim 4, wherein the method further comprises:
coding the planar sub-grids according to a preset first sequence and a first identifier to obtain planar sub-grid codes;
and coding the height sub-grids according to a preset second sequence and a second identifier to obtain height sub-grid codes.
6. The identification code based geographic entity information presentation method of claim 2, wherein the method comprises:
and generating the identification number of the geographic entity according to the sequence of the position code, the classification code, the type code, the time code and the sequence code.
7. The identification code based geographic entity information presentation method of claim 1, further comprising:
acquiring attribute information of the geographic entity according to the identification code;
and dynamically displaying the information of the geographic entity according to a preset display model and the attribute information.
8. A geographic entity information display device based on identification codes is characterized by comprising:
the position code calculation module is used for calculating the position code of the geographic entity according to the geographic coordinate and the spatial range of the geographic entity;
the type code calculation module is used for obtaining the type code of the geographic entity according to the geometric type and the spatial position of the geographic entity;
the characteristic code acquisition module is used for acquiring a classification code, a time code and a sequence code of the geographic entity;
the identity identification number module is used for generating the identity identification number of the geographic entity according to the classification code, the time code, the sequence code, the position code and the type code;
the information acquisition module is used for acquiring name information and website information of the geographic entity;
and the information display module is used for generating an identification code of the geographic entity according to the identity identification number, the name information and the website information and displaying the information of the geographic entity according to the identification code.
9. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the identification code-based geographic entity information presentation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium is controlled by a device to execute the method for displaying geographic entity information based on identification code according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210221844.3A CN114676368B (en) | 2022-03-07 | 2022-03-07 | Geographic entity information display method, device, equipment and medium based on identification code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210221844.3A CN114676368B (en) | 2022-03-07 | 2022-03-07 | Geographic entity information display method, device, equipment and medium based on identification code |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114676368A true CN114676368A (en) | 2022-06-28 |
CN114676368B CN114676368B (en) | 2023-04-07 |
Family
ID=82071930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210221844.3A Active CN114676368B (en) | 2022-03-07 | 2022-03-07 | Geographic entity information display method, device, equipment and medium based on identification code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114676368B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115468568A (en) * | 2022-11-15 | 2022-12-13 | 中电信数字城市科技有限公司 | Indoor navigation method, device and system, server equipment and storage medium |
CN115834530A (en) * | 2022-09-22 | 2023-03-21 | 北京超图骏科数字技术有限公司 | Battlefield environment entity data binary coding method and related device |
CN116521805A (en) * | 2023-03-27 | 2023-08-01 | 山东省国土空间数据和遥感技术研究院(山东省海域动态监视监测中心) | Space track storage, query and generation method based on subdivision grid |
CN116775676A (en) * | 2023-08-16 | 2023-09-19 | 山东省国土测绘院 | Updating-oriented basic geographic entity coding consistency maintaining method and system |
CN118313350A (en) * | 2024-06-06 | 2024-07-09 | 志勤高科(北京)技术有限公司 | Indoor position code generation method and application method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609525A (en) * | 2012-02-10 | 2012-07-25 | 北京大学 | Method for unifying existing longitude and latitude subdividing grids |
US20160091319A1 (en) * | 2014-09-25 | 2016-03-31 | United States Postal Service | Methods and systems for creating and using a location identification grid |
CN106951453A (en) * | 2017-02-23 | 2017-07-14 | 浙江工业大学 | A kind of geographical entity coding method of quick renewal and data sharing |
CN108304559A (en) * | 2018-02-08 | 2018-07-20 | 广州地理研究所 | A kind of regional geography spatial data fusion method |
CN108334579A (en) * | 2018-01-25 | 2018-07-27 | 孙如江 | Place name identification number encoder, coding method and equipment based on space-time business |
CN114140599A (en) * | 2021-12-03 | 2022-03-04 | 正元地理信息集团股份有限公司 | Method and system for subdividing three-dimensional mesh of earth space |
-
2022
- 2022-03-07 CN CN202210221844.3A patent/CN114676368B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609525A (en) * | 2012-02-10 | 2012-07-25 | 北京大学 | Method for unifying existing longitude and latitude subdividing grids |
US20160091319A1 (en) * | 2014-09-25 | 2016-03-31 | United States Postal Service | Methods and systems for creating and using a location identification grid |
CN106951453A (en) * | 2017-02-23 | 2017-07-14 | 浙江工业大学 | A kind of geographical entity coding method of quick renewal and data sharing |
CN108334579A (en) * | 2018-01-25 | 2018-07-27 | 孙如江 | Place name identification number encoder, coding method and equipment based on space-time business |
CN108304559A (en) * | 2018-02-08 | 2018-07-20 | 广州地理研究所 | A kind of regional geography spatial data fusion method |
CN114140599A (en) * | 2021-12-03 | 2022-03-04 | 正元地理信息集团股份有限公司 | Method and system for subdividing three-dimensional mesh of earth space |
Non-Patent Citations (1)
Title |
---|
张保钢 等: "地名地址二维码应用探索", 《北京测绘》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115834530A (en) * | 2022-09-22 | 2023-03-21 | 北京超图骏科数字技术有限公司 | Battlefield environment entity data binary coding method and related device |
CN115468568A (en) * | 2022-11-15 | 2022-12-13 | 中电信数字城市科技有限公司 | Indoor navigation method, device and system, server equipment and storage medium |
CN116521805A (en) * | 2023-03-27 | 2023-08-01 | 山东省国土空间数据和遥感技术研究院(山东省海域动态监视监测中心) | Space track storage, query and generation method based on subdivision grid |
CN116775676A (en) * | 2023-08-16 | 2023-09-19 | 山东省国土测绘院 | Updating-oriented basic geographic entity coding consistency maintaining method and system |
CN116775676B (en) * | 2023-08-16 | 2023-10-31 | 山东省国土测绘院 | Updating-oriented basic geographic entity coding consistency maintaining method and system |
CN118313350A (en) * | 2024-06-06 | 2024-07-09 | 志勤高科(北京)技术有限公司 | Indoor position code generation method and application method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114676368B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114676368B (en) | Geographic entity information display method, device, equipment and medium based on identification code | |
CN107545046B (en) | Fusion method and device for multi-source heterogeneous data | |
CN112860689B (en) | Platform system based on space-time grid data | |
CA2436312C (en) | Close-packed, uniformly adjacent, multiresolutional, overlapping spatial data ordering | |
CN116680648B (en) | Service fusion data generation method and system for digital twin city | |
CN111221867B (en) | Protective building information management system | |
CN114049462B (en) | Three-dimensional model monomer method and device | |
Sirdeshmukh et al. | Utilizing a discrete global grid system for handling point clouds with varying locations, times, and levels of detail | |
CN109063193A (en) | A kind of thematic maps recommends the method and device of display | |
CN112685616A (en) | Precise power component management method based on space grid and building information model | |
CN117435823B (en) | Space-time data service method based on grid coding and industrial Internet platform | |
CN117056581A (en) | Data processing method and device | |
CN111949706B (en) | Storage method for land big data distributed mining analysis | |
CN102103600B (en) | Map building method and map system | |
CN109241217A (en) | A kind of the condition of a disaster data space statistics, inquiry and methods of exhibiting based on geographic grid | |
CN117131147A (en) | Geographic entity data production method and device, electronic equipment and storage medium | |
CN111475595A (en) | Geographic information sharing system | |
CN110209749A (en) | A kind of geographical information query method and device based on HBase | |
CN115309747A (en) | Fire fighting management method and platform based on spatial grid data and electronic equipment | |
KR102276659B1 (en) | Method for displaying facility through augmented reality using geospatial information | |
CN112084281B (en) | Method, device, computer equipment and storage medium for drawing survey grid | |
CN113360586A (en) | Address aggregation degree query method, device and equipment and computer readable storage medium | |
CN115048473A (en) | Artificial intelligence service method and system for city information model | |
CN108132992B (en) | Personnel information basic address coding method and system and electronic equipment | |
CN116303413A (en) | Data storage method and device |
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 |