CN113888673A - Map editing method, system, device, computing equipment and storage medium - Google Patents

Map editing method, system, device, computing equipment and storage medium Download PDF

Info

Publication number
CN113888673A
CN113888673A CN202111152777.6A CN202111152777A CN113888673A CN 113888673 A CN113888673 A CN 113888673A CN 202111152777 A CN202111152777 A CN 202111152777A CN 113888673 A CN113888673 A CN 113888673A
Authority
CN
China
Prior art keywords
editing
information
image area
target image
element information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111152777.6A
Other languages
Chinese (zh)
Inventor
张搏杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202111152777.6A priority Critical patent/CN113888673A/en
Publication of CN113888673A publication Critical patent/CN113888673A/en
Priority to PCT/CN2022/083703 priority patent/WO2023050744A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present disclosure provides a map editing method, apparatus, computer device and storage medium, wherein the method comprises: generating first editing information in response to an editing operation on a target image area on a displayed electronic map; sending first editing information to a server; receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to a target image area based on the target graphic element information to obtain an edited electronic map; the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information. The embodiment of the disclosure can improve the editing efficiency of the electronic map and improve the convenience of map editing.

Description

Map editing method, system, device, computing equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic map processing technologies, and in particular, to a map editing method, system, apparatus, computing device, and storage medium.
Background
Electronic maps are a convenient means for obtaining geographic information, and play an important role in the life of people. In the existing electronic map display technology, real geographic information is converted into vector data through a server, the vector data is rendered by a client, the rendered vector data is obtained, and the rendered vector data is displayed in an electronic map.
In general, the data size of rendered vector data displayed in an electronic map is huge, and for the problem of editing of massive vector data, the existing editing technology is often limited by influences such as network bandwidth and client rendering capability, so that the problem of stuttering of the editing process of the vector data occurs, and thus the efficiency of editing the vector data is reduced.
Disclosure of Invention
The embodiment of the disclosure at least provides a map editing method, a map editing system, a map editing device, a computing device and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a map editing method, applied to a client, including:
generating first editing information in response to an editing operation on a target image area on a displayed electronic map;
sending the first editing information to a server;
receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map;
the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
According to the embodiment, different target image areas correspond to the vector data with different data volumes, and the plurality of target image areas correspond to all the vector data of the electronic map. Meanwhile, the generated first editing information is sent to the server side so that the server side can update the initial graphic element information corresponding to the target image area, a user can edit the vector data corresponding to the electronic map displayed in the client side only by executing operation on the client side, and convenience of data processing is improved.
In one possible implementation, the target image area includes at least one vector tile corresponding to the electronic map.
According to the embodiment, the vector tiles correspond to the vector data, and due to the characteristic that the vector tiles can load the vector data as required, the corresponding part of the vector data can be edited through the vector tiles, so that the data volume required to be processed is reduced, and the data editing efficiency is improved. In addition, the vector tiles have the characteristic of strong interactivity, so that the target image area corresponding to the vector tiles can be edited at the client through the vector tiles, and the convenience of data processing is improved.
In one possible embodiment, the editing operation includes a first sub-operation and a second sub-operation;
the generating of the first editing information in response to the editing operation on the target image area on the displayed electronic map includes:
responding to a first sub-operation on a target image area on a displayed electronic map, and acquiring initial graphic element information corresponding to the target image area from the client;
displaying the initial graphic element information through the client, and determining first position information of each of at least part of the element points based on a second sub-operation on the element points corresponding to the initial graphic element information;
generating the first editing information based on the determined first position information.
In this embodiment, the graphic element information is editable information corresponding to the target image area, for example, information such as an area graphic and an editable element point, and the user can edit the element point corresponding to the initial graphic element information, that is, perform the second sub-operation, by displaying the initial graphic element information on the client. The vector tiles displayed in the electronic map can correspond to a plurality of image zooming levels, so that after the target image area is edited, the server can modify the image area corresponding to each image zooming level of the target image area according to the acquired first editing information by determining the first editing information corresponding to each image zooming level of the target image area, and the comprehensiveness of data editing is improved.
In a possible implementation manner, after the receiving the target graphic element information fed back by the server in response to the first editing information, the method further includes:
determining an image area to be adjusted corresponding to the target image area based on the determined first position information;
and deleting the initial graphic element information of the image area to be adjusted corresponding to each image scaling grade.
In the embodiment, after the target image area is edited, the corresponding image area to be adjusted, that is, the edited target image area, is obtained, the target graphic element information fed back by the server is new graphic element information of the image area to be adjusted corresponding to each image scaling level, the initial graphic element information of the image area to be adjusted stored by the client corresponding to each image scaling level is the graphic element information before the target image area is edited, and is the non-updated graphic element information.
In one possible implementation, before the responding to the editing operation on the target image area on the displayed electronic map, the method further includes:
responding to a map editing request, and displaying a map editing page corresponding to the electronic map through the client; wherein the map editing page includes at least one of the target image regions.
According to the embodiment, the electronic map can be edited by the user at the client based on the displayed map editing page comprising at least one target image area, and the convenience of data processing is improved.
In a possible implementation manner, after the displaying, by the client, a map editing page corresponding to the electronic map, the method further includes:
determining an image area to be added input on the map editing page;
generating second editing information based on second position information corresponding to each element point to be added in the image area to be added;
sending the second editing information to the server;
receiving the graphic element information to be added fed back by the server end in response to the second editing information, and generating and displaying a second display image corresponding to the image area to be added based on the graphic element information to be added;
the to-be-added graphic element information is the graphic element information which is generated by the server side based on the second editing information and corresponds to the to-be-added image area and each image scaling grade.
According to the embodiment, the image areas displayed in the electronic map can be increased based on the input image areas to be added, and further, the displayed images displayed in the electronic map can be updated.
In a possible implementation manner, after the receiving the graphic element information to be added fed back by the server in response to the second editing information, the method further includes:
determining element information to be deleted of the image area to be added and each image scaling grade based on second position information of each element point to be added corresponding to the element information to be added;
and deleting the stored element information to be deleted.
In this embodiment, each original image area affected by the image area to be added can be determined based on the second position information of the element point to be added, and the server side updates the graphic element information corresponding to each image scaling level of each original image area affected by the image area to be added according to the second position information. Therefore, by deleting the element information to be deleted, which is stored in the client and corresponds to the image area to be added and each image scaling level, the updating of the stored element information of each original image area affected by the image area to be added by using the new element information of the image acquired from the server can be realized.
In one possible embodiment, the second sub-operation includes a factor point deleting operation and/or a factor point moving operation.
In this embodiment, the initial graphic element information corresponding to the target image area can be adjusted in accordance with the element point deleting operation and/or the element point moving operation.
In a second aspect, an embodiment of the present disclosure further provides a map editing method, applied to a server, including:
receiving first editing information sent by a client, wherein the first editing information is generated by the client in response to an editing operation on a target image area on a displayed electronic map;
adjusting initial image element information corresponding to the target image area based on the first editing information to obtain target image element information corresponding to the target image area;
sending the target image element information to the client;
and the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
According to the embodiment, after receiving the first editing information sent by the client, the server can automatically adjust the initial image element information corresponding to the target image area based on the first editing information, so that the timeliness and the efficiency of adjusting the image element information are improved, and after sending the target image element information to the client, the client can directly update the initial image element information corresponding to the target image area based on the target image element information, so that the convenience and the efficiency of data processing performed by the client are improved.
In a third aspect, an embodiment of the present disclosure further provides a map editing system, including a client and a server, where:
the client is used for responding to the editing operation of a target image area on the displayed electronic map and generating first editing information; sending the first editing information to a server; receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map;
the server is used for receiving the first editing information sent by the client; adjusting initial image element information corresponding to the target image area based on the first editing information to obtain target image element information corresponding to the target image area; and sending the target image element information to the client.
In a fourth aspect, an embodiment of the present disclosure further provides a map editing apparatus, applied to a client, including:
the generating module is used for responding to the editing operation of the target image area on the displayed electronic map and generating first editing information;
the sending module is used for sending the first editing information to a server;
the updating module is used for receiving target graphic element information fed back by the server end in response to the first editing information, updating a first display image corresponding to the target image area based on the target graphic element information, and obtaining the edited electronic map;
the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
In one possible implementation, the target image area includes at least one vector tile corresponding to the electronic map.
In one possible embodiment, the editing operation includes a first sub-operation and a second sub-operation;
the generating module is used for responding to a first sub-operation on a target image area on a displayed electronic map and acquiring initial graphic element information corresponding to the target image area from the client;
displaying the initial graphic element information through the client, and determining first position information of each of at least part of the element points based on a second sub-operation on the element points corresponding to the initial graphic element information;
generating the first editing information based on the determined first position information.
In a possible embodiment, the apparatus further comprises:
a first deleting module, configured to determine, after receiving target graphic element information fed back by the server in response to the first editing information, an image area to be adjusted corresponding to the target image area based on the determined first position information;
and deleting the initial graphic element information of the image area to be adjusted corresponding to each image scaling grade.
In a possible embodiment, the apparatus further comprises:
the display module is used for responding to a map editing request and displaying a map editing page corresponding to the electronic map through the client before responding to the editing operation of the target image area on the displayed electronic map; wherein the map editing page includes at least one of the target image regions.
In a possible implementation manner, the generating module is further configured to determine an image area to be added input on the map editing page after the map editing page corresponding to the electronic map is displayed by the client;
generating second editing information based on second position information corresponding to each element point to be added in the image area to be added;
the sending module is further configured to send the second editing information to the server;
the updating module is further configured to receive the graphic element information to be added, which is fed back by the server in response to the second editing information, and generate and display a second display image corresponding to the image area to be added based on the graphic element information to be added;
the to-be-added graphic element information is the graphic element information which is generated by the server side based on the second editing information and corresponds to the to-be-added image area and each image scaling grade.
In a possible embodiment, the apparatus further comprises:
a second deleting module, configured to, after the receiving of the to-be-added graphic element information fed back by the server in response to the second editing information, determine to-be-deleted element information corresponding to each image scaling level and the to-be-added image area based on second position information of each to-be-added element point corresponding to the to-be-added graphic element information;
and deleting the stored element information to be deleted.
In one possible embodiment, the second sub-operation includes a factor point deleting operation and/or a factor point moving operation.
In a fifth aspect, an embodiment of the present disclosure further provides a map editing apparatus, applied to a server, including:
the receiving module is used for receiving first editing information sent by a client, wherein the first editing information is generated by the client in response to an editing operation on a target image area on a displayed electronic map;
the adjusting module is used for adjusting the initial image element information corresponding to the target image area based on the first editing information to obtain the target image element information corresponding to the target image area;
the feedback module is used for sending the target image element information to the client;
and the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
In a sixth aspect, this disclosure also provides a computer device, a processor, a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the machine-readable instructions are executed by the processor to perform the steps in the first aspect, or any one of the possible implementations of the first aspect, or the second aspect when the machine-readable instructions are executed by the processor.
In a seventh aspect, alternative implementations of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon, where the computer program is executed to perform the steps in the first aspect, or any one of the possible implementations of the first aspect, or the machine-readable instructions are executed by the processor to perform the second aspect.
For the description of the effects of the map editing system, the map editing apparatus, the computer device, and the computer-readable storage medium, reference is made to the description of the map editing method, which is not repeated herein.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 illustrates a flowchart of a map editing method applied to a client according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a target image area including a plurality of vector tiles provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a target image area and initial graphic element information provided by an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a map editing method applied to a server according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a map editing system provided by an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating a map editing apparatus applied to a client according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating a map editing apparatus applied to a server according to an embodiment of the present disclosure;
fig. 8 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of embodiments of the present disclosure, as generally described and illustrated herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Furthermore, the terms "first," "second," and the like in the description and in the claims, and in the drawings described above, in the embodiments of the present disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
Reference herein to "a plurality or a number" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Research shows that the electronic map plays an important role in the life of people as a convenient geographic information acquisition means. In the existing electronic map display technology, real geographic information is converted into vector data through a server, the vector data is rendered by a client, the rendered vector data is obtained, and the rendered vector data is displayed in an electronic map.
In general, the data size of rendered vector data displayed in an electronic map is huge, and for the problem of editing of massive vector data, the existing editing technology is often limited by influences such as network bandwidth and client rendering capability, so that the problem of stuttering of the editing process of the vector data occurs, and thus the efficiency of editing the vector data is reduced.
Based on the above research, the present disclosure provides a map editing method, system, apparatus, computing device and storage medium, where different target image areas correspond to vector data of different data amounts, and multiple target image areas correspond to all vector data of an electronic map, and based on editing operations on the target image areas, editing of part of vector data corresponding to the target image areas in all vector data according to editing requirements can be achieved, so as to reduce the data amount required to be processed, and facilitate improvement of editing efficiency. Meanwhile, the generated first editing information is sent to the server side so that the server side can update the initial graphic element information corresponding to the target image area, a user can edit the vector data corresponding to the electronic map displayed in the client side only by executing operation on the client side, and convenience of data processing is improved.
The defects of the existing implementation schemes are the results of the inventor after practice and careful study, so the discovery process of the above problems and the solution proposed by the present disclosure to the above problems in the following should be the contribution of the inventor to the present disclosure in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
It should be noted that specific terms mentioned in the embodiments of the present disclosure include:
vector tile: the vector tile data exists in a vector form, is organized and defined through different description files, and is analyzed and drawn in real time at a client. Namely, after the client acquires data such as vector tiles, map labeling fonts, icons, style files and the like through the distributed network, rendering and outputting the map at the client. Compared with the traditional raster tiles, the vector tiles have the advantages of small volume, high compression, small occupied storage space, small data transmission volume and low map updating cost.
In order to facilitate understanding of the embodiment, a detailed description is first given of a map editing method disclosed in the embodiment of the present disclosure, an execution subject of the map editing method provided in the embodiment of the present disclosure is generally a computer device with certain computing capability, and in some possible implementations, the map editing method may be implemented by a processor calling a computer readable instruction stored in a memory.
The following describes a map editing method provided by the embodiment of the present disclosure by taking an execution subject as a client.
As shown in fig. 1, a flowchart of a map editing method applied to a client according to an embodiment of the present disclosure may include the following steps:
s101: first editing information is generated in response to an editing operation on a target image area on a displayed electronic map.
Here, the client may be any mobile terminal having a capability of loading an electronic map, for example, the client may be a user mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a handheld device, a computing device, or the like for displaying the electronic map in a navigation scene; the electronic map display device can also be an on-board device (such as an on-board display screen device) for displaying the electronic map in a driving scene, and the like.
The electronic map can be a map generated by adopting a vector tile technology, and the electronic map can comprise at least one vector tile, wherein one vector tile comprises at least one piece of vector data, and each piece of vector data is generated according to real geospatial information.
The first editing information is information for editing the electronic map.
The vector tiles correspond to target image areas in the electronic map, at least one target image area may be included in the electronic map, different target image areas do not overlap in the electronic map, each target image area corresponds to one presentation image in the electronic map, and there may be a difference in image shape of the different presentation images, for example, the image shape of the presentation image corresponding to target image area Q1 may be a rectangle, and the image shape of the presentation image corresponding to target image area Q2 may be an irregular polygon.
The editing operation may be performed at a client displaying the electronic map by a user who has an editing requirement on a vector tile in the electronic map, and since the vector tile corresponds to a target image area in the electronic map, the editing requirement on the vector tile is the editing requirement on the target image area for the user.
In specific implementation, on the premise that the client is loaded with the vector tile service, an electronic map can be obtained and displayed on the client based on rendering of vector tiles acquired from the server, wherein the electronic map can include at least one target image area.
Further, the user may select a target image area to be edited and perform an editing operation on the target image area, for example, change the position of the target image area, change the area range of the target image area, or the like. Then, the client may receive an editing operation performed by a user, and generate first editing information according to the target image area to be edited and the edited target image area in response to the editing operation. Specifically, the client may generate the first editing information according to an area graph corresponding to the edited target image area and position information of each target vector tile corresponding to the area graph. Alternatively, the first editing information may be generated directly from the position information of the region figure corresponding to the edited target image region.
S102: and sending the first editing information to the server.
Here, the server is a generator corresponding to the electronic map, and may be in communication connection with each client using the electronic map function, so as to update the electronic map displayed by the client.
The initial graphic element information is editable information corresponding to the target image area, and specifically, the editable information may include editable area graphics capable of representing the area range size of the target image area, editable element points capable of representing the area range size of the target image area, and the like, where the editable element points may be part of important key points corresponding to the editable area graphics, taking the editable area graphics as a rectangle as an example, the editable element points may be four vertices corresponding to the rectangle and midpoints of sides of the rectangle, and the editable element points are editable element points. The initial graphic element information can represent the target image area and can be used for editing the target image area, and when the specific implementation is carried out, a user can edit the target image area by adjusting the initial graphic element information corresponding to the target image area. Taking the editable area graph corresponding to the initial graph element information as a rectangle and the editable element points as four vertexes corresponding to the rectangle and the middle points of each side of the rectangle as examples, the adjustment of the initial graph element information may be a position moving operation of each editable element point by the user and a moving operation of each side of the rectangle.
The initial graphic element information corresponding to the target image area can be generated by the server and sent to the client, and the client can store the received initial graphic element information, and generate and display the target image area corresponding to the electronic map by using the initial graphic element information. After the server generates the initial graphic element information, the server may store the initial graphic element information in a database corresponding to the server. That is, the initial graphic element information corresponding to each target image area in the electronic map displayed by the client is stored in both the server and the client.
The target graphic element information is graphic element information corresponding to the edited target image area and is newly generated by the server.
In this step, after generating the first editing information, the client may send the first editing information to the server through the communication network, and further, after receiving the first editing information, the server may generate the target graphic element information corresponding to the target image area according to the first editing information.
Specifically, after receiving the first editing information, the server may determine each target vector tile to be operated according to the position information of each vector tile corresponding to the edited target image area in the first editing information, and may then obtain initial graphic element information and vector data corresponding to each target vector tile to be operated, which are stored in the database.
Alternatively, when the first editing information includes only the position information of the area graphic corresponding to the edited target image area, an overlap vector tile having position information overlapping the position information of the area graphic may be determined based on the position information of the area graphic and the position information of each vector tile generated corresponding to the electronic map, and the overlap vector tile may be set as the determined target vector tile.
Then, the server may adjust the initial graphic element information corresponding to each target vector tile based on the vector data of each target vector tile and the area graphics, respectively, to obtain the target graphic element information corresponding to each target vector tile, that is, to generate a new vector tile corresponding to the edited target image area. Here, the generated new vector tile is a file in a preset format, where the preset format may be a file format of a Mapbox vector tile standard.
After the server generates the target graphic element information, the server may delete the initial image element information corresponding to each of the stored target vector tiles and store the newly generated target graphic element information, thereby updating the data stored in the server.
S103: and receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map.
The target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
Here, each vector tile may correspond to one presentation image, and the first presentation image may include a presentation image corresponding to each of the target vector tiles corresponding to the edited target image area.
In specific implementation, the server may send the generated target graphic element information to the client through the communication network, so that the client may render a new vector tile corresponding to the target graphic element information after receiving the target graphic element information fed back by the server, obtain a rendered new display image, update the first display image corresponding to the target image area by using the obtained new display image, and obtain an edited and updated electronic map.
Or, the client may also initiate a request for obtaining target graphic element information corresponding to each target vector tile to the server according to the position information of each target vector tile corresponding to the edited target image area, and then the server may send the target graphic element information to the client in response to the request, thereby completing updating of the first display image corresponding to the target image area.
Therefore, different target image areas correspond to vector data with different data volumes, the plurality of target image areas correspond to all vector data of the electronic map, and based on the editing operation on the target image areas, the editing of partial vector data corresponding to the target image areas in all the vector data according to the editing requirements can be realized, so that the data volume needing to be processed is reduced, and the editing efficiency is improved. Meanwhile, the generated first editing information is sent to the server side so that the server side can update the initial graphic element information corresponding to the target image area, a user can edit the vector data corresponding to the electronic map displayed in the client side only by executing operation on the client side, and convenience of data processing is improved.
In an embodiment, the target image area includes at least one vector tile corresponding to the electronic map, that is, one target image area may include at least one vector tile, so that, based on the editing operation on the target image area, it may be possible to implement synchronous editing on multiple vector tiles, for example, in a case that one edited vector tile overlaps with another vector tile, the server may adaptively edit the other overlapped vector tile, so that editing on one vector tile may be synchronized to editing on the other overlapped vector tile, thereby improving editing efficiency. As shown in fig. 2, a target image area provided for the embodiment of the present disclosure includes a schematic diagram of a plurality of vector tiles, where the target image area a includes a plurality of vector tiles, specifically, a vector tile V1, a vector tile V2, and a vector tile V3.
In one embodiment, the editing operation includes a first sub-operation and a second sub-operation.
Here, the first sub-operation is an operation on a target image area in the electronic map, and as is clear from the above embodiment, the target image area corresponds to a presentation image having a certain image shape, so in concrete implementation, the first sub-operation may be an operation in which the user clicks the presentation image corresponding to the target image area.
The second sub-operation is an operation for the initial graphic element information corresponding to the target image area.
For S101, the following steps may be performed:
step one, responding to a first sub-operation of a target image area on a displayed electronic map, and acquiring initial graphic element information corresponding to the target image area from a client.
Here, the client stores therein initial graphic element information corresponding to each target image area in the electronic map. The initial graphic element information comprises all element points which surround a target image area, and the position and the number of the element points corresponding to different target image areas are different.
The vector tiles corresponding to the target image areas in the electronic map can be displayed at different image zoom levels, and in each image zoom level, the number and the positions of the vector tiles in the electronic map are fixed, but the data size of the initial graphic element information corresponding to each vector tile is in an association relationship with the image zoom level. Specifically, for the same vector tile, the lower the image scaling level is, the less the data amount of the initial graphic element information corresponding to the vector tile in the electronic map is, the less the number of the essential points in the initial graphic element information corresponding to the vector tile is, and conversely, the more the data amount corresponding to the vector tile is, the more the essential points in the initial graphic element information corresponding to the vector tile is.
In specific implementation, initial graphic element information of all vector tiles in the electronic map, which corresponds to each image zooming level, is stored in both the client and the server.
For this step, the client may determine, in response to a click operation of a user on a display image corresponding to a target image area on the displayed electronic map, a vector tile corresponding to the target image area, and an image zoom level corresponding to the electronic map when the click operation is performed. Then, the client may obtain initial graphic element information corresponding to the image zoom level from the locally stored initial graphic element information corresponding to the respective image zoom level of the vector tile.
And secondly, displaying the initial graphic element information through the client, and determining first position information of each element point in at least part of the element points based on a second sub-operation on the element points corresponding to the initial graphic element information.
In specific implementation, after the initial image information is acquired, the initial graphic element information may be displayed at the client, that is, each editable element point corresponding to the target image area is displayed to the user. As shown in fig. 3, a schematic diagram of a target image area and initial graphic element information is provided in an embodiment of the present disclosure, where the initial graphic element information corresponds to an element point a, an element point b, an element point c, an element point d, an element point e, an element point f, an element point g, an element point h, and an element point i.
Furthermore, the user may perform a second sub-operation on at least some of the elements corresponding to the presented initial graphic element information to implement editing of the target image area.
In one embodiment, the second sub-operation may include a factor point deleting operation and/or a factor point moving operation. Specifically, the user may perform at least one of the two second sub-operations on at least part of the displayed element points, thereby implementing editing of the area range of the target image area corresponding to the initial graphic element information.
After the user performs the second sub-operation, the client may determine first location information corresponding to each of at least some of the element points corresponding to the operated initial graphic element information in the electronic map, where the first location information may be map coordinates of each pixel point.
And thirdly, generating first editing information based on the determined first position information.
Here, based on the determined first location information and the location information corresponding to each vector tile stored by the client, each target vector tile having location information overlapping with the first location information is determined, and then, identification information of each target vector tile may be determined, specifically, the identification information may be a rank value of each target vector tile in the electronic map.
Further, first editing information may be generated according to the identification information and the first location information of each target vector tile. Here, the first editing information may be editing information corresponding to each image scaling level, and since the position information and the identification information of the vector tile corresponding to each image scaling level are the same, the server may determine the identification information and the position information of each target vector tile corresponding to the edited target image region according to the first editing information after acquiring the first editing information, and thus may determine the target vector tile corresponding to the identification information and the position information in each image scaling level from the stored vector tiles according to the identification information and the position information, and delete the target vector tile corresponding to each image scaling level and the initial graphic element information corresponding thereto stored by the server after generating the target graphic element information corresponding to the target vector tile of each image scaling level, and updating the data corresponding to the server.
In an embodiment, after receiving the target graphic element information fed back by the server in response to the first editing information, the client may further determine an image area to be adjusted corresponding to the target image area based on the determined first position information of the adjusted element point. Here, the image area to be adjusted is an image area to which each target vector tile corresponding to the adjusted target image area belongs.
Specifically, a target vector tile corresponding to each first position information may be determined according to the adjusted first position information of each element point, and then, an image area corresponding to each target vector tile may be used as an image area to be adjusted.
And determining the target vector tiles corresponding to the image scaling levels according to the identification information and the position information of the target vector tiles corresponding to the image area to be adjusted. The initial graphic element information of the target vector tiles stored at the client for which the image area to be adjusted corresponds to the respective image zoom level may then be deleted. And storing the obtained target graphic element information in the client, wherein the target graphic element information fed back by the server is the target graphic element information of the target vector tiles corresponding to the image scaling levels newly generated by the server based on the first editing information.
In one embodiment, before responding to an editing operation on a target image area on a displayed electronic map, a map editing request initiated by a user is required to be responded, for example, a map editing page corresponding to the electronic map is displayed through a client in response to an operation that the user clicks an editing component on the client. The map editing page comprises at least one target image area.
For example, a user may click a map editing component at a preset position of an electronic map page, and then the client may determine that the user has initiated a map editing request in response to a click operation of the user, and then obtain and display the map editing page and a target image area corresponding to the electronic map to the user in response to the map editing request.
In the process of obtaining the target image area corresponding to the electronic map, all the target image areas corresponding to the electronic map may be obtained, or the target image areas corresponding to the currently displayed vector tiles and the currently displayed image scaling level may be obtained based on the currently displayed image scaling level of the electronic map and the currently displayed vector tiles of the client, that is, the number of the obtained target image areas is consistent with the number of the currently displayed vector tiles, and the size of each target image area corresponds to the image scaling level.
In one embodiment, after a map editing page corresponding to the electronic map is displayed through the client, the vector tiles displayed in the electronic map can be updated according to the following steps:
p1: and determining an image area to be added input on the map editing page.
Here, the image area to be added includes a plurality of element points to be added specified by the user.
After the map editing page is displayed on the client, the user can input an image area to be added at any position in the map editing page, wherein the image area to be added and a target image area displayed on the map editing page can be overlapped or independent.
In specific implementation, a user can draw a target graph in any shape in a map editing page, and then, a client can take an area range corresponding to the target graph as an image area to be added.
P2: and generating second editing information based on second position information corresponding to each element point to be added in the image area to be added.
In this step, after the image area to be added is determined, second position information of each element point to be added in the image area to be added may be obtained, and then, second editing information may be generated according to the second position information and the target graph corresponding to the image area to be added.
P3: and sending the second editing information to the server.
In this step, the client may send the generated second editing information to the server through the communication network, and after receiving the second editing information, the server may determine, according to each piece of second location information corresponding to the second editing information and location information of each generated vector tile, a vector tile to be edited, whose location information corresponds to the second location information, from each generated vector tile. And the tiles to be edited comprise vector tiles of which the image areas to be added correspond to the image scaling grades.
Furthermore, the to-be-added graphic element information of the new vector tile corresponding to each image scaling level can be respectively generated according to the vector data of the to-be-edited vector tile corresponding to each image scaling level and the target graphic corresponding to the second editing information.
Then, the server side can feed back the information of the graphic elements to be added corresponding to each generated image scaling level to the client side.
And after generating the to-be-added graphic element information of the new vector tile corresponding to each image scaling level, the server may delete the initial image element information corresponding to the to-be-edited vector tile corresponding to each image scaling level stored in the local database, and store the to-be-added graphic element information of the new vector tile. Specifically, the vector tiles to be edited can be directly deleted, and new vector tiles can be stored.
P4: and the receiving server responds to the graphic element information to be added fed back by the second editing information, and generates and displays a second display image corresponding to the image area to be added based on the graphic element information to be added.
The graphic element information to be added is the graphic element information of the server side, which is generated based on the second editing information, of the image area to be added and corresponds to each image scaling grade.
In specific implementation, for each image scaling level, after receiving the graphic element information to be added, which is fed back by the server in response to the second editing information, the client may generate the second display image corresponding to the image scaling level according to the received graphic element information to be added and the vector data corresponding to the image scaling level.
Then, the client may display the second display image corresponding to the image zoom level in the electronic map in the client according to the image zoom level corresponding to the electronic map when the second editing information is generated. Specifically, the second display image corresponding to the image zoom level may be used to replace the display image corresponding to the vector tile to be edited, which is displayed in the client, and the second display image is displayed to the user, so that the electronic map displayed in the client is updated.
In an embodiment, after receiving the to-be-added graphic element information fed back by the server in response to the second editing information, the client may determine, according to second location information of each to-be-added element point corresponding to the to-be-added graphic element information and location information of a generated vector tile corresponding to each image scaling level stored locally, a to-be-edited vector tile corresponding to each image scaling level respectively, and then, take initial graphic element information of the to-be-edited vector tile corresponding to each image scaling level as the to-be-deleted element information corresponding to the image scaling level.
Furthermore, the client can delete the element information to be deleted corresponding to each image scaling level, that is, delete the vector tile to be edited corresponding to each image scaling level, and store the obtained graphic element information to be added, thereby completing the update of the data information stored by the client.
Or, the server side can send the identification information of each vector tile to be edited, which is determined by the server side, while sending the information of the graphic elements to be added, and the client side can directly delete the generated vector tiles which are stored locally and matched with the identification information after receiving the information and generating the information of the graphic elements to be added, and store the information of the graphic elements to be added, thereby completing data updating. Therefore, the client omits the step of determining the vector tiles to be edited according to the second position information, and the data updating speed is improved.
In addition, the embodiment of the disclosure also provides a map editing method applied to a server side corresponding to the map editing method applied to the client side, and the updating of the electronic map displayed on the client side is completed through the interaction between the client side and the server side.
As shown in fig. 4, a flowchart of a map editing method applied to a server according to an embodiment of the present disclosure may include the following steps:
s401: and receiving first editing information sent by a client.
The first editing information is generated by the client in response to the editing operation of the target image area on the displayed electronic map.
Here, as is apparent from the above-described embodiment, the client may generate the first editing information in response to an editing operation on the target image area on the displayed electronic map, and transmit the first editing information to the server using the communication network. Furthermore, the server can receive the first editing information sent by the client.
S402: and adjusting the initial image element information corresponding to the target image area based on the first editing information to obtain the target image element information corresponding to the target image area.
Here, the server may generate the target graphic element information corresponding to the target image area based on the first editing information after receiving the first editing information.
Specifically, after receiving the first editing information, the server may determine each target vector tile to be operated according to the position information of each vector tile corresponding to the edited target image area in the first editing information, and may then obtain initial graphic element information and vector data corresponding to each target vector tile to be operated, which are stored in the database.
Alternatively, when the first editing information includes only the position information of the area graphic corresponding to the edited target image area, an overlap vector tile having position information overlapping the position information of the area graphic may be determined based on the position information of the area graphic and the position information of each vector tile generated corresponding to the electronic map, and the overlap vector tile may be set as the determined target vector tile.
Then, the server may adjust the initial graphic element information corresponding to each target vector tile based on the vector data of each target vector tile and the area graphics, respectively, to obtain the target graphic element information corresponding to each target vector tile, that is, to generate a new vector tile corresponding to the edited target image area. Here, the generated new vector tile is a file in a preset format, where the preset format may be a file format of a Mapbox vector tile standard.
After the server generates the target graphic element information, the server may delete the initial image element information corresponding to each of the stored target vector tiles and store the newly generated target graphic element information, thereby updating the data stored in the server.
S403: and sending the target image element information to the client.
And the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
Here, the server may send the generated target graphic element information to the client, so that the first presentation image corresponding to the target image area is updated based on the target graphic element information to obtain the edited electronic map.
For the specific implementation steps of S401 to S403, reference may be made to the above description of each embodiment of the map editing method applied to the client, and details are not described here again.
In addition, the present disclosure also provides a map editing system, including a client and a server, where: the client is used for responding to the editing operation of the target image area on the displayed electronic map and generating first editing information; sending first editing information to a server; receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to a target image area based on the target graphic element information to obtain an edited electronic map;
the server is used for receiving first editing information sent by the client; adjusting initial image element information corresponding to the target image area based on the first editing information to obtain target image element information corresponding to the target image area; and sending the target image element information to a client.
For a specific interaction flow between the client and the server, reference may be made to the descriptions of the foregoing embodiments, and details are not described here.
As shown in fig. 5, a schematic diagram of a map editing system provided by an embodiment of the present disclosure includes a client 501, a server 502, and a user 503, where the client 501 may generate first editing information in response to an editing operation of the user 503 on a target image area on a displayed electronic map, and send the first editing information to the server 502 through a communication network. Furthermore, the server 502 may receive the first editing information sent by the client 501, adjust the initial image element information corresponding to the target image area based on the first editing information to obtain the target image element information corresponding to the target image area, and then may send the generated target image element information to the client 501 through the communication network.
Further, the client 501 may receive the target graphic element information fed back by the server 502, and update the first display image corresponding to the target image area based on the target graphic element information, so as to obtain an edited electronic map, and display the electronic map to the user 503.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, the embodiment of the present disclosure further provides a map editing apparatus applied to the client corresponding to the map editing method applied to the client, and as the principle of the apparatus in the embodiment of the present disclosure for solving the problem is similar to the map editing method applied to the client described above in the embodiment of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 6, a schematic diagram of a map editing apparatus applied to a client according to an embodiment of the present disclosure includes:
a generating module 601, configured to generate first editing information in response to an editing operation on a target image area on a displayed electronic map;
a sending module 602, configured to send the first editing information to a server;
an updating module 603, configured to receive target graphic element information fed back by the server in response to the first editing information, and update a first display image corresponding to the target image area based on the target graphic element information, so as to obtain the edited electronic map;
the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
In one possible implementation, the target image area includes at least one vector tile corresponding to the electronic map.
In one possible embodiment, the editing operation includes a first sub-operation and a second sub-operation;
the generating module 601 is configured to, in response to a first sub-operation on a target image area on a displayed electronic map, acquire initial graphic element information corresponding to the target image area from the client;
displaying the initial graphic element information through the client, and determining first position information of each of at least part of the element points based on a second sub-operation on the element points corresponding to the initial graphic element information;
generating the first editing information based on the determined first position information.
In a possible embodiment, the apparatus further comprises:
a first deleting module 604, configured to determine, after the receiving of the target graphic element information fed back by the server in response to the first editing information, an image area to be adjusted corresponding to the target image area based on the determined first position information;
and deleting the initial graphic element information of the image area to be adjusted corresponding to each image scaling grade.
In a possible embodiment, the apparatus further comprises:
a display module 605, configured to respond to a map editing request before the response to the editing operation on the target image area on the displayed electronic map, and display, by the client, a map editing page corresponding to the electronic map; wherein the map editing page includes at least one of the target image regions.
In a possible implementation manner, the generating module 601 is further configured to determine an image area to be added input on the map editing page after the map editing page corresponding to the electronic map is displayed by the client;
generating second editing information based on second position information corresponding to each element point to be added in the image area to be added;
the sending module 602 is further configured to send the second editing information to the server;
the updating module 603 is further configured to receive the to-be-added graphic element information fed back by the server in response to the second editing information, and generate and display a second display image corresponding to the to-be-added image area based on the to-be-added graphic element information;
the to-be-added graphic element information is the graphic element information which is generated by the server side based on the second editing information and corresponds to the to-be-added image area and each image scaling grade.
In a possible embodiment, the apparatus further comprises:
a second deleting module 606, configured to, after the receiving of the to-be-added graphic element information fed back by the server in response to the second editing information, determine to-be-deleted element information corresponding to each image scaling level and the to-be-added image area based on second position information of each to-be-added element point corresponding to the to-be-added graphic element information;
and deleting the stored element information to be deleted.
In one possible embodiment, the second sub-operation includes a factor point deleting operation and/or a factor point moving operation.
Based on the same inventive concept, the embodiment of the present disclosure further provides a map editing apparatus applied to the server side corresponding to the map editing method applied to the server side, and as the principle of the apparatus in the embodiment of the present disclosure for solving the problem is similar to the map editing method applied to the server side in the embodiment of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 7, a schematic diagram of a map editing apparatus applied to a server according to an embodiment of the present disclosure includes:
a receiving module 701, configured to receive first editing information sent by a client, where the first editing information is generated by the client in response to an editing operation on a target image area on a displayed electronic map;
an adjusting module 702, configured to adjust initial image element information corresponding to the target image area based on the first editing information, to obtain target image element information corresponding to the target image area;
a feedback module 703, configured to send the target image element information to the client;
and the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
An embodiment of the present disclosure further provides a computer device, as shown in fig. 8, which is a schematic structural diagram of a computer device provided in an embodiment of the present disclosure, and the computer device includes:
a processor 81 and a memory 82; the memory 82 stores machine-readable instructions executable by the processor 81, the processor 81 being configured to execute the machine-readable instructions stored in the memory 82, the processor 81 performing the following steps when the machine-readable instructions are executed by the processor 81: s101: generating first editing information in response to an editing operation on a target image area on a displayed electronic map; s102: sending the first editing information to the server, and S103: and receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map.
The memory 82 includes a memory 821 and an external memory 822; the memory 821 is also referred to as an internal memory and temporarily stores operation data in the processor 81 and data exchanged with the external memory 822 such as a hard disk, and the processor 81 exchanges data with the external memory 822 through the memory 821.
The specific execution process of the instruction may refer to the steps of the map editing method described in the embodiments of the present disclosure, and details are not described here.
The disclosed embodiments also provide a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the map editing method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The computer program product of the map editing method provided in the embodiments of the present disclosure includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the map editing method described in the above method embodiments, which may be referred to specifically for the above method embodiments, and are not described herein again.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. A map editing method is applied to a client and comprises the following steps:
generating first editing information in response to an editing operation on a target image area on a displayed electronic map;
sending the first editing information to a server;
receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map;
the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
2. The method of claim 1, wherein the target image area comprises at least one vector tile corresponding to the electronic map.
3. The method of claim 1 or 2, wherein the editing operation comprises a first sub-operation and a second sub-operation;
the generating of the first editing information in response to the editing operation on the target image area on the displayed electronic map includes:
responding to a first sub-operation on a target image area on a displayed electronic map, and acquiring initial graphic element information corresponding to the target image area from the client;
displaying the initial graphic element information through the client, and determining first position information of each of at least part of the element points based on a second sub-operation on the element points corresponding to the initial graphic element information;
generating the first editing information based on the determined first position information.
4. The method according to claim 3, further comprising, after the receiving the target graphic element information fed back by the server in response to the first editing information:
determining an image area to be adjusted corresponding to the target image area based on the determined first position information;
and deleting the initial graphic element information of the image area to be adjusted corresponding to each image scaling grade.
5. The method according to any one of claims 1 to 4, characterized by further comprising, before the responding to the editing operation on the target image area on the displayed electronic map:
responding to a map editing request, and displaying a map editing page corresponding to the electronic map through the client; wherein the map editing page includes at least one of the target image regions.
6. The method according to claim 5, further comprising, after the displaying, by the client, a map editing page corresponding to the electronic map:
determining an image area to be added input on the map editing page;
generating second editing information based on second position information corresponding to each element point to be added in the image area to be added;
sending the second editing information to the server;
receiving the graphic element information to be added fed back by the server end in response to the second editing information, and generating and displaying a second display image corresponding to the image area to be added based on the graphic element information to be added;
the to-be-added graphic element information is the graphic element information which is generated by the server side based on the second editing information and corresponds to the to-be-added image area and each image scaling grade.
7. The method according to claim 6, wherein after the receiving the graphic element information to be added fed back by the server in response to the second editing information, further comprising:
determining element information to be deleted of the image area to be added and each image scaling grade based on second position information of each element point to be added corresponding to the element information to be added;
and deleting the stored element information to be deleted.
8. The method according to claim 3, wherein the second sub-operation comprises a factor point deletion operation and/or a factor point movement operation.
9. A map editing method is applied to a server side and comprises the following steps:
receiving first editing information sent by a client, wherein the first editing information is generated by the client in response to an editing operation on a target image area on a displayed electronic map;
adjusting initial image element information corresponding to the target image area based on the first editing information to obtain target image element information corresponding to the target image area;
sending the target image element information to the client;
and the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
10. A map editing system is characterized by comprising a client and a server, wherein:
the client is used for responding to the editing operation of a target image area on the displayed electronic map and generating first editing information; sending the first editing information to a server; receiving target graphic element information fed back by the server end in response to the first editing information, and updating a first display image corresponding to the target image area based on the target graphic element information to obtain the edited electronic map;
the server is used for receiving the first editing information sent by the client; adjusting initial image element information corresponding to the target image area based on the first editing information to obtain target image element information corresponding to the target image area; and sending the target image element information to the client.
11. A map editing apparatus, applied to a client, includes:
the generating module is used for responding to the editing operation of the target image area on the displayed electronic map and generating first editing information;
the sending module is used for sending the first editing information to a server;
the updating module is used for receiving target graphic element information fed back by the server end in response to the first editing information, updating a first display image corresponding to the target image area based on the target graphic element information, and obtaining the edited electronic map;
the target graphic element information is obtained by the server side adjusting initial graphic element information corresponding to the target image area based on the first editing information.
12. A map editing device is applied to a server side and comprises:
the receiving module is used for receiving first editing information sent by a client, wherein the first editing information is generated by the client in response to an editing operation on a target image area on a displayed electronic map;
the adjusting module is used for adjusting the initial image element information corresponding to the target image area based on the first editing information to obtain the target image element information corresponding to the target image area;
the feedback module is used for sending the target image element information to the client;
and the target image element information is used for the client to update the first display image corresponding to the target image area so as to obtain the edited electronic map.
13. A computer device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the processor to execute the machine-readable instructions stored in the memory, the processor to perform the steps of the map editing method of any one of claims 1 to 9 when the machine-readable instructions are executed by the processor.
14. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a computer device, performs the steps of the map editing method according to any one of claims 1 to 9.
CN202111152777.6A 2021-09-29 2021-09-29 Map editing method, system, device, computing equipment and storage medium Withdrawn CN113888673A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111152777.6A CN113888673A (en) 2021-09-29 2021-09-29 Map editing method, system, device, computing equipment and storage medium
PCT/CN2022/083703 WO2023050744A1 (en) 2021-09-29 2022-03-29 Map editing method, system, apparatus, computer device, program product, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111152777.6A CN113888673A (en) 2021-09-29 2021-09-29 Map editing method, system, device, computing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113888673A true CN113888673A (en) 2022-01-04

