A spatial position correction method based on a standard geographic database

CN122195981BActive Publication Date: 2026-09-08INST OF AGRI RESOURCES & REGIONAL PLANNING CHINESE ACADEMY OF AGRI SCI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610291470.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-03-11
Publication Date
2026-09-08
Estimated Expiration
2046-03-11

AI Technical Summary

Technical Problem

[0003]然而,当前野外采样位置信息记录与校对过程中,由于设备定位精度不足,野外采样常用的GPS手持设备或手机定位功能,易受山地、密林、峡谷等地形遮挡影响,导致采集的经纬度坐标存在偏差,进而使经纬度坐标对应的行政位置信息与实际采样地点不符

Benefits of technology

本发明先构建标准地理数据库,所述标准地理数据库包括行政名称编码表、行政边界地图和耕地边界地图;再获取待校对采样点的采样点编号,以所述采样点编号为索引从采样数据库中获取对应的野外采样记录,所述野外采样记录包括行政地址文本和经纬度坐标。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122195981B_ABST
    Figure CN122195981B_ABST
Patent Text Reader

Abstract

The present application relates to a kind of spatial position collation method based on standard geographic database, belong to geographic information processing and data collation technical field.The present application proposes the full-process automated collation method based on standard database, using forward maximum matching word segmentation method to process the administrative address text of field sampling record and sequentially matched administrative name according to administrative level, can automatically correct non-standard address in processing process, subsequently with standard administrative code as index to determine corresponding boundary area from administrative boundary map, the latitude and longitude coordinate of field sampling record is verified by administrative boundary, when administrative boundary verification fails, latitude and longitude coordinate can be automatically corrected, to meet the efficient, accurate collation needs of field sampling data of scientific research.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a spatial location verification method based on a standard geographic database, belonging to the field of geographic information processing and data verification technology. Background Technology

[0002] In scientific field sampling, the location information of sampling points (coordinates and the corresponding province, city, county, township, and village names) is the core foundation for subsequent data classification, spatial analysis, and the reliability of research results.

[0003] However, in the current process of recording and verifying field sampling location information, insufficient positioning accuracy of equipment means that the GPS handheld devices or mobile phone positioning functions commonly used in field sampling are easily affected by terrain obstructions such as mountains, dense forests, and canyons, leading to deviations in the collected latitude and longitude coordinates. This results in discrepancies between the administrative location information corresponding to the latitude and longitude coordinates and the actual sampling location. When correcting latitude and longitude coordinates that do not match the actual sampling location, existing methods mostly involve randomly selecting a point within the boundary area corresponding to the administrative place name. However, agricultural research sampling must be limited to cultivated land, and this operation cannot ensure that the coordinates fall within cultivated land.

[0004] There is an urgent need for a technical solution that can automatically verify the administrative location information and latitude and longitude coordinates of field sampling records and automatically correct errors when they occur. Summary of the Invention

[0005] The purpose of this invention is to provide a spatial location verification method based on a standard geographic database. This invention uses a forward maximum matching word segmentation method to process the administrative address text of field sampling records and matches administrative place names sequentially according to administrative level. During the processing, non-standard addresses can be automatically corrected. Then, the corresponding boundary area is determined from the administrative boundary map using the standard administrative code containing all administrative level information as an index. The latitude and longitude coordinates of the field sampling records are verified for administrative boundaries. If the administrative boundary verification fails, the latitude and longitude coordinates can be automatically corrected. The verification efficiency is high and the verification results are accurate.

[0006] This invention provides a spatial location verification method based on a standard geographic database, comprising: Construct a standard geographic database, which includes an administrative name coding table, an administrative boundary map, and a farmland boundary map; Obtain the sampling point number of the sampling point to be calibrated, and use the sampling point number as an index to retrieve the corresponding field sampling record from the sampling database. The field sampling record includes administrative address text and latitude and longitude coordinates. Based on a pre-built standard dictionary of administrative region names, the administrative address text is processed using a forward maximum matching word segmentation method and administrative place names are matched sequentially according to administrative level; Based on the administrative name coding table, the administrative codes of each administrative place name are matched sequentially according to the administrative level to form a standard administrative code containing information of all administrative levels. Using the standard administrative code as an index, the corresponding boundary area is determined from the administrative boundary map; The administrative boundary of the latitude and longitude coordinates is verified using the aforementioned geographical area. If the spatial location point corresponding to the latitude and longitude coordinates is located within the boundary area, then the sampling point is determined to be correct. If the spatial location point corresponding to the latitude and longitude coordinates is located outside the boundary area, the intersection calculation of the boundary area and the cultivated land boundary map is used to obtain the cultivated land area within the boundary area. The latitude and longitude coordinates of the sampling point are then corrected, and the spatial location point corresponding to the corrected latitude and longitude coordinates must be located within the cultivated land area of ​​the boundary area.

