CN108334579B - Geographical name ID number coding device based on space-time service - Google Patents

Geographical name ID number coding device based on space-time service Download PDF

Info

Publication number
CN108334579B
CN108334579B CN201810071286.0A CN201810071286A CN108334579B CN 108334579 B CN108334579 B CN 108334579B CN 201810071286 A CN201810071286 A CN 201810071286A CN 108334579 B CN108334579 B CN 108334579B
Authority
CN
China
Prior art keywords
code
codes
name
place name
data
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.)
Active
Application number
CN201810071286.0A
Other languages
Chinese (zh)
Other versions
CN108334579A (en
Inventor
孙如江
闾国年
孙钰
周良辰
兰馨
赵洁
李�灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Normal University
Original Assignee
Nanjing Normal University
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 Nanjing Normal University filed Critical Nanjing Normal University
Priority to CN201810071286.0A priority Critical patent/CN108334579B/en
Publication of CN108334579A publication Critical patent/CN108334579A/en
Application granted granted Critical
Publication of CN108334579B publication Critical patent/CN108334579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses a place name identity number coding device based on space-time service. The coding device comprises a coordinate acquisition module, a geography library module, a business library module, a grid library module, a date generation module, a counting library module, a checking library module and a calculation coding module, wherein the generated place name identification number comprises a continent and international public domain code, a country and region name code, an administrative division code below the county level, a place name geographic attribute category code, a space grid code, a life cycle code, a sequence counting code and a checking code. The location name identity number coding device can realize distributed establishment of location name identity numbers according to industry classification, time division and region division, can realize the uniformity of a number system, and improves the cross-system and cross-platform association, exchange and sharing efficiency of location name information.

Description

Geographical name ID number coding device based on space-time service
Technical Field
The invention relates to a space-time service-based place name identity number (place name ID) coding device, belonging to the fields of geographic space information organization and geographic information system.
Background
The current location name identification number coding method is mainly divided into two types. One type is a coding mode that takes into account semantic information of geographic entities. The coding mode includes classification information of geographic objects, but the coding mode generally adopts an administrative division hierarchical mode to describe spatial information, and lacks the description capability of precise positions. The place name is related to a plurality of business management departments according to the type, and each department manages the code independently according to the needs of the department. Therefore, a common problem arises: the same geographical entity object has different codes in different systems. The other is a space position coding mode, such as a global discrete grid coding model. The codes have strong spatial position description capability, and the described geographic entity position information can be accurate to centimeter level. But lack semantic information about the geographic object and explicit description of the category to which the geographic object belongs.
The traditional location name ID coding method cannot integrate the semantics of the location name ID and the spatial position information, and is difficult to update, associate, exchange and share the location name information.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems in the prior art, the invention provides a space-time service-based place name identity number coding device, which can realize distributed establishment of place name identity numbers according to industry classification, time division and region division, can also realize the uniformity of a number system, and improves the cross-system and cross-platform association, exchange and sharing efficiency of place name information.
The technical scheme is as follows: in order to achieve the purpose, the invention adopts the following technical scheme:
a kind of place name identity number coding device based on space-time service, including:
the system comprises a place name object coordinate acquisition module, a place name object coordinate acquisition module and a place name object information acquisition module, wherein the place name object coordinate acquisition module is used for acquiring place name object information which comprises coordinate positions and name information of geographical entity jurisdiction boundaries of place names;
the basic geographic information database module is used for storing coordinate geographic information data of geometric envelope centers of geographic entities and prefecture boundaries, wherein the geographic information data comprise continents and international public domain codes, country and region name codes, administrative division codes and administrative division codes below county level;
the service classification type information base module is used for storing geographical name service classification information data of the geographical entity;
the spatial grid rule information base module is used for storing information data of the earth grid subdivision parameters;
the date generation module is used for generating life cycle information with the date as content in a manual or automatic mode;
the sequence counting library module is used for recording the cumulative count of the edited place names in the same region, the same service and the same day;
the calibration rule information database module is used for storing the data of the calibration rule information;
and the calculation coding module is used for calculating and obtaining the code of the continent and international public domain, the country and region name code, the administrative division code and the administrative division code below the county level according to the border data of the district name geographic entity, obtaining the geographical attribute category code of the district name according to the district name information data of the district name geographic entity, calculating and obtaining the space grid code according to the border data of the district name geographic entity, and generating the check code according to the preset format combination based on the code and the date data and the sequence counting code in the same region, the same business and the same day to obtain the final district name identity number.
Preferably, the calculation and coding module in the space-time service-based place name and identity number coding device comprises:
the continent and international public domain code generating unit is used for comparing the collected prefecture boundary data of the geographical entity of the place name with prefecture boundary data corresponding to the continent and international public domain codes stored in the basic geographic information database to obtain the prefecture and international public domain codes;
the country and region name code generating unit is used for comparing the collected regional name geographic entity regional boundary data with regional name boundary data corresponding to country and region name codes stored in the basic geographic information database to obtain the affiliated country and region name codes;
the administrative division code generating unit is used for comparing the collected administrative boundary data of the geographical entity with administrative boundary data corresponding to administrative division codes stored in the basic geographical information database to obtain the administrative division codes to which the administrative division codes belong;
the administrative division code generation unit below the county level is used for comparing the collected administrative boundary data of the geographical entity of the place name with administrative boundary data corresponding to administrative division codes below the county level stored in the basic geographic information database to obtain administrative division codes below the county level;
the geographic attribute category code generation unit is used for acquiring stored business classification information from a business classification type information base according to the collected place name information data of the place name geographic entity to obtain a corresponding place name geographic attribute category code;
the spatial grid code generating unit is used for extracting a longitude maximum value, a longitude minimum value, a latitude maximum value and a latitude minimum value according to the collected border data of the district of the geographical entity of the place name, calculating geometric envelope center data of the geographical entity of the place name and calculating a spatial grid code;
the life cycle code generating unit is used for acquiring date data from the date generating module;
a sequence count code generation unit for generating sequence count code data according to the situation of the programmed place name;
and the verification code generating unit is used for calculating the code character strings combined according to the preset format according to a set verification rule to obtain verification code data.
Preferably, in the device for encoding a place name and an identification number based on a spatio-temporal service, the spatial grid code is generated according to the following rules:
firstly, calculating geometric envelope center coordinates X and Y data of geographical name geographical entities according to the longitude maximum value Xmax, the longitude minimum value Xmin, the latitude maximum value Ymax and the latitude minimum value Ymin of collected geographical name entity boundary prefecture data, wherein X = (Xmax + Xmin)/2, and Y = (Ymax + Ymin)/2;
and then the longitude grid GX and the latitude grid GY are calculated according to the following formula:
when X is in east longitude:
GX = (rounded) [ X/360 ]. 65536
When X is in the west longitude:
GX = (integer) [ (X + 180)/360 ]. 65536
When Y is at north latitude:
GY = (integer) [ (90-Y)/180 ]. 32768
When Y is at south latitude:
GY = (integer) [ (90 + Y)/180 ]. 32768
Get GX =
bx15bx14bx13bx12bx11bx10bx9bx8bx7bx6bx5bx4bx3bx2bx1bx0;
Get GY =
by15by14by13by12by11by10by9by8by7by6by5by4by3by2by1by0;
Finally obtaining a space grid code G =
bx15by15bx14by14bx13by13bx12by12bx11by11bx10by10bx9by9bx8by8
bx7by7bx6by6bx5by5bx4by4bx3by3bx2by2bx1by1bx0by0;
Where bxi denotes the ith bit of the longitude grid; byi denotes the latitude grid ith bit.
Preferably, in the device for encoding a place name and an identification number based on a spatio-temporal service, the sequence count code is generated according to the following rules: and adding 1 to the accumulated value of the sequence counting library module counter in the same day according to the conditions that the continent and international public domain codes of the place names, the country and region name codes, the administrative division codes below the county level, the geographical attribute category codes of the place names and the space grid codes are the same to obtain sequence counting code data.
Preferably, in the device for encoding a place name and an identification number based on a spatio-temporal service, the check code is generated according to the following rules: according to the check rule of a check character system mod16-3, checking code data are obtained by calculation from continents and international public domain codes, country and region name codes, administrative division codes below the county level, geographical attribute category codes of place names, space grid codes, date codes and sequence count code data.
Has the advantages that: compared with the prior art, the location name identity number coding device provided by the invention has the advantages that the generated code is not only the unique code identification of the geographic object, and meanwhile, the semantic information and the position information are fused, so that the problem that the existing coding mode cannot give consideration to both the semantic information and the position information is solved. The method and the system can realize distributed establishment of the place name identity numbers according to industry classification, time division and region division, realize the uniformity of a number system, and improve the cross-system and cross-platform association, exchange and sharing efficiency of place name information.
Drawings
Fig. 1 is a schematic structural diagram of a place name identification number encoding device.
FIG. 2 is a flow chart of continent and International public domain code computation.
Fig. 3 is a flow chart of country and region name code calculation.
Fig. 4 is a flowchart of administrative division code calculation.
Fig. 5 is a flow chart of administrative division code calculation below the county level.
Fig. 6 is a flow chart of the geographical attribute category code calculation for the place name.
Fig. 7 is a spatial grid code computation flow diagram.
Fig. 8 is a life cycle code calculation flow chart.
FIG. 9 is a sequence count code calculation flow diagram.
Fig. 10 is a check code calculation flowchart.
Fig. 11 is a schematic diagram of a field structure of a place name id number.
Detailed Description
The place name is a proprietary name of the geographic entity, the place name prefecture range is a space boundary prefecture range of the geographic entity corresponding to the place name, and the place name geometric envelope center is a place coordinate (longitude and latitude X and latitude Y) where the geometric envelope center of the geographic entity corresponding to the place name is located. The present invention will be further illustrated with reference to the following figures and specific examples, which are to be understood as merely illustrative and not restrictive of the scope of the invention.
As shown in fig. 1, a device for encoding a place name identification number (place name ID) based on a space-time service disclosed in the embodiments of the present invention mainly includes a place name object coordinate acquisition module (coordinate acquisition module), a basic geographic information data (geographic library module), a service classification type information library module (service library module), a spatial grid rule information library module (grid library module), a date generation module, a sequential counting library module (counting library module), a check rule information library module (check library module), and a calculation encoding module 8. The functions of the modules are as follows:
a coordinate acquisition module: the module collects coordinate positions and name information of geographical entity jurisdiction boundaries of geographical names in a manual drawing mode.
The geographic library module: the module stores coordinate geographic information data of geographic entities including continents and international public domain codes, country and region name codes, administrative division codes and administrative division codes below county level issued by map production enterprises or national management mapping departments and boundaries of jurisdictions.
The service library module: this module has stored "place name (of geographic entity): code (traffic classified) "traffic classification information data.
A grid library module: the module has stored information data of the earth mesh generation parameters.
A date generation module: the module generates life cycle information of the content, the year, month and day.
A counting library module: the module is a record of the accumulated count of the compiled place names in the same day (same century, same year, same month and same day) on the premise that codes of geographical attribute categories of place names of administrative divisions below the administrative division level, country and region names, administrative divisions and county levels of continents and international public fields are the same.
Checking the library module: the module has stored data of the check rule information.
A calculation coding module: the module combines and codes the address name identification number according to the code relation of each section on the basis of the corresponding code calculated by the module.
The embodiment of the invention discloses an execution method of a space-time service-based place name identity number coding device, which mainly comprises the following steps:
step 1: code calculation process for continents and international public domains
And reading the border data of the prefecture in the geographic information data of the geographic entity of the place name acquired by the coordinate acquisition module, simultaneously reading the geographic information data of the continent and the international public domain in the stored geographic information data of the geographic database module, comparing by the calculation and coding module, and determining the attribution of the continent or the international public domain to which the place name belongs if the range of the prefecture of the place name falls within the range of the continent and the international public domain. And judging and calculating to obtain the continent and international public domain code GNC1 of the section 1 of the geographical name ID according to a ' continent or international public domain code ' table in GB/T18521-2006 geographical name classification and category compilation rule '. See table 1 below, fig. 2, 11.
TABLE 1 continent and International public domain codes
Figure DEST_PATH_IMAGE001
Step 2: country and region name code calculation flow
On the basis, the geographic information data of the country and the region names in the stored geographic information data of the geographic database module are read at the same time, and are compared by the calculation coding module, and if the region scope of the place name falls within a certain country and region scope, the country and region attribution of the place name is determined. Judging and calculating to obtain the country and region name code GNC2 of the 2 nd section of the place name ID according to a ' country and region name code ' table of GB/T2659-2000 country and region name codes '; otherwise, all bits of the 2 nd to 4 th segments are set to '0', and the step 7 is skipped. See fig. 3, 11.
And step 3: administrative division code calculation flow
On the basis, the geographic information data of provincial administrative divisions in the stored geographic information data of the geographic base module are read at the same time, and compared by the calculation and coding module, if the district scope of the place name falls within the range of the provincial administrative divisions, the administrative division attribution of the provincial place name to which the place name belongs is determined. Acquiring provincial level and determining 36 th and 35 th administrative division codes of a 3 rd section GNC3 of a place name ID code according to the standard GB/T2260 administrative division codes of the people's republic of China; otherwise, all bits of the 3 rd to 4 th segments are set to '0', and the step 7 is skipped.
On the basis, the geographic information data of the administrative divisions at the city level in the stored geographic information data of the geographic database module are read at the same time, compared by the calculation and coding module, and if the area scope of the place name falls within the area scope of the administrative divisions at the city level, the administrative division attribution of the place name at the city level is determined. Acquiring district and city grade according to the GB/T2260 administrative division code of the people's republic of China, and determining 34 rd and 33 rd sections of GNC3 administrative division codes of the place name ID codes; otherwise, the other bits of the 3 rd to 4 th segments are all set to '0' and the step 7 is skipped.
On the basis, simultaneously reading the geographic information data of the county level administrative divisions in the stored geographic information data of the geographic base module, comparing the geographic information data by the calculation and coding module, and determining the administrative division attribution of the county level place name if the range of the place name is within the range of the county level administrative divisions. Acquiring county level and determining 32 rd and 31 th administrative division codes of a 3 rd section GNC3 of a place name ID code according to the standard GB/T2260 administrative division codes of the people's republic of China; otherwise, setting other bits of the 3 rd to 4 th sections as 0, and jumping to the step 7.
Specifically, if the district scope of the place name is over the district of the county-level administrative district, selecting administrative division codes of the district city, and setting the administrative division codes of the county-level administrative division codes to 00; if the district scope of the place name is across district municipal level administrative districts, selecting provincial level administrative division codes, and setting district municipal level administrative division codes as 00; if the district scope of the place name crosses the district of provincial level administrative district, the administrative district code is set to 000000. See fig. 4, 11.
And 4, step 4: county-level and below-county-level administrative division code calculation process
On the basis, the stored geographic information data of the administrative divisions below the county level of the geographic base module are read at the same time, compared by the calculation and coding module, and if the range of the place name administrative divisions below the county level falls within the range of the administrative divisions below the county level, the administrative divisions below the county level to which the place name belongs are determined. According to the standard specification of national standard GB/T10114-administrative division code establishment rule below county level 2003, determining administrative division codes below county level GNC4 of paragraph 4 of the place name ID code; otherwise, all bits of segment 4 are set to 0. See fig. 5, 11.
And 5: geographical attribute category code calculation process of place name
Reading place name data in the geographic entity information data acquired by the coordinate acquisition module, and simultaneously reading the stored place name of the geographic entity in the service library module: the classified codes, namely' service classification information data, are compared by a calculation coding module, and according to place names, the place name geographic attribute category codes GNC5 of the 5 th section of the ID codes of the place names are obtained and determined according to the standard type division of the place name geographic attribute category codes in the national standard GB/T18521-.
Step 6: spatial grid code computation flow
On the basis of reading the spatial boundary information data of the geographical entity jurisdiction of the place name of the coordinate acquisition module, simultaneously reading the data of the spatial grid library module parameters (including a formula, a constant and a model), extracting the maximum value Xmax of the boundary longitude, the minimum value Xmin of the longitude, the maximum value Ymax of the latitude and the minimum value Ymin of the latitude, calculating the geometric envelope center coordinate (X, Y) data of the geographical entity of the place name through the formulas (1) and (2), and calculating the G code (longitude grid GX, latitude grid GY) GNC6 of the spatial grid through the formulas (3), (4), (5) and (6). See fig. 7, 11. The calculation method is as follows:
X=(Xmax+Xmin)/2(1)
Y=(Ymax+Ymin)/2 (2)
when X is in east longitude:
GX = (integrate) [ X/360 ]. 65536 (3)
When X is in the west longitude:
GX = (integer) [ (X + 180)/360 ]. 65536 (4)
When Y is at north latitude:
GY = (integer) [ (90-Y)/180 ]. 32768 (5)
When Y is at south latitude:
GY = (integer) [ (90 + Y)/180 ]. 32768 (6)
Get GX =
bx15bx14bx13bx12bx11bx10bx9bx8bx7bx6bx5bx4bx3bx2bx1bx0;
Get GY =
by15by14by13by12by11by10by9by8by7by6by5by4by3by2by1by0;
G = GXGY =
bx15by15bx14by14bx13by13bx12by12bx11by11bx10by10bx9by9bx8by8
bx7by7bx6by6bx5by5bx4by4bx3by3bx2by2bx1by1bx0by0;
The spatial grid code GNC6 is output. Wherein, bxi: represents the ith bit of the longitude grid; byi: indicating the ith bit of the latitude grid.
And 7: life cycle code calculation flow
The date data of the date generation module is read, and the 7 th life cycle code GNC7 of the place name ID code is acquired and determined, see fig. 8. The life cycle code represents a place name generation or identification date, and represents time information at which place name life cycle management starts. According to the GB/T7408-plus 2005 data element and exchange format information exchange date and time representation, the life cycle code adopts CCYYMMDD (CCYY: year, MM: month, DD: day) 8-digit decimal number format, as shown in figures 8 and 11.
The place name life cycle code of the natural geographic entity complies with the record date such as the place name log. The undeterminable century, year, month and day value which has been generated historically is 00; the place name life cycle codes for artificial production construction and social management are subject to the date approved, built or agreed by administrative units.
The date generation module synchronously generates date data according to the coding device system, the date data of the date reading generation module is read, if the current date data is valid, the system date is automatically collected, and if the current date of the historical place name geographic entity is invalid, the required date data is manually input.
And 8: sequence count code calculation flow
Reading the last accumulated sequential encoding data of the counting module, and adding 1 by itself on the basis of the last accumulated sequential encoding data (according to the condition that the continent and international public domain codes of the place name, country and region name codes, administrative division codes below county level, geographical attribute category codes of the place name and space grid codes are the same, adding 1 to the accumulated value of the counting base module counter on the same day, and achieving no repetition of sequential counting codes), and generating a section 8 sequential counting code GNC8 of the place name ID code, which is shown in figures 9 and 11.
And step 9: check code calculation process
And reading the information data of the check rule of the check library module, and generating a check code GNC9 by using a method of 'GB/T23732 Chinese standard text code' check character system mod16-3 for 8 sections of codes of continents or international public domain codes, country and region name codes, administrative division codes below county level, geographical attribute codes of place names, space grid codes, life cycle codes and sequence counting codes. The adoption of the check code can find that the place name identity number generates error codes in the transmission process. See FIGS. 10, 11, example 1.
Step 10: location name identity code encoding output
Based on the generation of each segment Code, according to Geo _ Name _ Code = GNC 1: GNC 2: GNC 3: GNC 4: GNC 5: GNC 6: GNC 7: GNC 8: GNC9 (wherein ": represents the series relation between the segmented codes), the calculation coding module combines the 9 segments of Code values and outputs the address Name identification number Geo _ Name _ Code data.
The finally generated place name ID coding structure is composed of 9 sections of continents and international public domain codes (1 bit), country and region name codes (3 bits), administrative division codes (6 bits), administrative division codes below county level (3 bits), place name geographic attribute category codes (6 bits), space grid codes (8 bits), life cycle codes (8 bits), sequence counting codes (4 bits) and check codes (1 bit). The location name ID code amounts to 40 bits, see fig. 11.
The place name ID is called as a domestic place name ID when used in China, the coding structure can be simplified to be composed of 7 sections of an administrative division code (6 bits), an administrative division code (3 bits) below a county level, a place name geographic attribute category code (6 bits), a space grid code (8 bits), a life cycle code (8 bits), a sequence counting code (4 bits) and a check code (1 bit), and the domestic place name ID code is 36 bits in total.
Location name coding examples to facilitate understanding of the inventive arrangements, a few location name coding examples are listed below.
Example 1 Nanjing university virtual geographic information laboratory geoscience building
In the CGCS2000 reference frame, the geometric envelope center coordinates of the virtual geographic information laboratory geosciences building of university of tokyo (118.91196, 32.11702). The part codes of the place name ID are formed as follows: continent or international public domain codes: 1; country and region name codes: 156; administrative division code: 320113, respectively; administrative division codes below county level: 406; place name type code: 261100, respectively; spatial grid code: 266184 EB; the life cycle code: 20011004, respectively; and (3) sequence code: 0004 of a base oil; and (4) checking codes: F. geographical name ID of the virtual geographic information laboratory geoscience building of south beijing university:
1156320113406261100266184EB200110040004F。
TABLE 2 check code calculation table
Figure DEST_PATH_IMAGE002
Note 1: adopting pure system weight, r =: root, or the basis of a geometric series;
note 2: in MOD16-3, MOD =16, the value of r root is 3;
note 3: i =: position index representing bit code;
note 4: hi = representing the place name ID hexadecimal code bit value at the ith position;
note 5: wi = representing a weighting factor at the i-th position;
note 6: di = (hi hexadecimal conversion to) decimal number;
and 7, note: pi = (di × wi) product;
note 8: sum =: sum of pi products;
note 9: cdi =: decimal check code (MOD 16 of sum, cdi: code _ di);
note 10: chi =: cd hexadecimal-based text check code (chi: code _ hi).
Example 2 Nanjing City Zhongshan south road
Geometrical envelope center coordinates of the south road of Zhongshan of Nanjing City (118.77692, 32.02617). The part codes of the place name ID are formed as follows: continent or international public domain codes: 1; country and region name codes: 156; administrative division code: 320100, respectively; the following administrative division codes at county level are: 000; place name type code: 235120, respectively; spatial grid code: 26612F 69; the life cycle code: 19900615, respectively; and (3) sequence code: 0005; and (4) checking codes: D. geographical name ID of south road of zhongshan of south beijing:
115632010000023512026612F69199006150005D。
EXAMPLE 3 Haian county, Jiangsu province
Geometric envelope center coordinates of Haian county, Jiangsu province (120.46726, 32.53369). The part codes of the place name ID are formed as follows: continent or international public domain codes: 1; country and region name codes: 156; administrative division code: 3201621, respectively; the following administrative division codes at county level are: 000; place name type code: 214000; spatial grid code: 2662D9D 9; the lifecycle code is 19490615; and (3) sequence code: 0004 of a base oil; and (4) checking codes: 3. place name ID of haian county, jiangsu province:
11563206210002140002662D9D91949061500043。
EXAMPLE 4 Jiangsu province Haian county Qu Pond Zhenquan No. 22 group No. 5
Geometric enveloping center coordinates of Haian county Qu Tang Zhenquan 22 group No. 5 of Jiangsu province (120.3138, 32.50208). The part codes of the place name ID are formed as follows: continent or international public domain codes: 1; country and region name codes: 156; administrative division code: 320621, respectively; administrative division codes below county level: 102, and (b); place name type code: 217110, respectively; spatial grid code: 2662D4 AD; the lifecycle code is 19961004; sequence code 0005; and 7, a check code. Location name ID of No. 22 group 5 of huaqu tang zhenqiang tang of haian county, jiangsu province:
11563206211022171102662D4AD1996100400057。
example 5 Yangtze river of China
The geometric envelope center coordinates of the Yangtze river in China (108.016667, 32.53369). The part codes of the place name ID are formed as follows: continent or international public domain codes: 1; country and region name codes: 156; administrative division code: 000000; administrative division codes below county level: 000; place name type code: 121000; spatial grid code: 24E1A5 EA; the lifecycle code is 00000000; and (3) sequence code: 0001; and (4) checking codes: 8. the place name ID of the Yangtze river in China:
115600000000012100024E1A5EA0000000000018。

Claims (3)

1. a device for encoding a place name and identity number based on space-time service is characterized by comprising:
the system comprises a place name object coordinate acquisition module, a place name object coordinate acquisition module and a place name object information acquisition module, wherein the place name object coordinate acquisition module is used for acquiring place name object information which comprises coordinate positions and name information of geographical entity jurisdiction boundaries of place names;
the basic geographic information database module is used for storing coordinate geographic information data of geographic entities including continents, international public fields, country and region names, administrative divisions below county levels and prefecture boundaries;
the service classification type information base module is used for storing geographical name service classification information data of the geographical entity;
the spatial grid rule information base module is used for storing information data of the earth grid subdivision parameters; the spatial grid code is generated according to the following rules:
firstly, calculating geometric envelope center coordinates X and Y data of geographical name geographical entities according to the longitude maximum value Xmax, the longitude minimum value Xmin, the latitude maximum value Ymax and the latitude minimum value Ymin of collected geographical name entity boundary prefecture data, wherein X = (Xmax + Xmin)/2, and Y = (Ymax + Ymin)/2;
and then the longitude grid GX and the latitude grid GY are calculated according to the following formula:
when X is in east longitude:
GX = (rounded) [ X/360 ]. 65536
When X is in the west longitude:
GX = (integer) [ (X + 180)/360 ]. 65536
When Y is at north latitude:
GY = (integer) [ (90-Y)/180 ]. 32768
When Y is at south latitude:
GY = (integer) [ (90 + Y)/180 ]. 32768
Get GX =
bx15bx14bx13bx12bx11bx10bx9bx8bx7bx6bx5bx4bx3bx2bx1bx0;
Get GY =
by15by14by13by12by11by10by9by8by7by6by5by4by3by2by1by0;
Finally obtaining a space grid code G =
bx15by15bx14by14bx13by13bx12by12bx11by11bx10by10bx9by9bx8by8
bx7by7bx6by6bx5by5bx4by4bx3by3bx2by2bx1by1bx0by0;
Where bxi denotes the ith bit of the longitude grid; byi denotes the ith bit of the latitude grid;
the date generation module is used for generating life cycle information with the year, month and day as contents;
the sequence counting library module is used for recording the cumulative count of the edited place names in the same region, the same service and the same day;
the calibration rule information database module is used for storing the data of the calibration rule information;
the calculation coding module is used for calculating and obtaining the codes of the continents and international public fields, the country and region names, the administrative division codes and administrative division codes below the county level according to the district boundary data of the geographical entities of the place names, calculating and obtaining the geographical attribute category codes of the places according to the place name information data of the geographical entities of the place names, calculating and obtaining space grid codes according to the district boundary data of the geographical entities of the place names, generating check codes according to preset format combinations based on the codes and date data and sequence counting codes in the same region, the same business and the same day, and obtaining the final place name identity numbers combining the administrative division, the business type, the space grid and the life cycle;
the calculation coding module comprises:
the continent and international public domain code generating unit is used for comparing the collected prefecture boundary data of the geographical entity of the place name with prefecture boundary data corresponding to the continent and international public domain codes stored in the basic geographic information database to obtain the prefecture and international public domain codes;
the country and region name code generating unit is used for comparing the collected regional name geographic entity regional boundary data with regional name boundary data corresponding to country and region name codes stored in the basic geographic information database to obtain the affiliated country and region name codes;
the administrative division code generating unit is used for comparing the collected administrative boundary data of the geographical entity with administrative boundary data corresponding to administrative division codes stored in the basic geographical information database to obtain the administrative division codes to which the administrative division codes belong;
the administrative division code generation unit below the county level is used for comparing the collected administrative boundary data of the geographical entity of the place name with administrative boundary data corresponding to administrative division codes below the county level stored in the basic geographic information database to obtain administrative division codes below the county level;
the geographic attribute category code generation unit is used for acquiring stored business classification information from a business classification type information base according to the collected place name information data of the place name geographic entity to obtain a corresponding place name geographic attribute category code;
the spatial grid code generating unit is used for extracting a longitude maximum value, a longitude minimum value, a latitude maximum value and a latitude minimum value according to the collected border data of the district of the geographical entity of the place name, calculating geometric envelope center data of the geographical entity of the place name and calculating a spatial grid code;
the life cycle code generating unit is used for acquiring date data from the date generating module;
a sequence count code generation unit for generating sequence count code data according to the situation of the programmed place name;
and the verification code generating unit is used for calculating the code character strings combined according to the preset format according to a set verification rule to obtain verification code data.
2. The apparatus for encoding a place name id number based on spatio-temporal service as claimed in claim 1, wherein the sequence count code is generated according to the following rules: and adding 1 to the accumulated value of the sequence counting library module counter in the same day according to the conditions that the continent and international public domain codes of the place names, the country and region name codes, the administrative division codes below the county level, the geographical attribute category codes of the place names and the space grid codes are the same to obtain sequence counting code data.
3. The device for encoding a place name id number based on spatio-temporal service as claimed in claim 1, wherein the check code is generated according to the following rules: according to the check rule of a check character system mod16-3, checking code data are obtained by calculation from continents and international public domain codes, country and region name codes, administrative division codes below the county level, geographical attribute category codes of place names, space grid codes, date codes and sequence count code data.
CN201810071286.0A 2018-01-25 2018-01-25 Geographical name ID number coding device based on space-time service Active CN108334579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810071286.0A CN108334579B (en) 2018-01-25 2018-01-25 Geographical name ID number coding device based on space-time service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810071286.0A CN108334579B (en) 2018-01-25 2018-01-25 Geographical name ID number coding device based on space-time service

Publications (2)

Publication Number Publication Date
CN108334579A CN108334579A (en) 2018-07-27
CN108334579B true CN108334579B (en) 2021-10-22

Family

ID=62925750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810071286.0A Active CN108334579B (en) 2018-01-25 2018-01-25 Geographical name ID number coding device based on space-time service

Country Status (1)

Country Link
CN (1) CN108334579B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872534B (en) * 2019-03-21 2020-11-27 中交信有限责任公司 Nationwide road passenger station coding system and method
CN110097444A (en) * 2019-05-14 2019-08-06 京东方科技集团股份有限公司 A kind of flowing water code generating method and device
CN113129000A (en) * 2019-12-31 2021-07-16 航天信息股份有限公司 Electronic service certificate generation method and equipment
CN112115221A (en) * 2020-09-08 2020-12-22 浙江嘉兴数字城市实验室有限公司 Multi-factor matching fusion method for block data
CN114676368B (en) * 2022-03-07 2023-04-07 广州市城市规划勘测设计研究院 Geographic entity information display method, device, equipment and medium based on identification code
CN115064054B (en) * 2022-05-07 2023-10-13 西宁市测绘院 Geographic entity space identity code construction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385591A (en) * 2010-09-03 2012-03-21 广东瑞图万方科技股份有限公司 Global positioning encoding device and method
CN102523273A (en) * 2011-12-08 2012-06-27 江苏紫荆花信息科技有限公司 System for providing location-based service
EP2720157A2 (en) * 2012-07-11 2014-04-16 VeriSign, Inc. System and method for adding a whitelist entry via DNS

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10289688B2 (en) * 2010-06-22 2019-05-14 International Business Machines Corporation Metadata access in a dispersed storage network
CN103488736B (en) * 2013-09-18 2017-01-25 中国科学技术大学 Method and system for establishing multisource geospatial information correlation model
US9836540B2 (en) * 2014-03-04 2017-12-05 Cisco Technology, Inc. System and method for direct storage access in a content-centric network
CN105975477B (en) * 2016-04-07 2019-11-08 华北电力大学 A method of constructing geographical name data collection automatically based on network
CN106844622B (en) * 2017-01-19 2020-07-17 中国测绘科学研究院 Full-space information expression method and full-space information system
CN106951453A (en) * 2017-02-23 2017-07-14 浙江工业大学 A kind of geographical entity coding method of quick renewal and data sharing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385591A (en) * 2010-09-03 2012-03-21 广东瑞图万方科技股份有限公司 Global positioning encoding device and method
CN102523273A (en) * 2011-12-08 2012-06-27 江苏紫荆花信息科技有限公司 System for providing location-based service
EP2720157A2 (en) * 2012-07-11 2014-04-16 VeriSign, Inc. System and method for adding a whitelist entry via DNS

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于无线局域网IEEE802.11技术的地理空间定位方法";孙如江 等;《地球信息科学》;20040930;第6卷(第3期);第62-67页 *

Also Published As

Publication number Publication date
CN108334579A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108334579B (en) Geographical name ID number coding device based on space-time service
CN107092680B (en) Government affair information resource integration method based on geographic grids
Allen et al. Global to city scale urban anthropogenic heat flux: model and variability
CN108647332B (en) Administrative division space information organization method based on global grid
Brown et al. Spatial simulation for translating from land use to land cover
CN110704565A (en) Demographic data gridding modeling method based on remote sensing and GIS
Möller et al. High resolution heat atlases for demand and supply mapping
CN103838825A (en) Global geographical name data integrating and encoding method
Li et al. A spatially explicit reconstruction of cropland based on expansion of polders in the Dongting Plain in China during 1750–1985
Sleeter et al. Estimating daytime and nighttime population density for coastal communities in Oregon
An et al. Spatial and temporal evolution of carbon stocks in Dongting Lake wetlands based on remote sensing data
JP5281284B2 (en) System and method for manufacturing a flexible geographic grid
Li et al. Understanding the Spatial Impact of COVID-19: New Insights from Beijing after One Year into Post-Lockdown Recovery
Siczewicz US Historical Counties
Her et al. Mapping the us census data using the tiger/line shapefiles: Ae557/ae557, 05/2021
Ibrahim et al. Reviews on the socio-economic indicators for spatial urban scale
Assel et al. A Great Lakes ice cover digital data set for winters 1973-2000
Alghamdi Designing geodatabases for the general authority for statistics of the Kingdom of Saudi Arabia
CN116233759B (en) Resident travel track investigation method and system
ZHANG Planning and Layout Strategies of Urban Institution Pension Service Facilities under the Background of Aging Society: A Case Study of the Main Urban District of Xuzhou City.
Zhou et al. Simulation of the spatial distribution of urban populations based on first-aid call data.
Hu et al. Urban Parts Survey Methodology Based on Multi-level Positioning Grid of Spatial Information
CN117876186A (en) Urban influence range identification method under urban group scale
CN114462503A (en) Accessibility-based medical resource supply and demand matching relation acquisition method
Van Ty et al. Utilization of a GIS-based water infrastructure inventory for water resources assessment at local level: a case study in mountainous area of Vietnam

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