CN113220808A - Encoding method, device and equipment of geographic entity and storage medium - Google Patents

Encoding method, device and equipment of geographic entity and storage medium Download PDF

Info

Publication number
CN113220808A
CN113220808A CN202110368607.5A CN202110368607A CN113220808A CN 113220808 A CN113220808 A CN 113220808A CN 202110368607 A CN202110368607 A CN 202110368607A CN 113220808 A CN113220808 A CN 113220808A
Authority
CN
China
Prior art keywords
target
administrative division
code
geographic entity
division code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110368607.5A
Other languages
Chinese (zh)
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.)
Shenzhen Baoan District Information Center
Original Assignee
Shenzhen Baoan District Information Center
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 Shenzhen Baoan District Information Center filed Critical Shenzhen Baoan District Information Center
Priority to CN202110368607.5A priority Critical patent/CN113220808A/en
Publication of CN113220808A publication Critical patent/CN113220808A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2272Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a geographic entity encoding method, a geographic entity encoding device, geographic entity encoding equipment and a geographic entity storage medium, wherein when an encoding instruction is received, target geographic entity data of a target geographic entity object are obtained, and a target area code corresponding to the target geographic entity data is determined according to preset area division data; determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code; and generating a target geographical entity code corresponding to the geographical entity object according to a preset format, the target area code, the target type code and the target serial number. The invention can carry out batch coding on the geographic entity objects according to the preset format while ensuring the uniqueness of the geographic entity codes, thereby greatly reducing the manual workload, reducing the coding errors caused by manual intervention and improving the coding efficiency.

Description