[0007] In a preferred embodiment, the standard dictionary of administrative region names includes a list of administrative region names divided according to administrative levels; The administrative region names in the standard dictionary of administrative regions are used as candidate words to be matched in order to process the administrative address text using the forward maximum matching word segmentation method; The administrative region name includes the standard administrative region name, commonly used abbreviation of administrative region, former administrative region name, similar-sounding administrative region name, and similar-looking administrative region name. The commonly used abbreviations, former names, near-homophones, and near-similar shapes of the administrative regions are automatically corrected to the corresponding standard names of the administrative regions after being matched by the positive maximum matching word segmentation method.

[0008] In a preferred embodiment, when processing the administrative address text using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level, if the administrative address text includes an administrative level identifier, the administrative address text is split according to the administrative level identifier; and each segmented text is processed using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level.

[0009] In a preferred embodiment, when the administrative address text is processed using the forward maximum matching word segmentation method and administrative place names are matched sequentially according to administrative level, if the administrative address text includes an administrative code, the administrative place name corresponding to the administrative level is determined based on the administrative code; If the administrative place name determined by the administrative code is inconsistent with the administrative place name determined by the forward maximum matching word segmentation method, the administrative place name determined by the administrative code shall prevail.

[0010] In a preferred embodiment, the administrative name coding table includes the administrative place name and administrative code for each administrative level; the administrative levels include, from highest to lowest, provincial, municipal, county, township and village levels. When matching the administrative codes of each administrative place name according to the administrative level, the administrative codes are all matched within the range of the administrative codes of the previous administrative level as indexes.

[0011] In a preferred embodiment, the administrative boundary map and the cultivated land boundary map adopt the same spatial rules; The administrative boundary map includes pre-defined boundary areas corresponding to each standard administrative code. The corresponding boundary areas in the administrative boundary map can be obtained by using the standard administrative code as an index.

[0012] As a preferred embodiment, using the boundary area to perform administrative boundary verification of the latitude and longitude coordinates includes: Convert the latitude and longitude coordinates into spatial location points that conform to the spatial rules of the boundary area; Spatial geometric calculations are used to determine whether the spatial location point is located within the defined boundary area.

[0013] As a preferred embodiment, correcting the latitude and longitude coordinates of the sampling point includes: Obtain the minimum bounding rectangle of the cultivated land area; The selectable range of longitude and latitude coordinates is determined based on the length and width of the minimum bounding rectangle, respectively. Candidate longitude and latitude coordinates are randomly generated within the selectable range of longitude and latitude. Convert the candidate latitude and longitude coordinates into spatial location points and verify whether the spatial location points are located within the cultivated land area; If the determination is yes, then the candidate latitude and longitude coordinates are used as the corrected latitude and longitude coordinates; If the determination is negative, candidate longitude and latitude coordinates are regenerated within the selectable range of longitude and latitude and verified again.

[0014] As a preferred embodiment, after performing administrative boundary verification on the latitude and longitude coordinates using the aforementioned geographical area, the method further includes: Generate a verification result, which includes the sampling point number, administrative address text, latitude and longitude coordinates, standard administrative code, administrative place name corresponding to the standard administrative code, and administrative boundary verification result; if the administrative boundary verification fails, the corrected latitude and longitude coordinates also need to be recorded. The verification results are linked to the sampling database and the standard geographic database using sampling point numbers and standard administrative codes.

[0015] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: This invention first constructs a standard geographic database, which includes an administrative name coding table, an administrative boundary map, and a farmland boundary map; then it obtains the sampling point number of the sampling point to be calibrated, and uses the sampling point number as an index to retrieve the corresponding field sampling record from the sampling database, which includes administrative address text and latitude and longitude coordinates.

