A local update method of vector slices based on feature labeling and its application
By marking and slicing elements of large-capacity geospatial vector data, and using unique identifiers and status flags to perform local updates, the problem of low local update efficiency and resource waste in the existing technology is solved, and efficient vector slice updates are achieved.
Patent Information
- Application Number
- CN202410813348.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The existing technology results in a waste of computing resources and storage space when locally updating large-capacity geospatial vector data, and the update efficiency is low, and cannot effectively ensure the consistency between vector slices and original data.
The vector tile local update method based on element tags is adopted to achieve local update at the element level by slicing the changing elements in the geospatial vector data and using unique identifiers and status flags to update the vector tile content of the local slices.
It significantly improves the update efficiency of vector slices, reduces the waste of computing resources and storage space, ensures the consistency of vector slices and original data, and achieves efficient local updates.
Smart Images

Figure CN118377840B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of local update of vector slices, and in particular to a local update method and application of vector slices of geographic space vector data based on element marking. Background Art
[0002] Large-capacity geospatial vector data usually contains many layers. For example, the national 1:250,000 basic geographic data includes 9 layers: water system (point layer, line layer, surface layer), highway (line layer), railway (line layer), settlement (point layer, surface layer), settlement place name (annotation point) and natural place name (annotation point). Each layer includes many elements. Elements refer to entities in geospatial vector data, including point entities, line entities and surface entities. Online services for large-capacity geospatial vector data need to solve the problem of user access efficiency. Slicing geospatial vector data and publishing the obtained vector slices (also called tiles) is one of the effective solutions to solve the problem of user access efficiency. However, after the vector slices are put online (i.e. published), when the original geospatial vector data is updated, the corresponding vector slices that have been published need to be updated. How to quickly update the published vector slices and ensure the consistency between the vector slices and the original data (i.e. the updated geospatial vector data) is a core problem faced by online services for large-capacity geospatial vector data.
[0003] Currently, the update of the released vector slices usually includes the following two solutions: the first solution is to re-slice the entire updated geospatial vector data to replace the already released vector slices, so as to update the already released vector slices; the second solution is to calculate the spatial range containing all updated vector data according to the specific updated vector data in the updated geospatial vector data, and re-slice all vector data in the spatial range to replace the already released vector slices, so as to update the already released vector slices. However, in the first solution, although the geospatial vector data has been partially updated, the already released vector slices are fully updated, which is a great waste of computing resources and storage space. In the second solution, after the geospatial vector data has been partially updated, all vector data in the spatial range containing all updated vector data still need to be re-sliced. Although the overall time and computing resources spent are less than the first solution, there is still a lot of room for optimization.
[0004] Based on this, an efficient local update method for vector tiles is urgently needed. Summary of the invention
[0005] The purpose of the present invention is to provide a vector slice local update method and application based on element marking, which performs element-level local update on the already released vector slices, and significantly improves the update efficiency of the already released vector slices.
[0006] To achieve the above object, the present invention provides the following solution.
[0007] A vector slice local update method based on feature marking includes the following steps.
[0008] The changed elements in the geospatial vector data are determined according to the release flag of each element in the geospatial vector data; the release flag is used to mark whether the element has been released. If the release flag is not released, the element is edited and is a changed element.
[0009] Data slicing is performed on all the variation elements to obtain a variation element slice set; the variation element slice set includes a plurality of local slices, and each of the local slices only includes a plurality of the variation elements.
[0010] For each of the local slices, a vector slice corresponding to the local slice is determined in the set of all element slices; the content of the vector slice is updated using the local slice according to the unique identifier and status flag of the changed element included in the local slice; the set of all element slices includes a number of vector slices obtained by slicing all elements in the geographic spatial vector data before editing the elements; the local slice and the vector slice corresponding to the local slice have the same geographic spatial range; the unique identifier corresponds to the element one-to-one; the status flag is used to mark the editing type of the element, and the status flag includes adding a new element, deleting a element, and modifying a element.
[0011] In some embodiments, before determining the changed elements in the geospatial vector data according to the release mark of each element in the geospatial vector data, the following steps are also included.
[0012] Each element in the original geographic space vector data is marked to determine the unique identifier, status flag and release flag of each element; the status flags of all the elements are initial elements, and the release flags of all the elements are unreleased.
[0013] All the marked elements are written into the database.
[0014] All the elements are extracted from the database to slice the original geographic spatial vector data to obtain a plurality of vector slices, and all the vector slices constitute a complete element slice set.
[0015] All the element slice sets are published, and the publishing flags of all the elements are updated to be published.
[0016] In some embodiments, after publishing all the element slice sets and updating the publishing flags of all the elements to be published, and before determining the changed elements in the geospatial vector data based on the publishing flag of each element in the geospatial vector data, the following steps are also included.
[0017] If the user adds a new feature in the geospatial vector data, the unique identifier of the new feature is determined, the status flag of the new feature is set to a new feature, and the release flag of the new feature is set to not released.
[0018] If the user deletes a feature in the geospatial vector data, the status flag of the deleted feature is updated to deleted feature, and the publishing flag of the deleted feature is updated to not published.
[0019] If the user modifies a feature in the geospatial vector data, the status flag of the modified feature is updated to modified feature, and the publishing flag of the modified feature is updated to unpublished.
[0020] In some embodiments, determining the vector slice corresponding to the local slice in the set of all element slices specifically includes: selecting a vector slice having the same row and column numbers as the local slice in the set of all element slices as the vector slice corresponding to the local slice; the row and column numbers are used to mark the slice position.
[0021] In some embodiments, based on the unique identifier and status flag of the changed element included in the local slice, the content of the vector slice is updated using the local slice, which specifically includes the following steps.
[0022] For each variation element included in the local slice, the following operations are performed.
[0023] If the status flag of the changed element is a newly added element, the changed element is added to the vector slice to update the content of the vector slice.
[0024] If the status flag of the changing element is a deletion element, the to-be-processed element corresponding to the changing element in the vector slice is determined according to the unique identifier of the changing element, and the to-be-processed element in the vector slice is deleted to update the content of the vector slice; the unique identifier of the to-be-processed element is the same as the unique identifier of the changing element.
[0025] If the status flag of the change element is a modification element, the to-be-processed element corresponding to the change element in the vector slice is determined according to the unique identifier of the change element, the to-be-processed element in the vector slice is deleted, and the change element is added to the vector slice to update the content of the vector slice.
[0026] A computer device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-mentioned method for local updating of vector slices based on feature marking.
[0027] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for local updating of vector slices based on feature marking.
[0028] A computer program product includes a computer program, which, when executed by a processor, implements the steps of the above-mentioned vector slice local update method based on feature marking.
[0029] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects.
[0030] The present invention provides a method and application for local updating of vector slices based on element marking, which determines the changed elements in the geospatial vector data according to the release mark of each element in the geospatial vector data, slices all the changed elements, and obtains a changed element slice set, which includes a plurality of local slices, each of which includes only a plurality of changed elements. For each local slice, a vector slice corresponding to the local slice is determined in the set of all element slices, and the content of the vector slice is updated using the local slice according to the unique identifier and status mark of the changed element included in the local slice. The present invention can perform element-level local updates on the already released vector slices by setting the unique identifier, status mark and release mark of the element, and significantly improve the update efficiency of the already released vector slices. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A method flow chart of a method for local updating of vector slices based on feature marking provided in Example 1 of the present invention.
[0033] Figure 2 A schematic diagram of the principle of a vector slice local update method based on feature marking provided in Example 1 of the present invention.
[0034] Figure 3 A schematic diagram of the principles of a specific update process provided in Example 1 of the present invention.
[0035] Figure 4 This is a diagram of the internal structure of a computer device. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] The purpose of the present invention is to provide a vector slice local update method and application based on element marking, which performs element-level local update on the already released vector slices, and significantly improves the update efficiency of the already released vector slices.
[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0039] Example 1: Figure 1 As shown, a vector slice local update method based on feature marking in this embodiment includes the following steps.
[0040] S1: Determine the changed element in the geospatial vector data according to the release flag of each element in the geospatial vector data; the release flag is used to mark whether the element has been released. If the release flag is not released, the element is edited and is a changed element.
[0041] S2: Slice all the variation elements to obtain a variation element slice set; the variation element slice set includes a plurality of local slices, and each local slice includes only a plurality of the variation elements.
[0042] S3: For each of the local slices, determine the vector slice corresponding to the local slice in the set of all element slices; based on the unique identifier and status flag of the changed element included in the local slice, use the local slice to update the content of the vector slice; the set of all element slices includes a number of vector slices obtained by slicing all elements in the geographic spatial vector data before editing the elements; the local slice and the vector slice corresponding to the local slice have the same geographic spatial range; the unique identifier corresponds to the element one-to-one; the status flag is used to mark the editing type of the element, and the status flag includes adding a new element, deleting a feature and modifying a feature.
[0043] In order to achieve rapid update of already released vector slices and ensure the consistency of vector slice data with original data in online services and the timeliness of data, this embodiment proposes a new type of local update scheme, namely, a feature-level vector slice local update scheme based on feature tags and vector slice content. This local update scheme can perform feature-level local updates on corresponding vector slices for specific elements in specific layers within the update range of geospatial vector data, which can greatly improve the efficiency of local updates of vector slices and achieve efficient updates of large-capacity geospatial vector data.
[0044] The basic idea of this embodiment is to mark the edit status of each element in the geospatial vector data, and perform local updates of the vector slice content according to the unique identifier, status flag and release flag of the mark, so as to achieve local updates of the vector slice content, thereby greatly improving the update efficiency of the vector slice after the element is updated. The overall technical process is as follows: Figure 2 As shown, Figure 2 The overall technical process shown includes the vector slice initial release process, which includes vector data warehousing, data slicing and service release. The vector slice local update method based on element marking designed in this embodiment is to add adding tags, extracting changed elements, slicing changed elements and updating tile element content in the vector slice initial release process to complete the local update process of vector slice content.
[0045] The following, combined Figure 2 The vector slice local update method of this embodiment is further introduced.
[0046] One: Add a tag.
[0047] Before the original geospatial vector data is stored in the database, the present embodiment first performs data preprocessing. Data preprocessing refers to adding special marks to each element in the original geospatial vector data. The marks include: unique identifier, status flag and release flag. Among them, the unique identifier is UUID. Once it is formed, it is not allowed to be modified. The unique identifier of each element is different. One element corresponds to one unique identifier, that is, the unique identifier corresponds to the element one by one. The status flag is used to mark the editing type of the element. Since the original geospatial vector data does not involve the update of the element due to editing, the status flag of each element is unified to 0 at this time, indicating that the element is the initial element. Of course, other values can also be used to represent that the element is the initial element. Taking 0 is only an example given in this embodiment and should not be understood as a limitation to this embodiment. The release flag is used to mark whether the element has been published (that is, it has been published). Since the original geospatial vector data has not been subsequently sliced and released by the service, the release flag of each element is unified to False at this time, indicating that the element has not been published. Of course, other values can also be used to represent that the element has not been published. Taking False is only an example given in this embodiment and should not be understood as a limitation to this embodiment.
[0048] 2. Data storage.
[0049] All marked elements in the original geospatial vector data are written into a database, which may be a vector database.
[0050] 3. Extract all elements.
[0051] Extracting all features refers to the process of first slicing or full update, extracting all features of the original geospatial vector data from the database, inputting them into the slicing tool for data slicing, and obtaining vector slices. All vector slices constitute the complete feature slice set.
[0052] In the above process of slicing data for all features, the row and column numbers of the vector slices are also determined. The row and column numbers are used to mark the positions of the vector slices in the geospatial vector data.
[0053] 4. Data slicing.
[0054] Data slicing is the process of organizing vector data into vector tiles, ensuring that each vector tile contains at least one layer and each layer contains at least one feature.
[0055] 5. Service release.
[0056] Publish all vector slices in all feature slice sets as vector slice services of XYZ specifications. At this time, users can call and view vector slices.
[0057] The above one, two, three, four, and five constitute the initial release process of vector slices of this embodiment. Specifically, before determining the changed elements in the geospatial vector data according to the release flag of each element in the geospatial vector data, the vector slice local update method of this embodiment also includes: marking each element in the original geospatial vector data, determining the unique identifier, status flag and release flag of each element, the status flags of all elements are initial elements, and the release flags of all elements are unreleased; writing all marked elements into a database; extracting all elements from the database to slice the original geospatial vector data to obtain a number of vector slices, and all vector slices constitute a set of all element slices; publishing the set of all element slices, and updating the release flags of all elements to have been released.
[0058] After the initial release of vector tiles, users can edit the features in the geospatial vector data to update the geospatial vector data. However, since the released vector tiles cannot be automatically updated with the geospatial vector data, it is necessary to update the released vector tiles according to the update of the geospatial vector data. Figure 2 , the vector slice local update method of this embodiment also includes the following steps.
[0059] 6. Data editing (editing mark).
[0060] Data editing refers to editing the elements in the geographic spatial vector data in the vector database based on data editing software, including adding elements, deleting elements and modifying elements. Modifying elements includes modifying the geometric information and attribute information of the elements. At the same time, this embodiment needs to maintain the status flag. If a new element is added, the status flag of the new element is 1, indicating that the element is a new element; if a deleted element is deleted, the status flag of the deleted element is 2, indicating that the element is a deleted element; if a modified element is modified, the status flag of the modified element is 3, indicating that the element is a modified element. Of course, other values can also be used to represent that the element is a new element, a deleted element or a modified element. Taking 1, 2 or 3 is only an example given in this embodiment and should not be understood as a limitation of this embodiment. It is necessary to ensure that each element has a unique identifier, a status flag and a release flag, so for a new element, a unique identifier must be added to the new element. At the same time, the release status of all edited elements is changed to False, indicating that the element is not released.
[0061] Specifically, after all feature slice sets are published and the publishing flags of all features are updated to published, and before the changed features in the geospatial vector data are determined based on the publishing flag of each feature in the geospatial vector data, the vector slice local update method of this embodiment also includes: if the user adds a feature in the geospatial vector data, the unique identifier of the newly added feature is determined, the status flag of the newly added feature is set to a newly added feature, and the publishing flag of the newly added feature is set to not published; if the user deletes an feature in the geospatial vector data, the status flag of the deleted feature is updated to a deleted feature, and the publishing flag of the deleted feature is updated to not published; if the user modifies the feature in the geospatial vector data, the status flag of the modified feature is updated to a modified feature, and the publishing flag of the modified feature is updated to not published.
[0062] 7. Extract changing factors.
[0063] Extracting changed elements means extracting changed elements from the database after the geospatial vector data has been edited, that is, extracting elements that have been updated due to editing. Since if the user edits the element, the release flag of the element is updated to unreleased, all elements with a release flag of False are searched to obtain all changed elements. All changed elements are output to the slicing tool for data slicing to obtain a changed element slice set, which includes several local slices, and each local slice only includes several changed elements.
[0064] In the above process of data slicing of the changing elements, the row and column numbers of the local slices are also determined, and the row and column numbers are used to mark the position of the local slices in the geographic space vector data. Since the rules for data slicing of the changing elements in this embodiment are the same as the rules for data slicing of all elements, the row and column numbers of the vector slices and local slices in the same geographic space range must be the same. Then, the vector slice corresponding to the local slice is determined in the set of all element slices, specifically including: selecting the vector slice with the same row and column number as the local slice in the set of all element slices as the vector slice corresponding to the local slice, and the row and column number is used to mark the slice position.
[0065] 8. Tile content update.
[0066] Tile content update is to update the tile content in all feature slice sets (A) according to the changed feature slice set (B). Figure 3As shown in the figure, the specific process is: traverse all the row and column numbers in the changed feature slice set (B), each local slice corresponds to a row and column number, and query the vector slice with the same row and column number in the entire feature slice set (A) according to the row and column number. This is because the row and column numbers of the local slice and the vector slice are the same, which means that the geographic space range of the local slice and the vector slice is consistent. Data parsing is performed on the obtained local slice and vector slice to update the content of the vector slice in the entire feature slice set (A). The updated vector slice is rewritten into the entire feature slice set (A) to update the tile content.
[0067] Among them, the specific operation of the update is: parse the element content contained in the two slices, determine the corresponding element in the vector slice in A according to the unique identifier of the changed element in the local slice in B, and further determine the update operation according to the status flag of the changed element. If it is a new element, the changed element in the local slice in B is added to the vector slice in A; if it is a modified element, the corresponding element in the vector slice in A is deleted, and then the changed element in the local slice in B is added to the vector slice in A; if it is a deleted element, the corresponding element in the vector slice in A is deleted.
[0068] For each local slice, the vector slice corresponding to the local slice is determined in the set of all element slices according to the row and column numbers of the local slice. According to the unique identifier and status flag of the changed element included in the local slice, the content of the vector slice is updated using the local slice to obtain a new set of all element slices. The new set of all element slices is the set of all element slices corresponding to the next time the changed element is determined.
[0069] Among them, according to the unique identifier and status flag of the changed element included in the local slice, the content of the vector slice is updated using the local slice, specifically including: for each changed element included in the local slice, perform the following operations: if the status flag of the changed element is a new element, the changed element is added to the vector slice to update the content of the vector slice; if the status flag of the changed element is a deleted element, the to-be-processed element corresponding to the changed element in the vector slice is determined according to the unique identifier of the changed element, and the to-be-processed element in the vector slice is deleted to update the content of the vector slice; the unique identifier of the to-be-processed element is the same as the unique identifier of the changed element; if the status flag of the changed element is a modified element, the to-be-processed element corresponding to the changed element in the vector slice is determined according to the unique identifier of the changed element, the to-be-processed element in the vector slice is deleted, and the changed element is added to the vector slice to update the content of the vector slice.
[0070] This embodiment further conducted simulation experiments, as follows: According to the rule of binary slicing in the vertical and horizontal directions, that is, there is 1 slice at level 0 and 2×2=4 slices at level 1, the number of slices of the global geographic spatial vector data at level 18 can reach more than 68 billion. Under the condition of deploying the same machine cluster equipment, for the data update of the Yellow River, according to the first scheme, that is, all the data are sliced, the loss of the slicing time is calculated in months; according to the second scheme, that is, all the layers of the locally updated data are sliced, the loss of the slicing time is calculated in weeks; according to the third scheme of this embodiment, that is, only the elements of the water system layer within the local update range are sliced, the loss of the slicing time can be shortened to hours, minutes, and seconds.
[0071] Embodiment 2: A computer device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a vector slice local update method based on feature labeling described in Embodiment 1.
[0072] Embodiment 3: A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a vector slice local update method based on feature labeling described in Embodiment 1.
[0073] Embodiment 4: A computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the steps of a vector slice local update method based on feature marking described in Embodiment 1 are implemented.
[0074] Embodiment 5: A computer device, which may be a database, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a local update method of a vector slice based on feature labeling in Example 1 is implemented.
[0075] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0077] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0078] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for local updating of vector slices based on feature labeling, characterized in that: include: Determining a changed element in the geospatial vector data according to a release flag of each element in the geospatial vector data; The release flag is used to mark whether the element has been released. If the release flag is not released, the element has been edited and is a changed element. Slicing all the variation elements to obtain a variation element slice set; the variation element slice set includes a plurality of local slices, each of which includes only a plurality of the variation elements; For each of the local slices, a vector slice corresponding to the local slice is determined in the set of all element slices; the content of the vector slice is updated using the local slice according to the unique identifier and status flag of the changed element included in the local slice; the set of all element slices includes a number of vector slices obtained by slicing all elements in the geographic space vector data before editing the element; the local slice and the vector slice corresponding to the local slice have the same geographic space range; the unique identifier corresponds to the element one by one; the status flag is used to mark the editing type of the element, and the status flag includes adding an element, deleting an element, and modifying an element; Before determining the changed elements in the geospatial vector data according to the release mark of each element in the geospatial vector data, the method further includes: If the user adds a new feature in the geospatial vector data, the unique identifier of the new feature is determined, the state flag of the new feature is set to a new feature, and the release flag of the new feature is set to not released; If the user deletes a feature in the geospatial vector data, the status flag of the deleted feature is updated to deleted feature, and the publishing flag of the deleted feature is updated to unpublished; If the user modifies a feature in the geospatial vector data, the status flag of the modified feature is updated to modified feature, and the publishing flag of the modified feature is updated to unpublished.
2. The method for local updating of vector slices based on feature labeling according to claim 1, characterized in that: Before determining the changed elements in the geospatial vector data according to the release mark of each element in the geospatial vector data, the method further includes: Marking each element in the original geographic space vector data to determine the unique identifier, status flag and release flag of each element; the status flags of all elements are initial elements, and the release flags of all elements are unreleased; All the marked elements are written into the database; Extracting all the elements from the database to slice the original geographic spatial vector data to obtain a plurality of vector slices, wherein all the vector slices constitute a set of all element slices; All the element slice sets are published, and the publishing flags of all the elements are updated to be published.
3. The method for local updating of vector slices based on feature labeling according to claim 1, characterized in that: Determining a vector slice corresponding to the local slice in all element slice sets specifically includes: A vector slice having the same row and column numbers as the local slice is selected from all element slice sets as the vector slice corresponding to the local slice; the row and column numbers are used to mark the slice position.
4. The method for local updating of vector slices based on feature labeling according to claim 1, characterized in that: Updating the content of the vector slice using the local slice according to the unique identifier and the state flag of the changed element included in the local slice specifically includes: For each variation element included in the local slice, perform the following operations: If the status flag of the changed element is a newly added element, the changed element is added to the vector slice to update the content of the vector slice; If the state flag of the change element is a deletion element, determining the to-be-processed element corresponding to the change element in the vector slice according to the unique identifier of the change element, deleting the to-be-processed element in the vector slice, so as to update the content of the vector slice; the unique identifier of the to-be-processed element is the same as the unique identifier of the change element; If the status flag of the change element is a modification element, the to-be-processed element corresponding to the change element in the vector slice is determined according to the unique identifier of the change element, the to-be-processed element in the vector slice is deleted, and the change element is added to the vector slice to update the content of the vector slice.
5. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a method for local updating of vector slices based on feature marking as described in any one of claims 1 to 4.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a method for local updating of vector slices based on feature marking as described in any one of claims 1 to 4 are implemented.
7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of a method for local updating of vector slices based on feature marking as described in any one of claims 1 to 4 are implemented.