Encoding method, device and equipment of geographic entity and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for encoding a geographic entity.
Background
At present, geographic entity data is a product form of a novel basic mapping, specifically, defined in the technical outline of building of a large space-time data platform in smart cities (2019 edition), and is materialized on the basis of a topographic map, and is endowed with a unique code, so that the geographic entity data is used as a basis for associating with other industries and thematic data. In addition to its own meaning, the most central attribute of a geographic entity is the unique code that is associated with various industries and topical data. Therefore, how to improve the coding efficiency while ensuring the coding uniqueness of the geographic entity object is a technical problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a geographic entity encoding method, a geographic entity encoding device, geographic entity encoding equipment and a computer readable storage medium, and aims to improve encoding efficiency while ensuring that a geographic entity object is unique in encoding.
In order to achieve the above object, the present invention provides a method for encoding a geographic entity, the method for encoding a geographic entity comprising the steps of:
when a coding instruction is received, acquiring target geographic entity data of a target geographic entity object, and determining a target area code corresponding to the target geographic entity data according to preset area division data;
determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code;
and generating a target geographical entity code corresponding to the geographical entity object according to a preset format, the target area code, the target type code and the target serial number.
Optionally, the step of obtaining target geographic entity data of a target geographic entity object when receiving the coding instruction and determining a target area code corresponding to the target geographic entity data according to the preset area partition data specifically includes:
when the coding instruction is received, acquiring a current administrative division code in the target geographic entity data;
and comparing the current administrative division code with the administrative division code library to determine an administrative division code corresponding to the target administrative division code in the administrative division code library as a target administrative division code.
Optionally, the step of comparing the current administrative division code with the administrative division code library to determine, in the administrative division code library, an administrative division code corresponding to the target administrative division code, and using the administrative division code as the target administrative division code specifically includes:
comparing the current administrative division code with the administrative division code library, and judging whether a minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library;
and if the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library, taking the minimum administrative division code corresponding to the current administrative division code as the target administrative division code.
Optionally, after the step of comparing the current administrative division code with the administrative division code library and determining whether the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library, the method further includes:
if the minimum administrative division code corresponding to the current administrative division code does not exist in the administrative division code library, determining the minimum administrative division code related to the current administrative division code in the administrative division code library;
and determining the current administrative division code and an upper administrative division code corresponding to the minimum administrative division code related to the current administrative division code as the target administrative division code.
Optionally, the step of determining the current administrative division code and the upper-level administrative division code corresponding to the minimum administrative division code related to the current administrative division code as the target administrative division code specifically includes:
determining the upper-level administrative division code according to the current administrative division code and the minimum administrative division code related to the current administrative division code, and judging whether the code number of the upper-level administrative division code is smaller than a preset threshold value or not;
and when the code number of the upper administrative division code is smaller than a preset threshold, filling the upper administrative division code to the code number corresponding to the preset threshold so as to generate the target administrative division code.
Optionally, the step of determining the target type code to which the target geographic entity data belongs, and determining the target serial number corresponding to the target geographic entity data according to the target area code and the target type code specifically includes:
determining a target type code to which the target geographic entity data belongs, and acquiring target time data corresponding to the target geographic entity object;
and determining the coded historical geographic entity serial number according to the target area code, the target type code and the target time data, and determining the target serial number according to the historical geographic entity serial number.
Optionally, the step of generating the target geographic entity code corresponding to the geographic entity object according to the preset format, the target area code, the target type code, and the target serial number specifically includes:
and combining the target area code, the target type code, the target time data and the target serial number according to a preset format to generate the target geographic entity code.
In addition, to achieve the above object, the present invention further provides an encoding apparatus for a geographic entity, the encoding apparatus for a geographic entity including a processor, a memory, and an encoding program for a geographic entity stored on the memory and executable by the processor, wherein when the encoding program for a geographic entity is executed by the processor, the steps of the encoding method for a geographic entity as described above are implemented.
In addition, to achieve the above object, the present invention further provides an encoding apparatus for a geographic entity, where the encoding apparatus includes a processor, a memory, and an encoding program for a geographic entity stored on the memory and executable by the processor, where the encoding program for a geographic entity, when executed by the processor, implements the steps of the encoding method for a geographic entity as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which an encoding program of a geographic entity is stored, wherein the encoding program of the geographic entity, when executed by a processor, implements the steps of the encoding method of the geographic entity as described above.
The invention provides a geographic entity coding method, which comprises the steps of acquiring target geographic entity data of a target geographic entity object when a coding instruction is received, and determining a target area code corresponding to the target geographic entity data according to preset area division data; determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code; and generating a target geographical entity code corresponding to the geographical entity object according to a preset format, the target area code, the target type code and the target serial number. By the mode, the geographic entity object coding method and the geographic entity coding device can be used for coding the geographic entity objects in batches according to the preset format while ensuring the uniqueness of the geographic entity codes, so that the manual workload is greatly reduced, the coding errors caused by manual intervention are reduced, and the coding efficiency is improved.
Drawings
Fig. 1 is a schematic hardware structure diagram of an encoding device of a geographic entity involved in an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for encoding a geographic entity according to the present invention;
FIG. 3 is a diagram illustrating a target geoentity encoding format according to the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a method for encoding a geographic entity according to the present invention;
FIG. 5 is a schematic view of an administrative division to which a target geographic entity object belongs according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The encoding method of the geographic entity related to the embodiment of the invention is mainly applied to encoding equipment of the geographic entity, and the encoding equipment of the geographic entity can be equipment with display and processing functions, such as a PC (personal computer), a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of an encoding apparatus of a geographic entity according to an embodiment of the present invention. In the embodiment of the present invention, the encoding device of the geographic entity may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the encoding device of the geographical entity, and may include more or less components than those shown, or combine certain components, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is one type of computer-readable storage medium, may include an operating system, a network communication module, and a program encoding a geographic entity.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call the encoding program of the geographic entity stored in the memory 1005 and execute the encoding method of the geographic entity provided by the embodiment of the present invention.
The embodiment of the invention provides a coding method of a geographic entity.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a method for encoding a geographic entity according to the present invention.
In this embodiment, the method for encoding the geographic entity includes the following steps:
step S10, when receiving the coding instruction, obtaining the target geographic entity data of the target geographic entity object, and determining the target area code corresponding to the target geographic entity data according to the preset area division data;
at present, geographic entity data serving as a product form of novel basic mapping is defined in a technical outline of space-time big data platform construction in smart cities (2019 edition) based on a topographic map, materializes the contents of a border, a political region, a road, a water system, a courtyard, a building, vegetation and the like, gives a unique code, and can serve as a basis for associating with other industries and thematic data. The geographic entity code is used as a basis for associating with other industries and thematic data, and the design principle of the geographic entity code is required to have uniqueness, positioning property, low graph dependence, timeliness, readability and usability. In order to ensure the uniqueness of the geographic entity object code and improve the work efficiency of data production, the embodiment provides a coding method of a geographic entity. In the embodiment, the data are automatically sorted and coded by coding and generating the spatial relationship, the type field and the serial number to which the geographic entity object belongs, manual coding is not needed, the coding cost is greatly reduced, and the coding accuracy and the coding efficiency are improved. The geoentity codes corresponding to the geoentity objects are divided into at least three sections, including administrative region codes (i.e. administrative division codes corresponding to each county level and above administrative districts), type codes (i.e. geoentity professional classification codes) and serial numbers (i.e. specific code segments are 000-999, which are used for distinguishing and sorting the geoentity objects of the same category and the same administrative district). The coded instruction may be a user-operated trigger or an automatic trigger upon detection of newly acquired geo-entity data. And when receiving the coding instruction, taking the geographic entity object corresponding to the coding instruction as a target geographic entity object. And then acquiring entity data of the target geographic entity object, and recording the entity data as the target geographic entity data. The target geographic entity data includes, but is not limited to, administrative region vector data, a geographic entity professional classification code field, and an entity year field (for example, for a human entity such as a building, the year field is completion time, and for an undetermined completion time and other natural entities, the year field adopts first data acquisition time), and the like corresponding to the target geographic entity object. And performing spatial calculation on administrative division vector data in the target geographic entity data and preset region division data (namely pre-divided administrative division vector data), and determining a target region code corresponding to the target geographic entity data. For example, the 6-digit code may be a county or higher administrative division code.
Step S20, determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code;
in this embodiment, the geographic entity professional classification code field in the target geographic entity data is obtained, and the geographic entity professional classification code field is compared with a pre-stored classification code to determine a type code corresponding to the target geographic entity object as a target type code. The target type code can be specifically composed of 5 digits, represents a geographic entity professional classification code, and is formed by adding codes of a professional application field to the GB/T25529-2010 geographic information classification and coding rule. Such as the established reservoir type geoentity classification code 11204. And determining the number of coded geographic entities which belong to the same category and are in the same administrative district as the target geographic entity object according to the target area code and the target type code, and determining the serial number corresponding to the target geographic entity object as the target serial number in the uncoded serial numbers in the same category and the same administrative district according to a preset rule. The preset rule may be that the serial numbers are taken as serial numbers in sequence, or odd numbers or even numbers are taken as serial numbers in sequence, or the serial numbers are taken as serial numbers at fixed intervals. By including the space-time information (namely the target area code) which can be converted by symbols and the category information (namely the target type code) in each geographic entity code, a person or a computer can obtain the relevant information of the geographic entity object from the unique identification code corresponding to the geographic entity object.
Further, the step S20 specifically includes:
determining a target type code to which the target geographic entity data belongs, and acquiring target time data corresponding to the target geographic entity object;
and determining the coded historical geographic entity serial number according to the target area code, the target type code and the target time data, and determining the target serial number according to the historical geographic entity serial number.
In this embodiment, in order to further obtain the year information corresponding to the geographic entity object from the code of the geographic entity object, the target time data corresponding to the target geographic entity object is further obtained from the target geographic entity data, for example, for an artificial entity such as a building, the target time data is a year field. The target time data may be specifically 4-digit numbers representing the physical year. Wherein, the year field is the completion time. In a specific embodiment, if the target geographic entity data does not include the target time data corresponding to the target geographic entity object, that is, when completion time and other natural entities cannot be determined, the collection time of the first time geographic entity data may be used as the year field. And determining coded geographic entity objects which belong to the same category, the same year and the same administrative district as the target geographic entity object, sequencing the number of the coded geographic entities, and determining the serial number corresponding to the target geographic entity object as a target serial number in the uncoded serial numbers of the same category, the same year and the same administrative district according to a preset rule. Namely, the running water number is repeatedly removed according to the administrative division code, the combination of the geographic entity professional classification code and the year and the removal strategy, and the target running water number is calculated. The serial number can be 3 digits specifically, the specific code segment is 000-plus 999, the objects in the same category and in the same administrative district and in the same year are distinguished and sorted, and the segment code and other segment function codes act together to ensure that the object codes of all the geographic entities are unique. If the first 15 codes can determine the uniqueness of this entity, the third segment code is denoted by 000.
And step S30, generating a target geographic entity code corresponding to the geographic entity object according to a preset format, the target area code, the target type code and the target serial number.
In this embodiment, the target area code, the target type code, and the target serial number are assembled to generate the target geographic entity code corresponding to the geographic entity object according to a preset coding format template.
Further, in order to further obtain the year information corresponding to the geographic entity object from the code of the geographic entity object, the step S30 specifically includes:
and combining the target area code, the target type code, the target time data and the target serial number according to a preset format to generate the target geographic entity code.
In this embodiment, as shown in fig. 3, the target area code, the target type code, the target time data, and the target serial number are assembled according to a preset coding format template to generate a target geographic entity code corresponding to the geographic entity object.
The embodiment provides a coding method of a geographic entity, which includes the steps of acquiring target geographic entity data of a target geographic entity object when a coding instruction is received, and determining a target area code corresponding to the target geographic entity data according to preset area division data; determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code; and generating a target geographical entity code corresponding to the geographical entity object according to a preset format, the target area code, the target type code and the target serial number. By the mode, the geographic entity object coding method and the geographic entity coding device can be used for coding the geographic entity objects in batches according to the preset format while ensuring the uniqueness of the geographic entity codes, so that the manual workload is greatly reduced, the coding errors caused by manual intervention are reduced, and the coding efficiency is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a method for encoding a geographic entity according to the present invention.
Based on the embodiment shown in fig. 1, in this embodiment, the preset region division data is a preset administrative division code library, and the step S20 specifically includes:
step S21, when the coding instruction is received, acquiring the current administrative division code in the target geographic entity data;
step S22, comparing the current administrative division code with the administrative division code library to determine the administrative division code corresponding to the target administrative division code in the administrative division code library as the target administrative division code.
In this embodiment, the preset administrative division code base is a division code base including administrative division codes of county level or above, such as 6-bit codes, and the preset administrative division code base may be GB/T2260-2002 administrative division codes of the people's republic of china. Comparing the current administrative division code in the target geographic entity data with the administrative division code library, and if the administrative division code corresponding to the target administrative division code exists in the administrative division code library, taking the administrative division code as the target administrative division code.
Further, the step S22 specifically includes:
comparing the current administrative division code with the administrative division code library, and judging whether a minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library;
and if the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library, taking the minimum administrative division code corresponding to the current administrative division code as the target administrative division code.
In this embodiment, the current administrative division code in the target geographic entity data is compared with each minimum administrative division code corresponding to the administrative division code library, so as to determine the minimum administrative division code corresponding to the current administrative division code in the administrative division code library. If so, the minimum administrative division code corresponding to the current administrative division code may be used as the target administrative division code.
Further, after the step of comparing the current administrative division code with the administrative division code library and determining whether the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library, the method further includes:
if the minimum administrative division code corresponding to the current administrative division code does not exist in the administrative division code library, determining the minimum administrative division code related to the current administrative division code in the administrative division code library;
and determining the current administrative division code and an upper administrative division code corresponding to the minimum administrative division code related to the current administrative division code as the target administrative division code.
In this embodiment, if the minimum administrative division code corresponding to the current administrative division code does not exist in the administrative division code library, that is, the target geographic entity object is a geographic entity object across administrative divisions, the upper-level administrative division code thereof may be adopted. Specifically, the upper level administrative division code is determined according to the current administrative division code and the minimum administrative division code related to the current administrative division code, and whether the code number of the upper level administrative division code is smaller than a preset threshold value is judged; and when the code number of the upper administrative division code is smaller than a preset threshold, filling the upper administrative division code to the code number corresponding to the preset threshold so as to generate the target administrative division code. As shown in fig. 5, the grey block is a courtyard geoentity object, the black frame is an administrative division object, and a courtyard target geoentity object a spans the blocks numbered 440304 and 440305, so that the administrative division code is obtained from the upper administrative area, which is designated by 4403, and the last two bits are complemented by 0 to form an administrative division code 440300.
In the coding method for the geographic entity provided in this embodiment, the minimum administrative division unit code where the spatial position of the geographic entity object falls and the professional classification code of the geographic entity object are used, and the serial number is used in the year to implement the unique identification code of the geographic entity, so that the geographic entity object can be used as an association basis to implement business application when information is exchanged and shared, and the time-space attribute and the object classification information of the geographic entity object can be acquired through the unique identification code of the geographic entity. The geographic entity identification codes are unique, and meanwhile, the computer can carry out batch coding on the geographic entities according to the rules, so that the manual workload and the working errors caused by manual intervention are greatly reduced. Therefore, the geographic entity identification code is unique, has certain semantics, facilitates the association of data of various industries and special data, can code the data in batches, and reduces the workload of data production and use operators.
In addition, the coding device of the geographic entity comprises a processor, a memory and a coding program of the geographic entity, wherein the coding program of the geographic entity is stored on the memory and can be executed by the processor.
Wherein the encoding program of the geographic entity, when executed by the processor, implements the steps of the encoding method of the geographic entity as described above.
In addition, the coding device of the geographic entity comprises a processor, a memory and a coding program of the geographic entity, wherein the coding program of the geographic entity is stored on the memory and can be executed by the processor.
Wherein the encoding program of the geographic entity, when executed by the processor, implements the steps of the encoding method of the geographic entity as described above.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores the encoding program of the geographic entity, wherein the encoding program of the geographic entity, when executed by the processor, implements the steps of the encoding method of the geographic entity as described above.
The method implemented when the encoding program of the geographic entity is executed may refer to various embodiments of the encoding method of the geographic entity of the present invention, and details thereof are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for encoding a geographic entity, the method comprising the steps of:
when a coding instruction is received, acquiring target geographic entity data of a target geographic entity object, and determining a target area code corresponding to the target geographic entity data according to preset area division data;
determining a target type code to which the target geographic entity data belongs, and determining a target serial number corresponding to the target geographic entity data according to the target area code and the target type code;
and generating a target geographical entity code corresponding to the geographical entity object according to a preset format, the target area code, the target type code and the target serial number.
2. The method for encoding geographic entities according to claim 1, wherein the preset region partition data is a preset administrative division code library, and the step of acquiring target geographic entity data of a target geographic entity object when receiving the encoding instruction and determining a target region code corresponding to the target geographic entity data according to the preset region partition data specifically comprises:
when the coding instruction is received, acquiring a current administrative division code in the target geographic entity data;
and comparing the current administrative division code with the administrative division code library to determine an administrative division code corresponding to the target administrative division code in the administrative division code library as a target administrative division code.
3. The method for encoding a geographical entity according to claim 2, wherein the step of comparing the current administrative division code with the administrative division code library to determine the administrative division code corresponding to the target administrative division code in the administrative division code library as the target administrative division code specifically comprises:
comparing the current administrative division code with the administrative division code library, and judging whether a minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library;
and if the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library, taking the minimum administrative division code corresponding to the current administrative division code as the target administrative division code.
4. The method for encoding a geographical entity according to claim 3, wherein the step of comparing the current administrative division code with the administrative division code library and determining whether the minimum administrative division code corresponding to the current administrative division code exists in the administrative division code library further comprises:
if the minimum administrative division code corresponding to the current administrative division code does not exist in the administrative division code library, determining the minimum administrative division code related to the current administrative division code in the administrative division code library;
and determining the current administrative division code and an upper administrative division code corresponding to the minimum administrative division code related to the current administrative division code as the target administrative division code.
5. The method for encoding a geographical entity according to claim 4, wherein the step of determining the upper level administrative division code corresponding to the current administrative division code and the minimum administrative division code associated with the current administrative division code as the target administrative division code specifically comprises:
determining the upper-level administrative division code according to the current administrative division code and the minimum administrative division code related to the current administrative division code, and judging whether the code number of the upper-level administrative division code is smaller than a preset threshold value or not;
and when the code number of the upper administrative division code is smaller than a preset threshold, filling the upper administrative division code to the code number corresponding to the preset threshold so as to generate the target administrative division code.
6. The method for encoding geographic entities according to any one of claims 1 to 5, wherein the step of determining the target type code to which the target geographic entity data belongs and determining the target serial number corresponding to the target geographic entity data according to the target area code and the target type code specifically comprises:
determining a target type code to which the target geographic entity data belongs, and acquiring target time data corresponding to the target geographic entity object;
and determining the coded historical geographic entity serial number according to the target area code, the target type code and the target time data, and determining the target serial number according to the historical geographic entity serial number.
7. The method for encoding geographic entities according to claim 6, wherein the step of generating the target geographic entity code corresponding to the geographic entity object according to the preset format, the target area code, the target type code, and the target serial number specifically includes:
and combining the target area code, the target type code, the target time data and the target serial number according to a preset format to generate the target geographic entity code.
8. An encoding apparatus of a geographic entity, comprising a processor, a memory, and an encoding program of the geographic entity stored on the memory and executable by the processor, wherein the encoding program of the geographic entity, when executed by the processor, implements the steps of the encoding method of the geographic entity according to any one of claims 1 to 7.
9. An encoding device of a geographic entity, characterized in that the encoding means comprises a processor, a memory, and a geographic entity encoding program stored on the memory and executable by the processor, wherein the geographic entity encoding program, when executed by the processor, implements the steps of the encoding method of the geographic entity according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an encoding program of a geographical entity, wherein the encoding program of the geographical entity, when executed by a processor, implements the steps of the encoding method of the geographical entity according to any one of claims 1 to 8.
CN202110368607.5A 2021-04-06 2021-04-06 Encoding method, device and equipment of geographic entity and storage medium Pending CN113220808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110368607.5A CN113220808A (en) 2021-04-06 2021-04-06 Encoding method, device and equipment of geographic entity and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110368607.5A CN113220808A (en) 2021-04-06 2021-04-06 Encoding method, device and equipment of geographic entity and storage medium