[0016] Subsequently, based on a pre-built dictionary of standard administrative region names, the administrative address text is processed using a forward maximum matching word segmentation method, and administrative place names are matched sequentially according to administrative level. During the administrative place name matching process, matching is also performed through standard administrative region names, commonly used abbreviations of administrative regions, former administrative region names, near-homophone names, and near-similar-looking names of administrative regions, thereby automatically correcting non-standard fields in the administrative address text (which are usually handwritten and contain many non-standard positions). The forward maximum matching word segmentation method can match administrative place names sequentially according to administrative level, with accurate segmentation and strong error tolerance.

[0017] Then, based on the administrative name coding table, the administrative codes of each administrative place name are matched sequentially according to the administrative level to form a standard administrative code containing information of all administrative levels. This invention relies on the standard administrative code containing information of all administrative levels (in this invention, the village-level administrative code, which is the lowest administrative level) to automatically adapt to changes in administrative regions such as township mergers and village boundary adjustments, ensuring the timeliness of administrative code matching.

[0018] Finally, using the standard administrative code as an index, the corresponding boundary area is determined from the administrative boundary map. The administrative boundary is then verified using the boundary area against the latitude and longitude coordinates. If the spatial location point corresponding to the latitude and longitude coordinates is within the boundary area, the sampling point is considered correct. If the spatial location point corresponding to the latitude and longitude coordinates is outside the boundary area, the intersection of the boundary area and the cultivated land boundary map is calculated to obtain the cultivated land area within the boundary area. The latitude and longitude coordinates of the sampling point are then corrected so that the spatial location point corresponding to the corrected latitude and longitude coordinates is within the cultivated land area. After correction, all points not located within the cultivated land area need to be corrected back to the cultivated land area to meet the professional needs of agricultural research sampling. Attached Figure Description

[0019] Figure 1 The diagram shown is a schematic flowchart of a spatial location verification method based on a standard geographic database according to an embodiment of the present invention. Detailed Implementation

[0020] It should be noted that: The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations thereof. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0021] The term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0022] Combination Figure 1 This embodiment introduces a spatial location verification method based on a standard geographic database, which includes: Step S1: Construct a standard geographic database, which includes an administrative name coding table, an administrative boundary map, and a farmland boundary map; The administrative name coding table includes the administrative place name and administrative code for each administrative level; the administrative levels include, from highest to lowest, provincial, municipal, county, township, and village levels; the administrative code is a nationally unique identifier, and each administrative place name at each administrative level corresponds to a unique administrative code. The standard administrative code used for spatial location verification needs to include information from all administrative levels from provincial to village. In this embodiment, the standard administrative code is essentially a village-level administrative code. An example of the administrative name coding table is shown below; the village-level administrative code essentially includes information from all administrative levels from provincial to village.

[0023] Table 1 Administrative Name Coding Table The administrative boundary map and the cultivated land boundary map use the same spatial rules to ensure the accuracy of spatial analysis. In this embodiment, both the administrative boundary map and the cultivated land boundary map are stored in vector format. The administrative boundary map includes the boundary area corresponding to each pre-divided standard administrative code. The corresponding boundary area in the administrative boundary map can be obtained by using the standard administrative code as an index.

[0024] Step S2: Obtain the sampling point number of the sampling point to be calibrated, and retrieve the corresponding field sampling record from the sampling database using the sampling point number as an index. The field sampling record includes administrative address text and latitude and longitude coordinates. The sampling database stores the sampling point number and field sampling record of each sampling point in tabular form. The field sampling record includes administrative address text and latitude and longitude coordinates (usually handwritten).

[0025] Step S3: Based on the pre-constructed standard dictionary of administrative regions, the administrative address text is processed using the forward maximum matching word segmentation method and the administrative place names are matched sequentially according to the administrative level; Due to changes in administrative regions, if the administrative names recorded in the field sampling records are still the old names before the change, while the subsequent data processing uses the changed administrative names, the administrative location information of the sampling points will not match. In addition, handwritten field sampling records contain many irregularities, such as typos (e.g., "Ziwu Village" is mistakenly written as "Baiwu Village"), mixed use of homophones (e.g., "Wande Town" is written as "Wande Town"), and omission of generic terms (e.g., "Yunnan Chuxiong Wuding Wande Ziwu" does not indicate the "province / prefecture / county / township / village" level), making it difficult to identify administrative names.

[0026] The administrative region standard name dictionary in this embodiment includes a list of administrative region names divided according to administrative levels; the administrative region names in the administrative region standard name dictionary are used as candidate words to be matched so that the administrative address text can be processed by the positive maximum matching word segmentation method.