Family

ID=79008164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111152777.6A Withdrawn CN113888673A (en) 2021-09-29 2021-09-29 Map editing method, system, device, computing equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113888673A (en)
WO (1) WO2023050744A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050744A1 (en) * 2021-09-29 2023-04-06 上海商汤智能科技有限公司 Map editing method, system, apparatus, computer device, program product, and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4968275B2 (en) * 2009-02-20 2012-07-04 三菱電機株式会社 Map data editing device and server for map data editing device
US20150170385A1 (en) * 2012-06-22 2015-06-18 Google Inc. Editing a feature within a map
JP6851144B2 (en) * 2016-05-11 2021-03-31 株式会社パスコ Map information processing system, map information processing method, server, and program
CN111090657B (en) * 2019-10-28 2024-04-12 吉奥时空信息技术股份有限公司 Automatic updating and instant service system for vector tiles
CN112559667B (en) * 2021-02-23 2021-05-25 北京简巨科技有限公司 Map editor, map engine, map editing system, map editing method, and storage medium
CN113888673A (en) * 2021-09-29 2022-01-04 上海商汤智能科技有限公司 Map editing method, system, device, computing equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050744A1 (en) * 2021-09-29 2023-04-06 上海商汤智能科技有限公司 Map editing method, system, apparatus, computer device, program product, and storage medium