Publications (1)

Publication Number Publication Date
CN113220808A true CN113220808A (en) 2021-08-06

Family

ID=77086409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110368607.5A Pending CN113220808A (en) 2021-04-06 2021-04-06 Encoding method, device and equipment of geographic entity and storage medium

Country Status (1)

Country Link
CN (1) CN113220808A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115064054A (en) * 2022-05-07 2022-09-16 西宁市测绘院 Geographic entity space identity coding construction method
CN116108125A (en) * 2023-04-17 2023-05-12 创意信息技术股份有限公司 City geocoding method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059889A1 (en) * 2006-09-01 2008-03-06 Cheryl Parker System and Method of Overlaying and Integrating Data with Geographic Mapping Applications
CN108280796A (en) * 2017-12-27 2018-07-13 北京邮电大学 A kind of coding method of consignment address
CN109408781A (en) * 2018-10-09 2019-03-01 北京邮电大学 A kind of consignment address coding method based on administrative division
EP3657357A1 (en) * 2018-11-22 2020-05-27 Gianluca Abitat Sistemi Informativi Territoriali Srl Cavaliere Customizable system of temporal 3d geolocation integrated with the combined determination of position, presence and identity of the person

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080059889A1 (en) * 2006-09-01 2008-03-06 Cheryl Parker System and Method of Overlaying and Integrating Data with Geographic Mapping Applications
CN108280796A (en) * 2017-12-27 2018-07-13 北京邮电大学 A kind of coding method of consignment address
CN109408781A (en) * 2018-10-09 2019-03-01 北京邮电大学 A kind of consignment address coding method based on administrative division
EP3657357A1 (en) * 2018-11-22 2020-05-27 Gianluca Abitat Sistemi Informativi Territoriali Srl Cavaliere Customizable system of temporal 3d geolocation integrated with the combined determination of position, presence and identity of the person

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
范承啸;符浩军;张海勃;: "一种地名唯一标识码编码方法及应用模式", 测绘与空间地理信息, no. 10 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115064054A (en) * 2022-05-07 2022-09-16 西宁市测绘院 Geographic entity space identity coding construction method
CN115064054B (en) * 2022-05-07 2023-10-13 西宁市测绘院 Geographic entity space identity code construction method
CN116108125A (en) * 2023-04-17 2023-05-12 创意信息技术股份有限公司 City geocoding method, device, equipment and storage medium
CN116108125B (en) * 2023-04-17 2023-06-16 创意信息技术股份有限公司 City geocoding method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109992633B (en) User position-based geo-fence determination method and device and electronic equipment
CN113220808A (en) Encoding method, device and equipment of geographic entity and storage medium
US10013434B2 (en) Geographic coordinate encoding device, method, and storage medium, geographic coordinate decoding device, method, and storage medium, and terminal unit using geographic coordinate encoding device
CN109994038B (en) Method and device for determining interest points in irregular area and electronic equipment
CN111832447B (en) Building drawing component identification method, electronic equipment and related product
CN114676368B (en) Geographic entity information display method, device, equipment and medium based on identification code
CN107809740B (en) Wi-Fi hotspot deployment optimization method, server and storage medium
CN112050820B (en) Road matching method, device, electronic equipment and readable storage medium
CN111382212B (en) Associated address acquisition method and device, electronic equipment and storage medium
CN115860023A (en) Cigarette equipment management method and device based on two-dimensional code, electronic equipment and medium
CN117033366B (en) Knowledge-graph-based ubiquitous space-time data cross verification method and device
CN110309244B (en) Target point positioning method and device
CN108038151B (en) Monitoring area determining method and system
CN117171288A (en) Grid map analysis method, device, equipment and medium
KR20020014011A (en) Facility management and consumer management system with digital map and mobile telecommunication terminals and the managing method thereof
CN111954874A (en) Identifying functional regions within a geographic area
CN115052270A (en) Service index determination method and device, electronic equipment and nonvolatile storage medium
Delafontaine et al. Assessment of sliver polygons in geographical vector data
CN110986996B (en) Data processing method and device, electronic equipment and storage medium
CN112687003A (en) Building model unitization method and device
CN111949706B (en) Storage method for land big data distributed mining analysis
KR102635429B1 (en) Method for providing cadastral records management services
CN117218299B (en) Data-driven three-dimensional area iceberg thermodynamic diagram processing method and system
CN110427562A (en) Semantic label division methods, device and electronic equipment
CN116108125B (en) City geocoding method, device, equipment and storage medium

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