[0027] The process of the forward maximum matching word segmentation method includes: selecting a search field with a preset number of characters along the forward direction for the administrative address text, checking whether there are candidate words matching the search field in the standard administrative region name dictionary, if not, gradually reducing the number of characters in the search field until there are matching candidate words in the standard administrative region name dictionary, and segmenting the search field that has completed the matching; continuing to process the remaining administrative address text in the above method until the administrative address text is divided into administrative place names corresponding to each administrative level.

[0028] The administrative region standard name dictionary includes the standard name of the administrative region, commonly used abbreviations of the administrative region, former names of the administrative region, near-phonetic names of the administrative region (automatically generated based on pinyin similarity), and near-shape names of the administrative region (automatically generated based on character shape similarity). After the commonly used abbreviations, former names, near-phonetic names, and near-shape names of the administrative region are matched in the positive maximum matching word segmentation method, they are automatically corrected to the corresponding standard name of the administrative region, such as "Baiwu Village" being corrected to "Ziwu Village".

[0029] When processing the administrative address text using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level, if the administrative address text includes an administrative level identifier (such as "province", "state", "county"), the administrative address text is split according to the administrative level identifier; and each segmented text is processed using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level.

[0030] Furthermore, when the administrative address text is processed using the forward maximum matching word segmentation method and administrative place names are matched sequentially according to administrative level, if the administrative address text includes an administrative code, the administrative place name corresponding to the administrative level is determined based on the administrative code; if the administrative place name determined by the administrative code is inconsistent with the administrative place name determined by the forward maximum matching word segmentation method, the administrative place name determined by the administrative code shall prevail.

[0031] Step S3 is essentially an address normalization process. Step S3 can parse the administrative address text into provincial, municipal, county, township, and village-level administrative place names, and match them with the standard dictionary of administrative region names. As an example, the administrative address text "Fada Village, Wuliang Town, Nanjian County, Dali Prefecture, Yunnan Province" is processed by forward maximum matching word segmentation to obtain "Yunnan Province", "Dali Prefecture", "Nanjian County", "Wuliang Town", and "Fada Village".

[0032] Based on the standard dictionary of administrative region names, the administrative place names were matched sequentially according to administrative level to obtain "Yunnan Province", "Dali Bai Autonomous Prefecture", "Nanjian Yi Autonomous County", "Wuliangshan Town", and "Fada Village Committee" (village-level administrative code 532926105210). Hierarchical constraints were considered during the administrative place name matching process (i.e., after a successful match at a higher administrative level, the next administrative level was only matched within the territory of the match result at the previous administrative level). When a reasonable result could not be obtained from the standard dictionary of administrative region names, the village name was searched online (Baidu Maps, Gaode Maps) to obtain the address with the highest matching degree for matching.

[0033] Step S4: Based on the administrative name coding table, the administrative codes of each administrative place name are matched sequentially according to the administrative level to form a standard administrative code containing all administrative level information. In this embodiment, the administrative place name is split into administrative place names and administrative names of the corresponding administrative level in the administrative name coding table according to the administrative level order of "provincial level → municipal level → county level → township level → village level". When matching the administrative codes of each administrative place name sequentially according to the administrative level, the administrative codes are all matched within the range of the administrative code of the previous administrative level as the index, and the administrative code of the previous administrative level is used as the prefix to finally obtain a standard administrative code containing all administrative level information.

[0034] As an example, the standard administrative code is 532329106204. 53 corresponds to Yunnan Province (provincial level), 5323 corresponds to Chuxiong Yi Autonomous Prefecture (municipal level), 532329 corresponds to Wuding County (county level), 532329106 corresponds to Wandezhen Town (township level), and 532329106204 corresponds to Ziwu Village (village level). The standard administrative code needs to contain information of all administrative levels. In this embodiment, the standard administrative code finally matched is actually the village-level administrative code. The standard administrative code can represent the subordinate relationship of "provincial level → municipal level → county level → township level → village level". Therefore, when there are multiple matching results at a certain administrative level, the administrative code of the previous administrative level is combined for filtering to accurately obtain the unique corresponding standard administrative code and associate it with the corresponding sampling point in the sampling database.

[0035] Step S5: Using the standard administrative code as an index, determine the corresponding boundary area from the administrative boundary map (in this embodiment, it is actually a village boundary map, Vil_yunnan.shp); in the vector format administrative boundary map, the boundary area is represented as a polygon feature.