Also Published As

Publication number Publication date
WO2023050744A1 (en) 2023-04-06

Similar Documents

Publication Publication Date Title
CN110457512B (en) Map display method, map display device, server, terminal and storage medium
US8294710B2 (en) Extensible map with pluggable modes
CN110832278B (en) Rendering map data using descriptions of grid differences
CN111552530A (en) Terminal screen adapting method, device and equipment for user interface
US11651556B2 (en) Virtual exhibition space providing method for efficient data management
CN114648615B (en) Method, device and equipment for controlling interactive reproduction of target object and storage medium
WO2022267525A1 (en) Map generation method and map generation apparatus
CN113888673A (en) Map editing method, system, device, computing equipment and storage medium
EP4325344A1 (en) Multi-terminal collaborative display update method and apparatus
KR101870423B1 (en) Map information providing method using information of geotagging, Computer program for the same, and Recording medium storing computer program for the same
CN113592872A (en) Picture display method and device and computer storage medium
CN111223155A (en) Image data processing method, image data processing device, computer equipment and storage medium
CN109598672B (en) Map road rendering method and device
CN113705156A (en) Character processing method and device
CN107391148B (en) View element saving method and device, electronic equipment and computer storage medium
CN112445394B (en) Screenshot method and screenshot device
CN106535002B (en) Desktop starter template layout updating method and device
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
JP5563545B2 (en) Information processing apparatus and method
CN115451943B (en) Electronic map processing and navigation method, device, equipment and storage medium
CN115810086A (en) Three-dimensional scene reconstruction method and device, computer equipment and storage medium
CN115619904A (en) Image processing method, device and equipment
CN116775174A (en) Processing method, device, equipment and medium based on user interface frame
CN114238528A (en) Map loading method and device, electronic equipment and storage medium
CN111966853B (en) Management method of remote sensing image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40058653

Country of ref document: HK

WW01 Invention patent application withdrawn after publication

Application publication date: 20220104

WW01 Invention patent application withdrawn after publication