A method and system for dynamic updating of drainage facility spatial data
By using facility object identifiers to maintain operational and standard spatial data in the drainage facility geographic information system, the problems of timely reflection of on-site changes and data consistency were solved, achieving continuous data updates and accuracy, and ensuring the spatial data consistency and synchronous maintenance of topological relationships of drainage facilities.
Patent Information
- Application Number
- CN202611641393.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, the spatial data updates of drainage facility geographic information systems have problems such as failing to reflect on-site changes in a timely manner, and making it difficult to use on-site modifications as professional surveying and mapping standard data. At the same time, subsequent repair survey results are difficult to accurately correspond to changes in the facility objects that have occurred, resulting in data inconsistency and difficulties in maintaining the relationship.
The facility object identifier is used to maintain the operational space data and standard space data. On-site changes are first applied to the operational space data and the modification traces are recorded. Subsequent repair and measurement results are updated by associating with the facility object identifier to ensure data continuity and accuracy.
This enables timely reflection of on-site changes in the geographic information system, while maintaining the accuracy and consistency of standard spatial data, reducing the risk of data disconnection, and ensuring the synchronous maintenance of the geometric location and topological relationship of pipe points and pipelines.
Smart Images

Figure CN123138274A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geographic information data processing and spatial database updating technology, specifically to a method and system for dynamic updating of spatial data in a Geographic Information System (GIS) for drainage facilities. Background Technology
[0002] In existing technologies, urban drainage facility geographic information systems typically use data such as the spatial location, geometry, attribute information, and point-line relationships of pipe points, pipelines, and other drainage facility objects as basic data. This type of data is not only used for map queries and display but also serves as the data foundation for pipeline network verification, facility inspection, data analysis, and other processing modules that rely on the spatial location and attribute information of drainage facilities. Therefore, when on-site drainage facilities undergo construction, renovation, relocation, repair, or attribute changes, the spatial data in the geographic information system also needs to be continuously updated.
[0003] Formal updates to existing spatial data of drainage facilities typically rely on on-site surveying, data processing, and centralized data entry. While professional surveying can obtain relatively accurate coordinates and elevations, there is usually a time lag between discovering changes on-site and organizing measurements, generating results, and completing data entry. During this time lag, if the geographic information system continues to use existing spatial data, the current spatial data cannot reflect the actual condition of the drainage facilities in a timely manner, easily leading to inconsistencies between map locations, attribute information, or point-line relationships and the actual on-site conditions.
[0004] On-site personnel can detect actual changes to facilities such as pipe points and pipelines relatively early and can quickly correct geographic information data via mobile or computer terminals. However, rapid on-site modifications are mainly used to reflect discovered actual changes in a timely manner, and their data formation conditions differ from those of rigorous professional surveying. If the results of rapid on-site modifications are directly used as standard spatial data in the sense of professional surveying, it may be difficult to simultaneously meet the requirements of standard data for surveying accuracy, standardization, and reliability; if updates are only made after the next centralized repair survey is completed, it will prolong the inconsistency period between on-site changes and the current data in the geographic information system.
[0005] Furthermore, on-site real-time updates and subsequent professional remedial surveys are two distinct processing stages. If on-site modifications only alter the current map display without retaining modification records that continue to point to the same drainage facility object, subsequent remedial surveys will still require re-identifying the object to be measured and the changes that have occurred. After the survey results are returned, if there is a lack of stable object association data, it will be difficult to accurately update the corresponding coordinates, elevations, and other results to the standard spatial data record of the same facility object.
[0006] Drainage pipe networks also exhibit significant spatial network characteristics. Changes in the location of pipe points can alter the starting and ending points, coordinates, lengths, and point-to-line relationships of connected pipelines; editing actions such as merging pipe points or creating line breaks can also change existing spatial connections. Modifying only a single object without maintaining associated spatial data can lead to inconsistencies in the geometric positions or topological relationships between pipe points and pipelines. For scenarios where multiple repair and measurement results are returned in a concentrated manner, batch matching and updating for multiple facility objects also need to be supported.
[0007] The existing processing methods described above have at least the following problems: professional surveying updates have a certain cycle, making it difficult to reflect changes on-site in a timely manner, while rapid on-site modifications are difficult to directly serve as standard data in the sense of professional surveying; if there is a lack of stable object association between on-site updates and subsequent professional repair surveys, facility objects may need to be repeatedly identified at different stages, and it may be difficult to accurately correspond to previously changed facility objects after the survey results are returned; at the same time, there are difficulties in maintaining association relationships and batch object matching when editing pipe points and pipeline spaces and returning multiple repair survey results in a concentrated manner. Therefore, it is necessary to improve the dynamic update mechanism of drainage facility spatial data. Summary of the Invention
[0008] The technical problem to be solved by this invention is: how to ensure that the current spatial data in the geographic information system reflects the changes in the field in a timely manner when the field status of drainage facilities changes but the professional repair survey results have not yet been formed, while avoiding directly equating rapid field modifications with the standard spatial data formed by professional surveying; and how to prevent the drainage facility objects and their change information involved in the immediate field modifications from becoming disconnected from the subsequent repair survey during the professional repair survey, so that the repair survey results can accurately correspond to the previously changed drainage facility objects and complete the standard spatial data update.
[0009] To address the aforementioned technical problems, this invention provides the following technical solution: a method and system for dynamically updating spatial data of drainage facilities. For the same drainage facility object, operational spatial data and standard spatial data are maintained separately, and the object correspondence is maintained through a facility object identifier. On-site changes first affect the operational spatial data, forming a currently callable data state, and simultaneously recording modification traces corresponding to the change and associated with the facility object identifier. Subsequently, repair measurement task data associated with the modification traces and the facility object identifier is acquired, allowing previously recorded changes to continue entering the professional measurement process. Repair measurement results corresponding to the task data and carrying or associated with the facility object identifier are then acquired. Based on the facility object identifier, the corresponding object and its standard spatial data record are determined, and the record is updated using the repair measurement results, thereby forming a continuous processing chain from real-time on-site updates to subsequent professional measurements and standard spatial data updates.
[0010] The first aspect of the present invention provides a method for dynamically updating spatial data of drainage facilities. The method is for drainage facility objects with spatial location and attribute records in a geographic information system, and includes the following processing.
[0011] The system maintains an operational space dataset and a standard space dataset for drainage facilities. Both the operational space dataset and the standard space dataset include spatial data records corresponding to the same drainage facility object, and the object correspondence is maintained through facility object identifiers.
[0012] Obtain on-site update information for the target drainage facility object, update the spatial data record in the operating space dataset corresponding to the target drainage facility object according to the on-site update information, and record the modification trace corresponding to this update. The modification trace is associated with the facility object identifier of the target drainage facility object.
[0013] Before the repair survey results for the target drainage facility are obtained, the updated spatial data of the target drainage facility is used as the current operating spatial data for the geographic information system to call; during this stage, the spatial data records of the corresponding objects in the standard spatial dataset still maintain the data state based on the existing survey results.
[0014] Retrieve repair measurement task data associated with the modification traces, wherein the repair measurement task data is associated with the facility object identifier of the target drainage facility; obtain repair measurement results obtained based on the repair measurement task data, wherein the repair measurement results correspond to the repair measurement task data and carry or are associated with the facility object identifier. Thus, subsequent professional measurements and their results can continue to be mapped to the drainage facility objects involved in the aforementioned field changes.
[0015] The target drainage facility object corresponding to the repair measurement result is determined based on the facility object identifier, and the spatial data record corresponding to the object in the standard spatial dataset is further determined.
[0016] Update the spatial data record corresponding to the target drainage facility object in the standard spatial dataset according to the repair survey results, so that the standard spatial data record enters the state after being updated by this professional survey results.
[0017] Through the above processing, changes in the field do not need to wait for professional remedial surveys to be completed before being reflected in the current operating data of the geographic information system. At the same time, the standard spatial data is still maintained by professional surveying and mapping results. The modification traces formed by real-time field updates can continue to enter the remedial survey and standard spatial data update process, thereby establishing a continuous data update relationship between timeliness and the accuracy of professional surveying and mapping.
[0018] In one possible implementation, the facility object identifier is a unique identifier established within the system for drainage facility objects. For drainage facility objects imported from external files, the original file identifier in the external file is retained as source traceability information. When updating the runtime dataset, establishing the association between repair test data and target drainage facility objects, and determining the target drainage facility object corresponding to the repair test results, the facility object identifier is used as the basis for object confirmation. Thus, while retaining the external data source traceability information, data at different processing stages can continuously point to the same drainage facility object.
[0019] In one possible implementation, the modification trace includes at least one of the following: drainage facility object data before modification, drainage facility object data after modification, modification time, operation type, layer to which the object belongs, spatial coordinates, and drainage category. The modification trace stores information corresponding to changes in specific facility objects and their spatial data, providing data support for subsequent object confirmation and change tracing.
[0020] In one possible implementation, the repair survey results include the coordinates and / or elevation of the target drainage facility object obtained through professional repair surveying; the modification traces include the modification time. When the target drainage facility object corresponds to multiple modification traces, the association between the repair survey task data and the corresponding modification traces can be distinguished or verified by combining the facility object identifier and the modification time recorded in each modification trace. This provides a basis for verifying the association of task data when the same target drainage facility object corresponds to multiple modification traces.
[0021] In one possible implementation, on-site update information is submitted via cloud editing by mobile terminals and / or computer terminals, thereby updating the location and / or attribute data of the corresponding drainage facility objects in the operational space dataset. This method allows changes to facilities discovered on-site to be incorporated into the current operational space data without waiting for centralized measurement batches to be completed before being uniformly written in.
[0022] In one possible implementation, when the field update information includes moving the target pipe point, the associated pipeline is determined based on the spatial relationship between the target pipe point and the pipeline. The start or end position of the associated pipeline is then updated based on the moved target pipe point position, simultaneously updating the coordinates, length, and / or point-line association of the associated pipeline. When subsequent remedial survey results are used to update the target pipe point position in the standard spatial data, the associated pipeline in the standard spatial data can also be updated accordingly based on the updated target pipe point position and its spatial relationship with the pipeline, maintaining the correspondence between the spatial geometric relationships and point-line connections of the two types of data at their respective update stages.
[0023] In one possible implementation, when the on-site update information includes pipe point merging, the pipeline start-point or end-point association with the merged pipe point is updated based on the retained pipe point. When the on-site update information includes line breakpoint operations on the target pipeline, the start-end point coordinates, pipeline length, and point-line association of the target pipeline are updated based on the breakpoint location. For drainage facility objects that need to continue to undergo repair and testing after the above operations, the facility object identifier in the updated operational space dataset is associated with the corresponding repair and testing task data and repair and testing results. The above processing ensures that the spatially edited pipe point and pipeline geometry data and network connection relationships remain consistent, and that subsequent repair and testing can still point to the corresponding facility object.
[0024] In one possible implementation, repair measurement results corresponding to multiple drainage facility objects are imported into a temporary dataset. Based on the facility object identifier, the repair measurement results in the temporary dataset are matched with the corresponding spatial data records in the standard spatial dataset. Then, based on the matching results, the corresponding spatial data records in the standard spatial dataset are updated in batches using the corresponding repair measurement results. Thus, multiple measurement results generated from a single repair measurement can be centrally entered into the standard spatial data update process based on the established object correspondence.
[0025] In one possible implementation, after determining the target drainage facility object corresponding to the repair measurement result based on the facility object identifier, the corresponding fields in the spatial data record corresponding to the target drainage facility object in the operational spatial dataset are also corrected using the repair measurement result, and the corrected spatial data is used as the current operational spatial data for the geographic information system to call; the correction of the spatial data record in the operational spatial dataset and the update of the spatial data record in the standard spatial dataset both use the same repair measurement result as the data source.
[0026] A second aspect of this invention provides a dynamic update system for spatial data of drainage facilities, comprising a spatial data maintenance module, an operational data update module, an operational data retrieval module, a repair measurement data processing module, an object matching module, and a standard data update module. Each module operates collaboratively according to the data flow relationships of operational spatial data maintenance, on-site updates, current data retrieval, repair measurement data acquisition, object matching, and standard spatial data updates, to achieve the aforementioned dynamic update method for spatial data of drainage facilities.
[0027] The beneficial effects of this invention include at least the following aspects. Compared with the method that relies solely on periodic professional repair surveys for centralized updates, this invention improves the time interval between field changes and the current GIS spatial data by updating the operational spatial data first and making it available to the geographic information system as the current operational spatial data before the repair survey results are obtained.
[0028] Meanwhile, this invention ensures that standard spatial data is not directly replaced by on-site modifications, but is updated for the same drainage facility object after obtaining coordinates, elevations, and other results from professional surveying and mapping. This improves the current timeliness of the data while maintaining the accuracy and reliability of the standard spatial data maintained by professional surveying and mapping results.
[0029] Furthermore, this invention enables changes in on-site spatial data to enter subsequent repair and measurement processes through modification traces corresponding to those changes. The repair and measurement task data remains associated with the modification traces, and the repair and measurement results correspond to the corresponding repair and measurement task data. The corresponding drainage facility object and its standard spatial data record are identified through facility object identification, thereby reducing the possibility of discrepancies between on-site real-time updates and subsequent professional measurements. For spatial editing such as pipe point movement, pipe point merging, or line breakpoints, the geometric data and point-line relationships of related pipelines can be maintained simultaneously. When updating the pipe point positions in the standard spatial data in the repair and measurement results, the corresponding spatial relationship maintenance is performed on the associated pipelines in the standard spatial data. Attached Figure Description
[0030] Figure 1 This is a flowchart of the method for dynamically updating spatial data of drainage facilities in an embodiment of the present invention.
[0031] Figure 2 This is a schematic diagram illustrating the relationship between operational space data and standard space data in an embodiment of the present invention.
[0032] Figure 3 This is a schematic diagram of two-layer data update for a single drainage facility object in an embodiment of the present invention. Detailed Implementation
[0033] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings. These embodiments are used to illustrate the technical solutions of the present invention, and are not intended to limit the present invention to a single software architecture, database product, terminal form, or organizational process. Specific deployment methods unrelated to the core technology of the present invention can be adjusted according to the actual geographic information system environment.
[0034] To facilitate understanding of the embodiments of this application, the main technical objects used below will be described first.
[0035] Drainage facility objects refer to facility objects in the drainage facility geographic information system that correspond to actual drainage facilities and have independent spatial data records. The corresponding actual drainage facilities can include pipe points, pipelines, and drainage facilities with spatial location or geometric information such as sewage treatment facilities, sewage lifting pump stations, flood drainage pump stations, interception facilities, sluice gates, septic tanks, grease traps, and sludge traps. For pipe points, their spatial data can include point coordinates, elevation, layer, drainage category, and other attributes; for pipelines, their spatial data can include line geometry, start and end point coordinates, length, start point association identifier, end point association identifier, and other attributes. In this embodiment, when discussing moving pipe points, merging pipe points, line breakpoints, and subsequent repair and measurement processing, we will mainly use pipe points and pipelines as examples for explanation.
[0036] Operational spatial data refers to the spatial data of drainage facilities used for dynamic updates on-site and as the source of current operational data for the geographic information system. Standard spatial data refers to the spatial data of drainage facilities formed based on professional surveying and mapping results and updated by subsequent professional repair surveying results. Operational spatial data and standard spatial data can be maintained using different datasets or different libraries. Their technical roles are determined by the data purpose and update source, and they are not required to have completely identical data content at any given time. For example, in actual drainage facility management, the above-mentioned operational spatial data can correspond to the "operational map" data used in business, and the above-mentioned standard spatial data can correspond to the "standard map" data used in business; the operation map is used for dynamic updates formed by front-line personnel based on the actual situation on site, while the standard map uses data formed by professional surveying and mapping as its main data source. To maintain consistency in terminology, this article will use "operational spatial data" and "standard spatial data" consistently throughout.
[0037] A facility object identifier is an identifier used to identify the same drainage facility object across different datasets and processing stages. For drainage facility objects imported from external files, the original file identifier in the external file can be retained as source traceability information, and a new unique facility object identifier can be established for the object within the system. Subsequently, when updating operational space data, establishing the association between repair and testing task data and target drainage facility objects, and determining the target drainage facility object corresponding to the repair and testing results, this unique facility object identifier can be used as the basis for object confirmation. The following uses the identifier (ID) ID-A to represent the schematic facility object identifier of drainage facility object A. This representation is only used to illustrate object associations and does not limit specific coding rules.
[0038] Modification traces refer to the change records saved corresponding to a single modification of operational space data. These traces may include at least one of the following: a backup of the object data before modification, the object data after modification, the modification time, the operator, the operation type, the point / line layer name, spatial coordinates, and the drainage category. Modification traces are used to preserve the objects involved in a specific change in on-site spatial data and the corresponding changes, and are associated with the facility object identifier, enabling the recorded changes to continue in subsequent repair and measurement processes.
[0039] Repair survey task data refers to task-related data generated for drainage facilities requiring further professional measurement. Repair survey results refer to the measurement results generated after professional measurement of the corresponding facility based on the repair survey task, which may include spatial data such as coordinates and / or elevations obtained from the professional measurement. The repair survey task data is associated with the corresponding facility and its specific modification traces, enabling the professional measurement process to continue for the drainage facilities involved in the aforementioned recorded changes. The repair survey results generated after professional measurement is performed based on the repair survey task data correspond to the task data. This application does not limit the repair survey task to be automatically generated by the system.
[0040] This embodiment uses the following natural scenario as an example: The geographic information system has already stored the operational spatial data and standard spatial data of a drainage facility object corresponding to a certain actual drainage facility. During routine operations, pipeline surveys, or on-site verification after problem analysis, field personnel discover that the actual location or attributes of the actual drainage facility are inconsistent with the current records in the system. At this time, it is necessary to quickly make the current GIS data reflect the confirmed on-site changes, but professional repair surveys have not yet been completed, and rapid on-site modifications cannot be directly equated with professional surveying results. To balance these two stages, this embodiment first updates the operational spatial data based on the update information generated from the on-site verification and retains the modification traces. Subsequently, the standard spatial data is updated based on the repair survey results generated for the corresponding actual drainage facility.
[0041] See Figure 1 This embodiment provides a method for dynamically updating spatial data of drainage facilities, including steps S101 to S107. Figure 1 The actual data processing sequence is shown in the following order: maintenance of operating space data and standard space data, on-site update, formation of current operating data, acquisition of repair test data, object matching, and update of standard space data.
[0042] S101, Maintain operational spatial data and standard spatial data. For the same drainage facility object, maintain spatial data records in both the operational spatial dataset and the standard spatial dataset, and establish object correspondence through facility object identifiers. The operational spatial dataset is used to store the spatial data of drainage facilities that can be read during the current GIS operation; the standard spatial dataset is used to store the corresponding spatial data formed based on existing professional surveying and mapping results.
[0043] When the system first generates the two types of data mentioned above, they can both originate from the same batch of pre-compiled basic drainage facility data. As the operational space data begins to incorporate real-time on-site modifications, while the standard space data is updated according to professional surveying results, the two types of data may gradually develop content differences. This difference represents a normal data state formed at different update stages and should not be simply interpreted as the operational space data being a temporary copy of the standard space data or the standard space data necessarily mirroring the operational space data in real time.
[0044] For the same facility object, both types of spatial data records can store the facility object identifier, object type, layer to which it belongs, and corresponding spatial geometry and attribute fields. The facility object identifier is used to establish object-level correspondence, while the spatial geometry and attribute fields change according to their respective data update sources. In this way, even if the coordinates or attributes in the operational spatial data have changed due to on-site updates, the corresponding object in the standard spatial data can still be found through the facility object identifier, without relying on the coordinates of the two records always being exactly the same.
[0045] For historical drainage facility data from different sources, the system can retain the original file identifier as source tracing information and establish a new unique facility object identifier based on the data-processed object. During the processes of updating operational space data, associating repair and measurement task data with target drainage facility objects, and confirming repair and measurement results, the unique facility object identifier is used as the basis for object confirmation. Point-line relationships are mainly determined based on spatial relationships, thereby forming pipeline start-point and end-point association identifiers. When there are differences in local data standards, data templates can be created based on the obtained local data standards, expanding local fields on the basis of general fields, and completing the field correspondence in the input, output, and update processes according to the sorted field mapping relationships.
[0046] S102, Obtain On-site Update Information. On-site update information is used to characterize the discrepancies between the actual on-site status of the target drainage facility and the current operational space data that require adjustment. This information may include facility location changes, attribute changes, and other spatial data changes confirmed by on-site verification. This information can be submitted by on-site personnel via mobile terminal after confirmation during daily operations, pipeline surveys, or other on-site verifications, or via a cloud editing interface on a computer terminal.
[0047] On-site updates can originate directly from frontline personnel's on-site verification of actual drainage facilities during routine operations or pipeline surveys. Alternatively, they can stem from data objects requiring modification confirmed through on-site verification after analyzing existing fixed rules and identifying potential issues. On-site verification confirms whether the location, attributes, and other on-site conditions of the actual drainage facilities match the current GIS records. Regardless of the source of the change, once entered into this step, it is converted into spatial data modification input for the specific facility object. Subsequent processing revolves around this facility object, rather than using personnel roles, work order types, or management conclusions as the spatial data update targets.
[0048] In mobile application scenarios, the terminal can load a map of drainage facilities in the target area. Users can obtain the latest accessible spatial data by querying, editing, dragging, or zooming the map. They can then select the facility object on the map that corresponds to the actual drainage facilities being verified on-site and submit modifications based on the on-site verification results. A single edit can be submitted as a complete change to the object, allowing the server to obtain the spatial data status of the facility object after this edit. The system subsequently locates the corresponding operational spatial data record based on the facility object's identifier and maintains cross-stage object associations. The action of obtaining on-site update information means that the changes confirmed by on-site personnel regarding the actual drainage facilities are transformed into change inputs for the facility objects; professional surveying confirmation is not required at this step.
[0049] S103, Update the operating space data according to the on-site update information and record the modification traces. The system locates the target record in the operating space dataset based on the facility object identifier and modifies its spatial location and / or attribute fields according to the on-site update information. For modifications involving geometric location, the corresponding associated data can also be adjusted synchronously according to the point-line spatial relationship. After completing this operating space data update, the system saves the modification traces corresponding to this update and associates the modification traces with the facility object identifier corresponding to the target record.
[0050] When modifying a point, the change in spatial location can be represented by a change in point coordinates; when modifying a pipeline, the change can be represented by a change in line geometry or the location of its start and end points. When saving the modified object data, the system can simultaneously maintain point-line relationship fields such as start-point association markers and end-point association markers formed based on spatial relationships. Therefore, updating the spatial data not only changes the position of individual graphics on the map but also updates the spatial connections directly related to that position.
[0051] The modification history is linked to the target drainage facility object, and backups of point and line data before the modification and the data status after the modification can be saved. For scenarios that require tracing the changes, log information such as modification time, operator, operation type, layer name, spatial coordinates, and drainage category can also be saved. Since the modification history directly corresponds to a specific spatial data change, subsequent repair and measurement processes can continue to use this association to confirm the facility objects that require professional measurement, without having to relocate the objects based solely on manual descriptions.
[0052] When multiple users maintain the same runtime space data via cloud editing, each editing operation can be based on the data obtained at the corresponding editing moment. In one implementation, the data from the last valid submission is used as the current runtime space data, and each edit is submitted as a complete object change; other terminals obtain the latest modifications when querying again, entering editing, or dragging and zooming the map to trigger data loading. For consecutive valid data writes to the same facility object, the later valid write forms the current runtime space data state for that object; in another implementation, when confirmed repair test results are written to the runtime space data, a new current runtime space data state is also formed according to their actual writing order. This implementation is used to illustrate the data maintenance method in scenarios involving multiple users editing and subsequent result writing, and does not require setting version locks, subsequent modification protection, timestamp arbitration, or additional complex version conflict merging algorithms.
[0053] For example, even after a brief network interruption, the terminal can still submit existing edits within the validity period of the access password; however, if the network interruption exceeds the validity period of the access password and the verification fails, direct submission is not allowed, and a new valid access permission must be obtained. This terminal access control is a peripheral implementation of cloud editing and does not change the two-layer update relationship between runtime space data and standard space data in this invention.
[0054] S104, before the repair survey results are obtained, the updated operating space data is used as the current operating space data. This step is the connecting point between the aforementioned rapid on-site update and subsequent professional surveying. For facilities that have been confirmed by on-site verification to require correction, if it is still necessary to wait for the repair survey results to be formed before updating the current GIS data, the on-site changes cannot be reflected by the current system in a timely manner during the waiting period; therefore, this embodiment allows the updated operating space data to enter the current callable state of the GIS first.
[0055] Specifically, when the repair survey results for the target drainage facility are not yet available, the GIS map query, display, and other processing modules that rely on the current spatial data of the drainage facility can read the updated operational spatial data. At this time, the corresponding objects in the standard spatial dataset still maintain the data state based on the existing professional surveying results, and are not automatically synchronized with the modified results of the operational spatial data due to real-time modifications on site.
[0056] For processing modules that access operational space data, the data read may include updated spatial coordinates, geometry, attribute fields, and point-line association information adjusted according to spatial changes. If the actual platform uses a message mechanism to notify relevant modules, a corresponding data change message can be published after coordinates or attributes change, allowing subscribing modules to retrieve the latest operational space data of the target drainage facility object during the next processing iteration. Message notifications are used to propagate data changes and do not alter the update conditions of standard spatial data.
[0057] It should be noted that the fact that the operational space data has been updated while the standard spatial data has not yet been updated does not constitute an abnormal state requiring the system to generate a conflict alarm. Rather, it is a normal stage state formed by the two data sets undertaking different update roles. Operational space data emphasizes the timely reflection of on-site changes, while standard spatial data emphasizes the source of maintenance for professional surveying and mapping results. A data review process may exist in the actual platform; for dynamic on-site updates, review is used for data management and auxiliary confirmation, without changing the aforementioned technical relationship between the real-time updating of operational space data and the phased maintenance of standard spatial data. In one practical implementation, professional repair surveying results enter the corresponding spatial data update process after manual approval and confirmation. The specific approval body, approval rules, and approval methods are not necessary limitations on the matching of facilities and the technical relationship of spatial data updates in this application.
[0058] S105, acquire the repair survey task data and repair survey results associated with the modification traces. Real-time on-site modifications to the spatial data enable the current GIS to reflect on-site changes, simultaneously creating modification traces corresponding to each modification. To ensure that the recorded changes continue into subsequent professional surveying processes, acquire the repair survey task data associated with the modification traces, and associate the repair survey task data with the facility object identifier of the target drainage facility. After performing professional surveys on the target drainage facility based on the repair survey task, obtain the repair survey results corresponding to the repair survey task data and carrying or associating the facility object identifier. Thus, the specific modification traces, repair survey task data, and repair survey results formed during the on-site update phase establish a continuous data processing relationship.
[0059] Repair and measurement task data can be generated from existing task processing procedures and provided to the field measurement process. In one practical implementation, office personnel can generate or obtain repair and measurement tasks for the target drainage facility based on the aforementioned on-site updates and modification traces, and provide the corresponding task data to the field measurement unit. The task data can at least include a facility object identifier for identifying the target drainage facility, and may also include location, layer, or other information related to the current change, enabling the field measurement process to continue conducting professional measurements on the actual drainage facilities involved in the aforementioned recorded changes. When the target drainage facility has undergone multiple on-site modifications and generated multiple modification traces, the correlation between the repair and measurement task data and the corresponding modification traces can be distinguished or verified by combining the facility object identifier and the modification time recorded in each modification trace. The formation method of repair and measurement task data is not limited to automatic system generation; personnel dispatching, approval, or the organizational division of labor within the surveying unit does not change the aforementioned spatial data processing relationship.
[0060] After conducting professional measurements on the actual drainage facilities corresponding to the target drainage facility object according to the repair measurement task, repair measurement results corresponding to the repair measurement task data are obtained. In one embodiment, field surveyors can use professional surveying equipment to conduct on-site measurements on the actual drainage facilities corresponding to the repair measurement task, obtain measurement results such as coordinates and elevations, and form repair measurement results accordingly. For pipe point objects, the repair measurement results can be used to correct point coordinates and elevations; for pipeline objects, corresponding line space data can be formed by combining the corresponding pipe points or the geometric results obtained from the measurements.
[0061] The association between repair survey data and modification traces does not require converting all log fields into measurement instructions. This association allows subsequent professional surveys to continue targeting the facilities affected by the recorded site changes, and ensures that when the repair survey results are returned, they can be linked to the corresponding specific modification traces through the relevant repair survey data. The specific items to be measured can be determined according to the corresponding surveying requirements.
[0062] S106, Match the corresponding drainage facility object based on the facility object identifier. After the repair survey results enter the system, determine the corresponding target drainage facility object based on the facility object identifier it carries or is associated with, and locate the spatial data record of that object in the standard spatial dataset. The aforementioned association between modification traces and repair survey task data, as well as the correspondence between repair survey results and repair survey task data, is used to maintain the connection between the recorded on-site changes and subsequent repair survey results; the facility object identifier is used to determine the drainage facility object corresponding to the above data and its standard spatial data record.
[0063] The above matching uses the newly established unique facility object identifier within the system as the basis for object confirmation. For data from external sources, the original file identifier can be retained as source traceability information; internally, when updating operational space data, establishing the association between repair and testing task data and target drainage facility objects, and determining the target drainage facility object corresponding to the repair and testing results, the unique facility object identifier is used as the basis for object confirmation. The start and end point associations between point and line objects can be generated based on spatial relationships and updated accordingly when spatial positions change.
[0064] Using facility object identifiers for object-level matching avoids relying solely on identical coordinates for identification. This is because operational space data has been adjusted to reflect changes in the field, while standard spatial data may still retain old coordinates before the remedial survey is completed; their spatial positions may inherently differ temporarily. Furthermore, the coordinates, elevations, and other measurement data in the remedial survey results are obtained by re-measuring the corresponding facility, and may differ from the original corresponding data in the standard spatial data. If only coordinate consistency is used as the condition for object correspondence at this stage, it might fail to identify that the corresponding data represents the same facility object. Therefore, at this stage, the corresponding object is determined based on the facility object identifier, without requiring complete coordinate consistency between the operational space data, standard spatial data, and remedial survey results.
[0065] S107, Update the standard spatial data based on the repair survey results. After determining the target drainage facility object and its standard spatial data record corresponding to the repair survey results in S106, update the corresponding fields using the coordinates, elevation, or other measurement data in the repair survey results, so that the record enters the state updated by this professional surveying results. When the repair survey results change the position of the target pipe point in the standard spatial data, the starting or ending position of the pipeline associated with the pipe point in the standard spatial data can be adjusted synchronously according to the aforementioned point-line spatial relationship, based on the updated target pipe point position, and the coordinates, length, and / or point-line relationship are updated accordingly. This update does not require the entire operating spatial data to be copied to the standard spatial data; instead, the repair survey results are used as the data source for this update of the standard spatial data.
[0066] For situations where a single repair survey returns results for multiple facility objects, these results can be imported into a temporary dataset. In one practical implementation, the repair survey results in the temporary dataset can be spatially overlaid with existing pipeline network data within the system for approval and verification of the results to be updated. Each repair survey result is matched against its corresponding spatial data record in the standard spatial dataset using facility object identifiers. Based on the matching results, coordinates, elevation, or related spatial fields are replaced or updated accordingly, without requiring identical coordinates as the condition for object correspondence. In this process, the temporary dataset serves to carry the results to be processed and does not alter the technical roles of the operational spatial data and the standard spatial data.
[0067] After the completion of this repair measurement result processing, the operational space data and standard space data continue to be maintained according to their respective technical roles. In one practical implementation, the confirmed repair measurement results locate the same drainage facility object based on the facility object identifier, and use the coordinates, elevation, and other measurement data to first correct the corresponding fields in the current operational space data of the object, and then further update the corresponding standard space data record. If the operational space data of the same facility object is modified on-site during the repair measurement, and the effective writing of the repair measurement results occurs after the on-site modification, then the new current operational space data state is formed by the subsequent repair measurement result writing; in this practical implementation, no separate version isolation or overwrite protection mechanism is set for the new on-site modifications during this period. The above processing means that the repair measurement results act on the operational space data record and standard space data record of the same facility object respectively, and does not mean that the standard space data is automatically copied back to the operational space data, nor does it mean that the operational space data is automatically synchronized to the standard space data or that the two types of data establish an automatic bidirectional synchronization relationship. If new changes are found on-site again later, new on-site updates and repair measurement processing can continue to be formed according to S102 to S107.
[0068] After completion Figure 1 After explaining the overall process shown, the following will be combined with... Figure 2 Further explanation of the relationship between operational space data and standard space data. See [link / reference]. Figure 2 The same drainage facility object has corresponding records in both the operational space data and the standard space data, and the two types of records are associated through the facility object identifier. Figure 2 The horizontal connecting lines in the diagram are used to indicate the relationship between objects, but do not indicate that there is automatic bidirectional synchronization between the two types of data.
[0069] On-site updates primarily affect the operational space data, enabling it to adapt to real-time changes based on actual site conditions. During the professional remedial survey phase, confirmed remedial survey results are used in a practical implementation to correct the current operational space data of the same facility and serve as a professional update source for standard spatial data. The key to this design is not simply storing two identical sets of data, but rather ensuring that the same facility has different data states for different purposes and update sources at different stages: operational space data reflects current on-site changes in a timely manner, while standard spatial data maintains the standard data state formed by professional surveying results; confirmed remedial survey results can be used to correct current operational data without altering the respective technical roles of the two types of data.
[0070] The two types of data can be physically stored in different datasets, different tables, or different logical sets within the same database. This invention does not limit the specific physical storage location. As long as the system can identify the technical roles of the operational space data and the standard space data, and determine the corresponding record of the same object in the two data sets through the facility object identifier, the aforementioned two-level update relationship can be implemented.
[0071] Figure 2 It also explains that the two types of spatial data have update relationships at different stages and from different sources. On-site updates first trigger immediate modifications on the operational spatial data side; after confirmation, the repair measurement results, in one practical implementation, can be used to correct the operational spatial data of the same facility object and to update the corresponding standard spatial data. The correlation line between the two represents the object correspondence of the same facility object, not that data changes on one side must be unconditionally copied to the other; the repair measurement results acting on both types of records do not constitute automatic bidirectional synchronization between operational spatial data and standard spatial data. This avoids the misunderstanding of "two-layer data" as ordinary database master-slave synchronization.
[0072] In a data storage example, PostgreSQL, which supports geospatial data types, can be used to store pipe points, pipelines, and related spatial attributes. For applications with high query volumes, the corresponding data can be synchronously written to Elasticsearch to form query replicas, allowing functions with high query response requirements to read data from these replicas. The combination of PostgreSQL and Elasticsearch addresses spatial data storage and query efficiency issues without altering the update sources and object association methods of the running spatial data and standard spatial data.
[0073] The following is combined with Figure 3 The following example illustrates a complete two-layer data update process using a single drainage facility object A as an example. Figure 3 In this embodiment, runtime space data A-R0, runtime space data A-R1, runtime space data A-R2, and runtime space data A-R3 represent the runtime space data status of object A at different processing times. Standard space data A-S0 and standard space data A-S1 represent the standard space data status of object A before and after this patch update. R and S are used to distinguish between runtime space data and standard space data, respectively. 0, 1, 2, and 3 are only used to distinguish the status of the corresponding data at different processing times and do not indicate that the system must adopt a formal version number, version release, or version rollback mechanism.
[0074] Before any changes occur on-site, the operational spatial data A-R0 and standard spatial data A-S0 of object A can both originate from previously compiled or surveyed basic data. If on-site verification reveals that the location or attributes of object A need correction, the operational spatial data A-R0 is modified based on the updated on-site information to obtain operational spatial data A-R1. At this point, the GIS query and display can use operational spatial data A-R1, while the standard spatial data remains as standard spatial data A-S0.
[0075] When operational space data A-R0 is updated to operational space data A-R1, the system saves modification trace A. Modification trace A is associated with ID-A and can record data backup before the operation, modified spatial data, modification time, operation type, layer name, coordinates, and drainage category. Based on this association, repair survey task data for object A can be generated or obtained, ensuring that subsequent professional measurements continue to point to the facility object corresponding to ID-A. During the execution of the repair survey task, if the same object undergoes further on-site modifications, operational space data A-R1 can be further updated to operational space data A-R2, and modification trace B corresponding to this on-site update is recorded; modification trace B is associated with ID-A and used to record this further change. The association between repair survey task data A and modification trace A can be distinguished or verified by combining ID-A and the modification time recorded by modification traces A and B respectively, to maintain the association between repair survey task data A and its corresponding on-site modification. In this document, modification traces A and B are only used to distinguish modification traces formed by two consecutive on-site modifications and do not imply that the system must use A and B as official trace numbers.
[0076] After completing the professional repair survey of object A, repair survey result A is obtained. In one practical implementation, after the repair survey result A is manually approved and confirmed, the system uses ID-A to identify the same target drainage facility object. First, based on the coordinates, elevation, and other measurement data in the repair survey result A, the corresponding fields in the current operating space data of the object are corrected to form operating space data A-R3. Then, the standard space data A-S0 is updated using the same repair survey result to obtain standard space data A-S1. If the operating space data has already been updated from A-R1 to A-R2 during the repair survey, and the confirmed repair survey result A is subsequently modified and written in this on-site process, then the current operating space data state represented by A-R2 is used as the state before writing. After correcting the corresponding fields based on the repair survey result A, A-R3 is formed. In this practical implementation, A-R2 is not set with a special protection state that prevents it from being overwritten by this repair survey result because it occurred during the repair survey. The data source for the above-mentioned operating space data correction and standard space data update is the repair survey result A, which does not mean that the standard space data A-S1 automatically overwrites the operating space data.
[0077] Taking a pipe point location change as a further example, object A can correspond to a real-world pipe point. If on-site personnel discover during routine operations or on-site inspections that the actual location of this pipe point differs from the location recorded in the operational space data A-R0, they can select the facility object corresponding to the real-world pipe point in the drainage facility map loaded on the mobile terminal and move the pipe point based on the on-site inspection results. The system locates the corresponding operational space data record based on the facility object's ID-A, forming operational space data A-R1, and simultaneously updates the start and end points, coordinates, and length of the pipelines connected to this pipe point. During the repair and testing task, if the pipe point undergoes another on-site location modification, a new current operational state A-R2 can be formed, and the modification trace B corresponding to this on-site update can be recorded. Subsequently, the field measurement process involves conducting professional measurements on the actual pipe point according to the repair measurement task, obtaining the pipe point coordinates and elevation, and forming repair measurement result A. Repair measurement result A is mapped to the same pipe point through ID-A. In one practical implementation, when the repair measurement result is manually approved and confirmed and then written into the aforementioned on-site modification, the corresponding coordinates, elevation, and other fields in the current operating space data are corrected using the repair measurement result. If the current operating status is A-R2, then A-R2 is corrected to form operating space data A-R3, and the standard space data A-S0 is updated to standard space data A-S1 based on the same repair measurement result. If the pipe point position changes after the repair measurement, the start and end points, coordinates, lengths, and / or point-line relationships of the pipelines connected to the pipe point in the standard space data are updated accordingly, according to the aforementioned point-line spatial relationship. This example illustrates that on-site personnel select facility objects through a map and submit modifications formed during on-site verification. The facility object identifier is used to maintain the object association of the same actual drainage facility among operating space data, modification records, repair measurement tasks, repair measurement results, and standard space data.
[0078] The above example uses the repair test task data A and repair test result A corresponding to modification trace A as the main thread, and also illustrates the operational status handling when the same facility object undergoes another on-site modification during the execution of the repair test task. For modification trace B formed by the second on-site modification, if this change needs to continue to enter professional repair test processing, the corresponding repair test task data associated with modification trace B can be formed or obtained in the aforementioned manner, and subsequent processing can continue. After completing the correction of the current operating space data and the update of the standard space data with the results of this repair test, if new on-site changes are subsequently discovered, steps S102 to S107 can be re-executed for the new on-site update information to form a new current operating space data status and the update process of the modification trace, repair test task data, repair test result, and standard space data corresponding to this on-site change.
[0079] In addition to the main embodiment described above, on-site updates can also include specific GIS editing of pipe points or pipelines. For the relocation of a target pipe point, the pipeline associated with that point is determined based on the spatial relationship between the target pipe point and the pipeline, and the start or end position of the associated pipeline is updated synchronously after the point coordinates change. Based on the new geometric position, the coordinates, length, and point-line association relationship of the associated pipeline can also be refreshed, allowing connected line objects to continue connecting to the moved pipe point.
[0080] For pipe point merging operations, users can select which pipe point records to retain and delete those not to be retained. Then, based on the retained pipe points, the origin or destination relationships of the pipelines previously connected to the merged pipe points are updated, re-associating the relevant pipelines with the retained pipe points. After merging, the retained pipe points and related pipelines that continue into the repair and testing process use their facility object identifiers in the updated operational space dataset as the basis for maintaining object association with the corresponding repair and testing task data and results. This process focuses on the continuous maintenance of spatial connectivity relationships and does not require the system to automatically determine which pipe point to retain according to complex conflict algorithms.
[0081] For online breakpoint operations, the existing attributes of the original pipeline can be largely preserved, and users can selectively modify or supplement the corresponding attributes according to the actual situation. The start and end coordinates, pipeline length, and point-line association relationship of the target pipeline are updated according to the breakpoint location. For drainage facility objects that need to continue to enter subsequent repair and testing after the online breakpoint operation, the association relationship between the drainage facility object and the corresponding repair and testing task data and repair and testing results is established based on the facility object identifier in the updated operating space dataset.
[0082] In implementing database construction standards for pipeline data in different regions, local data standards can be obtained first, and corresponding data templates can be created. Based on existing common pipeline point and pipeline fields, the fields required by the local standards can be expanded. Through pre-defined field mapping relationships, when local data is input, local fields are mapped to the system data structure. When outputting or updating local standard data, the corresponding fields are maintained according to the mapping relationships. This field mapping improves the adaptability of data structures for different projects without altering the main update chain of this invention.
[0083] The point-to-line association between pipe points and pipelines is primarily based on spatial relationships. The system can generate start-point and end-point association identifiers for pipelines based on their spatial locations. When a pipe point or pipeline undergoes a modification involving its spatial location, the corresponding start-point and end-point associations are updated accordingly. When coordinates or attributes change, data change messages can also be generated and pushed to functional modules that have subscribed to the corresponding changes, enabling these modules to obtain the modified pipeline or pipe point data.
[0084] In one specific deployment approach, Spring Cloud can be used to break down spatial data querying, spatial data updating, and other functions into different microservices, and send data change messages corresponding to coordinate or attribute changes via message queues such as RabbitMQ. The message subscription module can retrieve the latest data for the corresponding facility object upon receiving the change message. Microservices and message queues are feasible software deployment and notification methods, but not necessary conditions for establishing a relationship between runtime spatial data and standard spatial data.
[0085] For repair measurement results corresponding to multiple drainage facility objects, a batch update method can be adopted. Specifically, a batch of repair measurement results are first imported into a temporary dataset. Based on the facility object identifier, the repair measurement results in the temporary dataset are matched with the corresponding spatial data records in the standard spatial dataset. Based on the matching results, the corresponding repair measurement results are used to perform batch replacement or update of the corresponding spatial data records in the standard spatial dataset. In one practical implementation, the repair measurement results in the temporary dataset can be spatially overlaid with the existing pipe network data in the aforementioned manner for approval and verification.
[0086] In one auxiliary data quality processing method, pipeline network data can be analyzed from different dimensions based on pre-set fixed rules to generate problem reports. For results confirmed to be data problems, the corresponding pipeline network information can be modified through the spatial data dynamic update function; for results requiring on-site facility handling, the pipeline network information can be updated after the facilities are repaired. This fixed rule problem analysis is only one source for discovering data update needs, and is not a necessary step in the two-layer spatial data update mechanism of this invention, nor is it equivalent to artificial intelligence agent processing.
[0087] Corresponding to the aforementioned method, this embodiment also provides a dynamic update system for spatial data of drainage facilities. The system includes a spatial data maintenance module, an operational data update module, an operational data retrieval module, a repair measurement data processing module, an object matching module, and a standard data update module. The system can be deployed in a server environment, or each module can be deployed as multiple services according to an existing platform architecture. In one practical deployment, field personnel can use mobile terminals or computer terminals to communicate with the server and submit updated information generated from on-site verification of actual drainage facilities to the system; the server accesses the spatial database used to store operational spatial data and standard spatial data and performs the aforementioned processing. After the field professional measurement process generates repair measurement results, the corresponding result data can be provided to the server, where the repair measurement data processing module, object matching module, and standard data update module continue to complete object association, matching, and spatial data updates.
[0088] The spatial data maintenance module maintains the operational spatial dataset and the standard spatial dataset, ensuring that the same drainage facility object in both types of data corresponds through a facility object identifier. For externally imported objects, the original file identifier can be saved as source traceability information, and a unique facility object identifier is established within the system as the basis for object confirmation. The operational data update module receives on-site update information submitted by mobile terminals or computer terminals, locates operational spatial data records based on facility object identifiers, completes location or attribute updates, and saves modification traces, which are associated with the facility object identifier of the corresponding target drainage facility object. In one practical implementation, the operational data update module can also correct the current operational spatial data record corresponding to the same facility object based on confirmed repair measurement results.
[0089] The operational data retrieval module is used to provide the operational space data that has been updated on-site as the current operational space data for GIS queries, map displays, or other processing that relies on the current drainage facility spatial data. Before the professional remediation survey results are obtained, the standard spatial data retains the data state formed by the existing professional survey results. In one practical implementation, after the operational space data is corrected by the confirmed remediation survey results, the GIS subsequently reads the corresponding corrected current operational space data. This correction is directly applied to the corresponding operational space data record by the remediation survey results and does not mean that the updated standard spatial data automatically overwrites the entire operational space data.
[0090] The repair measurement data processing module is used to obtain repair measurement task data associated with specific modification traces and to obtain repair measurement results corresponding to the repair measurement task data. The repair measurement task data is associated with the facility object identifier of the target drainage facility object, and the repair measurement results carry or are associated with the facility object identifier. The repair measurement results can be generated by an external professional measurement process and transmitted back to the system. The object matching module determines the target drainage facility object and its corresponding record corresponding to the repair measurement results based on the facility object identifier. In one practical implementation, after manual approval and confirmation, the repair measurement results can be provided to the operation data update module to correct the current operation space data record of the same facility object, and the standard data update module updates the corresponding standard space data record based on the coordinates, elevations, and other data in the same repair measurement results. When the standard space data update involves the location of the target pipe point, the associated pipeline space field in the standard space data can be updated according to the aforementioned point-line spatial relationship.
[0091] During system operation, the operation data update module outputs corresponding modification traces for each modification of the operation space data based on on-site update information; the repair measurement data processing module obtains the repair measurement task data associated with the modification traces and obtains the repair measurement results corresponding to the repair measurement task data; the object matching module determines the target drainage facility object and its corresponding record based on the facility object identifier. In one practical implementation, the repair measurement results confirmed by manual approval can be provided to the operation data update module based on the object positioning results to correct the current operation space data, and the corresponding standard space data is further updated by the standard data update module. The data transfer between the above modules causes a specific on-site space data change to sequentially pass through the modification traces, repair measurement task data, and repair measurement results, entering the object matching and standard space data update process; in one practical implementation, the repair measurement results are also used to correct the current operation space data of the corresponding target drainage facility object. At this time, the repair measurement results are applied to both the operation space data record and the standard space data record, but this does not indicate the establishment of an automatic bidirectional synchronization relationship between the two types of data. For object identifiers, data fields, and space editing rules that are the same as those in the aforementioned method steps, the corresponding processing in the aforementioned method implementation can be directly adopted.
[0092] In a complete system call process, the spatial data maintenance module first provides the operational spatial data record and standard spatial data record of the target drainage facility object; the operational data update module receives the on-site update information and forms a new operational spatial data status and modification traces; the operational data call module enables the new operational spatial data status to be read by the current GIS; subsequently, the repair measurement data processing module obtains the repair measurement task data associated with the modification traces and the repair measurement results corresponding to the task data; the object matching module finds the target drainage facility object and its corresponding record based on the facility object identifier. In one practical implementation, the repair measurement results, after manual approval and confirmation, are first used to correct the current operational spatial data of the same facility object after object matching is completed, and then the standard data update module updates the standard spatial data based on the same repair measurement results. The common data source for the two update actions is the repair measurement results, rather than the standard spatial data being updated and then automatically copied back to the operational spatial data; the two types of data are not required to establish an automatic overall synchronization relationship. The input and output between the modules remain the same. Figure 1 The master data processing order of S101 to S107 is shown to correspond.
[0093] It should be noted that while actual drainage management platforms may include organizational or management functions such as data review, task assignment, and personnel permissions, these functions are not considered necessary limitations on the technical relationship of facility object matching and spatial data updating in this application, according to the technical boundaries of this embodiment. For on-site dynamic updates, review can be used for data management and auxiliary confirmation; in one practical implementation, professional repair measurement results, after being manually approved and confirmed, enter the process of operational spatial data correction and standard spatial data updating. The specific approval body, approval rules, and approval methods can be determined according to the actual management process, without changing the aforementioned technical relationship of object positioning based on facility object identification and updating the corresponding spatial data records using repair measurement results.
[0094] Through the above implementation methods, after changes occur in on-site drainage facilities, the operational space data can quickly generate current data reflecting the on-site status. After professional repair surveys are completed, the repair survey results can be updated to the standard spatial data based on the same facility object identifier. The operational space data and standard spatial data respectively receive updates from different sources. When the pipe point locations in the standard spatial data are updated by the repair survey results, the associated pipeline fields can also be maintained according to the spatial relationship between points and lines. Thus, without directly equating rapid on-site modifications with repair survey results, the timeliness of the current GIS data, the professional surveying foundation of the standard data, and the corresponding spatial relationships between points and lines are all taken into account.
[0095] This paper describes the invention in conjunction with specific drainage facility objects, spatial data status, and GIS editing methods. For those skilled in the art, without changing the core technical relationship defined in the claims—real-time updating of operational spatial data, correlation of modification traces with repair measurements, and updating of standard spatial data with repair measurement results—corresponding equivalent implementations can be adopted based on specific drainage facility types, local data standards, database products, terminal forms, and system deployment environments.
Claims
1. A method for dynamically updating spatial data of drainage facilities, characterized in that, include: The system maintains an operational space dataset and a standard space dataset for drainage facilities. The operational space dataset and the standard space dataset each include spatial data records corresponding to the same drainage facility object. An object correspondence relationship is established between the operational space dataset and the spatial data records corresponding to the same drainage facility object in the standard space dataset based on the facility object identifier. Obtain on-site updated information for the target drainage facility; Update the spatial data record in the operating space dataset corresponding to the target drainage facility object according to the on-site update information, and record the modification traces corresponding to this update. The modification traces are associated with the facility object identifier of the target drainage facility object. Before the repair survey results for the target drainage facility are obtained, the updated spatial data of the target drainage facility is used as the current operating spatial data for the geographic information system to call, and the spatial data records corresponding to the target drainage facility in the standard spatial dataset are kept as data formed based on existing survey results; Obtain repair test task data associated with the modification traces, wherein the repair test task data is associated with the facility object identifier of the target drainage facility object; obtain repair test results obtained based on the repair test task data, wherein the repair test results correspond to the repair test task data and carry or are associated with the facility object identifier; The target drainage facility object corresponding to the repair measurement results is determined based on the facility object identifier; Update the spatial data records in the standard spatial dataset corresponding to the target drainage facility object based on the repair measurement results.
2. The method according to claim 1, characterized in that, The facility object identifier is a unique identifier established for drainage facility objects within the system. For drainage facility objects imported from external files, the original file identifier in the external file is retained as source traceability information. When updating the runtime dataset, establishing the association between the repair test data and the target drainage facility object, and determining the target drainage facility object corresponding to the repair test results, the facility object identifier is used as the basis for object confirmation.
3. The method according to claim 1, characterized in that, The modification traces include at least one of the following: drainage facility object data before modification, drainage facility object data after modification, modification time, operation type, layer to which the object belongs, spatial coordinates, and drainage category.
4. The method according to claim 1, characterized in that, The repair survey results include the coordinates and / or elevation of the target drainage facility object obtained through professional repair survey; the modification traces include the modification time; when the target drainage facility object corresponds to multiple modification traces, the correlation between the repair survey task data and the corresponding modification traces is distinguished or verified by combining the facility object identifier and the modification time recorded in each modification trace.
5. The method according to claim 1, characterized in that, The on-site update information is submitted by mobile terminals and / or computer terminals via cloud editing, and the location data and / or attribute data of the corresponding drainage facility objects in the operating space dataset are updated based on the on-site update information.
6. The method according to claim 1, characterized in that, When the on-site update information includes moving the target pipe point, the associated pipeline of the target pipe point is determined according to the spatial relationship between the target pipe point and the pipeline; the start position or end position of the associated pipeline is updated according to the moved target pipe point position, and the coordinates, length and / or point-line relationship of the associated pipeline are updated accordingly; when the repair measurement results are used to update the position data of the target pipe point in the standard spatial dataset, the start position or end position of the associated pipeline in the standard spatial dataset is updated according to the updated target pipe point position and its spatial relationship with the pipeline, and the coordinates, length and / or point-line relationship of the associated pipeline are updated accordingly.
7. The method according to claim 1, characterized in that, When the field update information includes pipe point merging, the start or end point association of the pipeline associated with the merged pipe point is updated according to the retained pipe point; and / or, when the field update information includes online breakpoint operation for the target pipeline, the start and end point coordinates, pipeline length, and point-line association of the target pipeline are updated according to the breakpoint location; for drainage facility objects that need to enter subsequent repair and testing after the pipe point merging or online breakpoint operation, the association between the drainage facility object and the corresponding repair and testing task data and repair and testing results is established based on the facility object identifier in the updated operating space dataset.
8. The method according to claim 1, characterized in that, The repair measurement results corresponding to multiple drainage facility objects are imported into a temporary dataset. Based on the facility object identifier, the repair measurement results in the temporary dataset are matched with the corresponding spatial data records in the standard spatial dataset to obtain the matching results. According to the matching results, the corresponding spatial data records in the standard spatial dataset are updated in batches using the corresponding repair measurement results.
9. The method according to claim 1, characterized in that, After determining the target drainage facility object corresponding to the repair measurement result based on the facility object identifier, the repair measurement result is also used to correct the corresponding fields in the spatial data record corresponding to the target drainage facility object in the operational space dataset, and the corrected spatial data is used as the current operational space data for the geographic information system to call. The correction of spatial data records in the operational spatial dataset and the update of spatial data records in the standard spatial dataset both use the same repair measurement results as the data source.
10. A dynamic update system for spatial data of drainage facilities, characterized in that, It includes a spatial data maintenance module, an operational data update module, an operational data retrieval module, a repair measurement data processing module, an object matching module, and a standard data update module; The spatial data maintenance module is used to maintain the operational spatial dataset and the standard spatial dataset of the drainage facility. The operational spatial dataset and the standard spatial dataset each include spatial data records corresponding to the same drainage facility object, and establish an object correspondence between the operational spatial dataset and the spatial data records corresponding to the same drainage facility object in the standard spatial dataset based on the facility object identifier. The operation data update module is used to obtain on-site update information for the target drainage facility object, update the spatial data record in the operation space dataset corresponding to the target drainage facility object according to the on-site update information, and record the modification traces corresponding to this update. The modification traces are associated with the facility object identifier of the target drainage facility object. The operational data retrieval module is used to provide the updated spatial data of the target drainage facility object as the current operational spatial data for the geographic information system to retrieve before the repair survey results for the target drainage facility object are obtained, and to keep the spatial data records in the standard spatial dataset corresponding to the target drainage facility object as data formed based on existing survey results; The repair test data processing module is used to obtain repair test task data associated with the modification traces. The repair test task data is associated with the facility object identifier of the target drainage facility object. The module also obtains repair test results based on the repair test task data. The repair test results correspond to the repair test task data and carry or are associated with the facility object identifier. The object matching module is used to determine the target drainage facility object corresponding to the repair measurement results based on the facility object identifier; The standard data update module is used to update the spatial data records in the standard spatial dataset corresponding to the target drainage facility object based on the repair measurement results.