[0036] Step S6: Use the boundary area to perform administrative boundary verification on the latitude and longitude coordinates; Specifically, the latitude and longitude coordinates are converted into spatial location points that conform to the spatial rules of the boundary area, and it is further determined whether the spatial location point is located within the boundary area; in this embodiment, the latitude and longitude coordinates are converted into point features, and spatial geometric operations can be used to determine whether the point feature is located within the polygon feature corresponding to the standard administrative code.

[0037] If the spatial location point corresponding to the latitude and longitude coordinates is located within the boundary area, then the sampling point is determined to be correct; the administrative boundary verification is passed, and the sampling point is marked as "accurate location" in the sampling database.

[0038] If the spatial location point corresponding to the latitude and longitude coordinates is located outside the boundary area, the intersection of the boundary area and the cultivated land boundary map (cultland.shp) is calculated to obtain the cultivated land area within the boundary area. The latitude and longitude coordinates of the sampling point are corrected, and the spatial location point corresponding to the corrected latitude and longitude coordinates must be located within the cultivated land area. The projection coordinate system of the boundary area (village boundary map Vil_yunnan.shp) and the cultivated land boundary map (cultland.shp) is WGS-1984_UTM_Zone_47N.

[0039] The steps for correcting the latitude and longitude coordinates of the sampling point include: obtaining the minimum bounding rectangle of the cultivated land area; determining the selectable range of longitude and latitude coordinates based on the length and width of the minimum bounding rectangle; randomly generating candidate latitude and longitude coordinates within the selectable range of longitude and latitude; converting the candidate latitude and longitude coordinates into spatial location points and verifying whether the spatial location point is located within the cultivated land area; in this embodiment, the candidate latitude and longitude coordinates are converted into point features, and the cultivated land area is represented as cultivated land surface features. Spatial geometric operations can be used to determine whether the point feature is located within the cultivated land surface features.

[0040] If the determination is yes, then the candidate latitude and longitude coordinates are used as the corrected latitude and longitude coordinates; if the determination is no, then candidate latitude and longitude coordinates are regenerated within the selectable range of longitude and latitude and verified again. The sampling point is labeled "Point Correction" in the sampling database, and the corrected latitude and longitude coordinates are recorded.

[0041] If valid latitude and longitude coordinates cannot be generated during the correction of the latitude and longitude coordinates of the sampling point (e.g., there is no cultivated land within the village boundary area), then manual verification of the abnormal point is triggered. The standard database is manually queried (to confirm the integrity of the cultivated land boundary map) or the administrative address text is corrected. After manual verification, the sampling point is marked as "manual verification and correction" in the sampling database, and the administrative address text and latitude and longitude coordinates after manual verification and correction are recorded.

[0042] The basic assumption of administrative boundary verification is that, among the administrative address text and latitude / longitude coordinates recorded in the field sampling, the reliability of the administrative address text is higher than that of the latitude / longitude coordinates. Using the village-level boundary area as a spatial fence, latitude / longitude coordinates that do not conform to the administrative address text are forcibly moved to the cultivated land area corresponding to the administrative address text. The basic rule is to determine whether the latitude / longitude coordinates are within the boundary area corresponding to the administrative address text. If this condition is met, the latitude / longitude coordinates recorded in the field sampling are directly used as the corrected latitude / longitude coordinates. If this condition is not met, a random location is generated within the cultivated land area of ​​that boundary area as the corrected latitude / longitude coordinates.

[0043] Step S7: Generate verification results, which include sampling point number, administrative address text, latitude and longitude coordinates, standard administrative code, administrative place name corresponding to the standard administrative code, and administrative boundary verification results; if the administrative boundary verification fails, the corrected latitude and longitude coordinates also need to be recorded; the verification results are associated with the sampling database and the standard geographic database through the sampling point number and standard administrative code.

[0044] To illustrate with a specific example, the following uses a soil sampling point (sampling point number S001) in Ziwu Village, Wandezhen Town, Wuding County, Chuxiong Yi Autonomous Prefecture, Yunnan Province as an example. The corresponding field sampling record is retrieved from the sampling database using the sampling point number as an index, as shown below: Table 2 Field Sampling Record of Soil Sampling Points Based on a pre-built standard dictionary of administrative region names, the word "Yunnan Chuxiong Wuding Wande Baiwu" is processed using the forward maximum matching word segmentation method to match administrative place names sequentially according to administrative level. First, "Yunnan" is identified and matched with the candidate word "Yunnan" in the standard dictionary of administrative region names. "Yunnan" in the standard dictionary of administrative region names is recorded as a provincial level, thus obtaining the administrative place name "Yunnan Province" corresponding to the administrative level of "provincial level". Next, "Chuxiong" is identified. "Chuxiong" uniquely corresponds to "Chuxiong Yi Autonomous Prefecture" in Yunnan Province. "Chuxiong Yi Autonomous Prefecture" in the standard dictionary of administrative region names is recorded as a municipal level, thus obtaining the administrative place name "Chuxiong Yi Autonomous Prefecture" corresponding to the administrative level of "municipal level". Subsequently, the administrative place names "Wuding County" (county level), "Wande Town" (township level), and "Ziwu Village" (village level) are matched sequentially (Baiwu is a similar-looking name of Ziwu and is automatically corrected to Ziwu during the matching process of the forward maximum matching word segmentation method).

[0045] Based on the aforementioned administrative name coding table, the administrative codes of each administrative place name are matched sequentially according to administrative level to form a standard administrative code containing information of all administrative levels; Provincial matching: "Yunnan Province" matches provincial administrative code 53; Municipal matching: within the range of provincial administrative code 53, "Chuxiong Yi Autonomous Prefecture" matches municipal administrative code 5323; County matching: within the range of municipal administrative code 5323, "Wuding County" matches county administrative code 532329; Township matching: within the range of county administrative code 532329, "Wande Town" matches township administrative code 532329106; Village matching: within the range of township administrative code 532329106, "Ziwu Village" matches a unique village administrative code 532329106204 as the standard administrative code, which is associated with sampling point number S001.

[0046] Using the standard administrative code as an index, the boundary area corresponding to the administrative place name is determined from the administrative boundary map. The village-level administrative code 532329106204, which serves as the standard administrative code, is used to extract the surface features of Ziwu Village. The latitude and longitude coordinates (102.218°E, 25.559°N) recorded in the field sampling are converted into point features. Spatial geometric operations are performed to determine whether the point feature is located outside the surface features of Ziwu Village. After the determination, it is determined that the point feature is located outside the surface features of Ziwu Village, and the administrative boundary verification fails.

[0047] Calculate the spatial intersection of the Ziwu Village surface features and the cultivated land boundary map to obtain the cultivated land area within the Ziwu Village boundary region; calculate the minimum bounding rectangle of the cultivated land area, and determine the selectable range of longitude and latitude coordinates based on the length and width of the minimum bounding rectangle, namely longitude 102.155°E-102.244°E and latitude 25.903°N-25.964°N; randomly generate candidate longitude and latitude coordinates (102.215°E, 25.930°N) within the selectable range of longitude and latitude, and verify that the point feature corresponding to the candidate longitude and latitude coordinates (102.215°E, 25.930°N) is located within the cultivated land area (valid); mark the sampling point as "point correction" in the sampling database, and record the corrected longitude and latitude coordinates.

[0048] Table 3 Summary of Proofreading Results of Field Sampling Records The verification results are stored in a database, and the original field sampling records in the sampling database are linked through the "sampling point number," and the standard database is linked through the "standard administrative code." Searching by criteria such as "Ziwu Village" is supported. This embodiment adopts a lightweight, end-to-end operation, requiring no reliance on professional GIS software. It can be integrated into Python research workflows, and can be operated by non-GIS professionals, with a low learning curve.

[0049] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0050] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0051] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0052] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0053] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A spatial location verification method based on a standard geographic database, characterized in that, include: Construct a standard geographic database, which includes an administrative name coding table, an administrative boundary map, and a farmland boundary map; Obtain the sampling point number of the sampling point to be calibrated, and use the sampling point number as an index to retrieve the corresponding field sampling record from the sampling database. The field sampling record includes administrative address text and latitude and longitude coordinates. Based on a pre-built standard dictionary of administrative region names, the administrative address text is processed using a forward maximum matching word segmentation method and administrative place names are matched sequentially according to administrative level; Based on the administrative name coding table, the administrative codes of each administrative place name are matched sequentially according to the administrative level to form a standard administrative code containing information of all administrative levels. Using the standard administrative code as an index, the corresponding boundary area is determined from the administrative boundary map; Using the aforementioned geographical area to perform administrative boundary verification of the latitude and longitude coordinates includes: If the spatial location point corresponding to the latitude and longitude coordinates is located within the boundary area, then the sampling point is determined to be correct. If the spatial location point corresponding to the latitude and longitude coordinates is located outside the boundary area, the intersection calculation of the boundary area and the cultivated land boundary map is used to obtain the cultivated land area within the boundary area. The latitude and longitude coordinates of the sampling point are corrected, and the spatial location point corresponding to the corrected latitude and longitude coordinates needs to be located within the cultivated land area of ​​the boundary area. The spatial rules used in the administrative boundary map and the cultivated land boundary map are consistent. The administrative boundary map includes pre-divided boundary areas corresponding to each standard administrative code. The corresponding boundary areas in the administrative boundary map can be obtained by using the standard administrative code as an index. Using the aforementioned geographical area to perform administrative boundary verification of the latitude and longitude coordinates includes: Convert the latitude and longitude coordinates into spatial location points that conform to the spatial rules of the boundary area; Determine whether the spatial location point is located within the boundary area through spatial geometric operations; Correcting the latitude and longitude coordinates of the sampling point includes: Obtain the minimum bounding rectangle of the cultivated land area; The selectable range of longitude and latitude coordinates is determined based on the length and width of the minimum bounding rectangle, respectively. Candidate longitude and latitude coordinates are randomly generated within the selectable range of longitude and latitude. Convert the candidate latitude and longitude coordinates into spatial location points and verify whether the spatial location points are located within the cultivated land area; If the determination is yes, then the candidate latitude and longitude coordinates are used as the corrected latitude and longitude coordinates; If the determination is negative, candidate longitude and latitude coordinates are regenerated within the selectable range of longitude and latitude and verified again.

2. The spatial location verification method based on a standard geographic database according to claim 1, characterized in that, The standard dictionary of administrative region names includes a list of administrative region names divided according to administrative levels; The administrative region names in the standard dictionary of administrative regions are used as candidate words to be matched in order to process the administrative address text using the forward maximum matching word segmentation method; The administrative region name includes the standard administrative region name, commonly used abbreviation of administrative region, former administrative region name, similar-sounding administrative region name, and similar-looking administrative region name. The commonly used abbreviations, former names, near-homophones, and near-similar shapes of the administrative regions are automatically corrected to the corresponding standard names of the administrative regions after being matched by the positive maximum matching word segmentation method.

3. The spatial location verification method based on a standard geographic database according to claim 1, characterized in that, When processing the administrative address text using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level, if the administrative address text includes an administrative level identifier, the administrative address text is split according to the administrative level identifier; each segmented text is then processed using the forward maximum matching word segmentation method to determine the administrative place name corresponding to the administrative level.

4. The spatial location verification method based on a standard geographic database according to claim 1, characterized in that, When the administrative address text is processed using the forward maximum matching word segmentation method and administrative place names are matched sequentially according to administrative level, if the administrative address text includes an administrative code, the administrative place name corresponding to the administrative level is determined based on the administrative code; If the administrative place name determined by the administrative code is inconsistent with the administrative place name determined by the forward maximum matching word segmentation method, the administrative place name determined by the administrative code shall prevail.

5. The spatial location verification method based on a standard geographic database according to claim 1, characterized in that, The administrative name coding table includes the administrative place name and administrative code for each administrative level; the administrative levels include, from highest to lowest, provincial, municipal, county, township and village levels; When matching the administrative codes of each administrative place name according to the administrative level, the administrative codes are all matched within the range of the administrative codes of the previous administrative level as indexes.

6. The spatial location verification method based on a standard geographic database according to claim 1, characterized in that, After performing administrative boundary verification on the latitude and longitude coordinates using the aforementioned geographical area, the process further includes: Generate a verification result, which includes the sampling point number, administrative address text, latitude and longitude coordinates, standard administrative code, administrative place name corresponding to the standard administrative code, and administrative boundary verification result; if the administrative boundary verification fails, the corrected latitude and longitude coordinates also need to be recorded. The verification results are linked to the sampling database and the standard geographic database using sampling point numbers and standard administrative codes.

Citation Information

Patent Citations

  • Fuzzy matching-based Chinese geo-code determination method

    CN101719128A

  • Automatic traffic accident site road net matching verification method and system

    CN108320515A