CN110554820B - GIS data editing method - Google Patents

GIS data editing method Download PDF

Info

Publication number
CN110554820B
CN110554820B CN201910865419.6A CN201910865419A CN110554820B CN 110554820 B CN110554820 B CN 110554820B CN 201910865419 A CN201910865419 A CN 201910865419A CN 110554820 B CN110554820 B CN 110554820B
Authority
CN
China
Prior art keywords
geometric
graph
tool
finger
clicking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910865419.6A
Other languages
Chinese (zh)
Other versions
CN110554820A (en
Inventor
李崇贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi An Remote Sensing Science & Technology Of Information Co ltd
Original Assignee
Xi An Remote Sensing Science & Technology Of Information 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 Xi An Remote Sensing Science & Technology Of Information Co ltd filed Critical Xi An Remote Sensing Science & Technology Of Information Co ltd
Priority to CN201910865419.6A priority Critical patent/CN110554820B/en
Publication of CN110554820A publication Critical patent/CN110554820A/en
Application granted granted Critical
Publication of CN110554820B publication Critical patent/CN110554820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering

Landscapes

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

Abstract

The invention belongs to the technical field of geographic information methods, and discloses a GIS data editing method, wherein the editing method comprises the following translation steps: selecting a geometric figure needing to be translated, clicking a translation tool to display an anchor point and an anchor point range, clicking the geometric figure needing to be translated by a finger, and if the finger clicking position is within the anchor point range, pressing the anchor point and moving a geometric object; and if not, reselecting the node in the graph as an anchor point, and continuously judging the finger click position until the finger click position is within the range of the anchor point. The method is convenient for investigators to edit, modify and draw the geometric figure in the field of field operation, and improves the editing effect of field operation data; the method can edit point, line and surface graphic objects through the functions of node movement, node addition, node deletion, trimming, line segmentation, surface segmentation, combination, automatic tracking of public edges, cutting and the like.

Description

GIS data editing method
Technical Field
The invention relates to the technical field of geographic information methods, in particular to a GIS data editing method.
Background
With the continuous development of a mobile geographic information method GIS, a GIS data rendering, collecting and editing platform based on a large data volume of a mobile terminal is often applied to field data investigation and collection work. The field data investigation and collection work is carried out, and workers often need to carry remote sensing images and corresponding interior data to field work to carry out data collection and editing work; during data editing, as most of screens of existing handheld mobile GIS terminals are small, the interaction mode is single, and the operation and editing of GIS data on the screens by field workers with fingers is very difficult; if the interactive mode is single or the mobile GIS terminal which can not provide a set of complete acquisition editing process modules is adopted, the efficiency of data acquisition is directly influenced.
Disclosure of Invention
In view of the problems of difficult data editing, single interaction mode and the like in the prior art, the GIS data editing method is expected to be provided.
The invention is realized by the following technical scheme:
a GIS data editing method, translate the figure that needs to be edited to the assigned position, after carrying out point regulation, side adjustment and surface treatment operation to the figure after translating, edit and finish;
the graphic translation step is as follows:
s10) selecting the geometric figure to be translated
When the geometric figure needing translation is selected, at least one geometric figure is selected, and the geometric figure is highlighted on a screen when the selection is completed;
s11) click translation tool
After a user clicks a translation tool, an anchor point is generated in a translation geometric figure, and a schematic circle of an anchor point range is displayed around the anchor point;
s12) finger-clicking the geometry to be moved
Determining a geometric figure needing to be moved according to the range of the anchor point clicked by the finger;
s13) determining whether the position of the finger click is within the anchor point range
If the position clicked by the finger of the user is not in the representation range of the anchor point of the geometric figure, the mobile terminal re-matches the node closest to the geometric figure as the anchor point;
if the position clicked by the finger of the user is within the anchor point range of the geometric figure, pressing the anchor point, and moving the geometric object;
s14) pressing anchor point, moving geometric object
When the user presses the anchor point with a finger to drag the geometric figure, a magnifier for magnifying and displaying data information near the anchor point with the finger is appeared at the upper left of the screen, the current anchor point position is observed by sliding the finger with the magnifier, and step S15 is executed);
s15) determining whether anchor points are close to other graph nodes
If the anchor point is close to other graph nodes, the mobile terminal captures the graph nodes until the graph moves to the designated position and then lifts the fingers; otherwise, directly lifting the finger;
s16) determining whether to end the panning operation
When the user finishes moving the geometric figure and lifts the finger, a message box for finishing the figure movement appears on the left side of the screen, and if the user clicks the message prompt box, the moving operation is finished; if the user does not click the ending prompt box, the geometric figure needing to be moved is determined again, and translation operation is carried out;
s17) rendering the translation result
And after the user finishes the translation operation, the mobile terminal can perform re-rendering on the current screen data.
Further, in S10), the selection of the geometric figure to be moved is completed by finger-clicking one or more geometric figures, and the finger-clicking is determined to highlight the selected geometric figure on the screen.
Further, when the anchor point and the anchor point range appear in S11), the mobile terminal may determine whether an operation of moving the graphic or editing the point, line, or plane is required.
Further, in the S13), the following procedure is performed:
the mobile terminal judges that when the finger pressing position is not in the anchor point range, step S131) is executed;
s131) reselect a node in the graph as an anchor point.
Further, in the S15), the following procedure is performed:
if the mobile terminal judges that the anchor point is close to other graph nodes; step S151) is executed, otherwise step S152) is executed;
s151) judging whether the anchor point is close to other graph nodes;
s152) the anchor point automatically captures the node.
Further, the point adjustment comprises point shifting, point adding and point deleting; the edge adjustment comprises trimming, dividing and edge sharing; the surface processing comprises merging, scattering, deleting, canceling and recovering.
Further, the steps of point shifting, point adding and point deleting are as follows: the user selects a graph as an operation node, and after a point moving tool is selected if the point is to be moved, the finger drags the node to a specified position, and the finger is lifted to click to finish the point moving; if points are added, after a point adding tool is selected, clicking a place needing to add the nodes on the graph boundary, namely adding one node, and clicking the completion tool to finish the point adding function; if the point is to be deleted, after a point deleting tool is selected, a finger selects a node to be deleted on a graph boundary, the node can be deleted, and then the function of deleting the point is finished by clicking; if the selected node is a common node of the two graphs, the two graphs need to be selected simultaneously when the operation is executed.
Further, the trimming step is as follows: selecting a graph to be trimmed by using a selection tool, clicking a trimming function, drawing a new boundary line by using a finger, and clicking a finishing tool to finish boundary correction; if the common edge of the two graphs needs to be corrected, the two graphs need to be selected at the same time, and then a trimming tool is used for correcting the boundary;
the line segmentation step is as follows: the method can be used for dividing geometric figures and carrying out geometric figure island processing; whether graph division or island processing is carried out, firstly, a selection tool is used for selecting a geometric graph to be processed; if the user wants to perform geometric figure segmentation, the segmentation line tool is clicked to draw the segmentation line by using fingers, and the segmentation line can also be automatically drawn in a single-point actual measurement and continuous point collection mode; clicking a finishing tool after the drawing of the dividing line is finished to finish the graph division; if the user wants to perform graphic island processing, clicking a line dividing tool to draw a self-intersecting line at a position needing the island processing, and then clicking a finishing tool to finish the island processing;
the surface dividing step comprises the following steps: the method is used for solving the superposition error between the two graphs; the result of the surface segmentation processing is that the selected cutting graphic object is used for cutting another graphic object, and the cut graphic object loses the overlapping part; the user selects the graph to be subjected to the surface segmentation operation by using the selection tool, clicks the surface segmentation tool, pops up a graph object window selected for cutting, and the selected graph is highlighted by filling color; then clicking a determining button to finish surface segmentation; the surface segmentation can also be used for carrying out island processing, and firstly, a user uses a drawing tool in a data acquisition module to draw a graph at a position needing island processing; then selecting two graphs, clicking a surface segmentation tool, popping up a graph object window selected for cutting, selecting a smaller graph, and clicking a determination button to complete segmentation;
the edge sharing step comprises the following steps: the user uses a selection tool to select one or more graphs needing to track the common edge, clicks the common edge tool, delineates the non-common edge part, and clicks the completion tool to complete the capture of the common edge; the user can also use a common edge tool to fill the graphs, and when one graph surrounded by a plurality of graphs is deleted by mistake, one graph can be drawn in a node capturing mode, but the operation is troublesome; the user can select all adjacent graphs by using the selection tool, then click the common edge tool, draw a common edge boundary, and then finish clicking to automatically fill up the two graphs; and finally, combining the generated graphs into one graph by using a combination tool.
Further, the trimming comprises the following steps:
s20) click edit tool box
Clicking an editing tool box by using a finger to enter an editing operation;
s21) whether there is a selected geometric figure
Lifting the finger to click the geometric figure, if the geometric figure is selected by the finger, executing the step S30), otherwise, the editing tool cannot be used;
s22) clicking trimming tool
Clicking a trimming tool in the editing tool by a finger to execute trimming operation; when the trimming operation is executed, the mobile terminal draws a line passing through the selected geometric figure in a drawing mode; after the drawing is finished, clicking by a finger to confirm that the geometric figure is drawn;
s23) whether the drawing line intersects with the selected geometric figure
If the drawing line is intersected with the selected geometric figure, further judging whether the drawing line is intersected in the selected figure; otherwise, executing step S24);
if the drawing lines are self-intersected in the selected graph, executing the step S24); otherwise, replacing the shorter side of the selected graph with the drawing line, and then executing the step S25);
s24), finishing trimming, and rendering the current screen data
If the drawing line is not intersected with the selected geometric figure or the drawing line is intersected in the selected figure, clicking the trimming tool by a finger to finish the trimming operation; and performing rendering operation on the current screen data;
s25), finishing trimming, and rendering the current screen data
And clicking the trimming tool by a finger, finishing the trimming operation and rendering the current screen data.
Further, the merging and scattering steps are as follows: the user selects a graph by using a selection tool, clicks the merging tool if merging is required, pops up a graph object interactive interface to which the attribute of the selected and merged graph object is attached, the user needs to select and reserve the attribute of the graph object as the attribute of the merged graph object, the selected graph object is highlighted by filling color, and then clicks to determine that graph merging is finished; the merging tool can also merge non-adjacent graphs, namely selected graphs are merged into a combined body; the scattering is used for recovering a graph set formed by combining a plurality of non-adjacent graphs into an independent graph;
the deleting, the canceling and the recovering steps are as follows: if the user wants to delete the geometric figure, the geometric figure to be deleted is selected, and the geometric object can be deleted by clicking the geometric figure to be deleted; if the user wrongly executes a certain editing operation, a cancel button can be clicked; if the user wants to recover the previous operation after the user cancels, the user can click a recovery button to recover.
Compared with the prior art, the invention has the beneficial effects that:
in the scheme of the invention, the magnifying glass at the upper left corner of the screen is used in a translation process, so that the situation that the fingers of the graph are moved to shield the sight line to cause the position deviation of the geometric translation object in the process of translating the geometric translation object by a user can be effectively avoided; in the translation process, the anchor points are used and combined with the magnifying glass, so that accurate matching of the graphs is achieved. Particularly, in some common-edge graph translation, a user drags an anchor point, and node matching can be carried out on the anchor point and a graph which needs to be common-edge within the anchor point range, so that graph seamless splicing is realized; the method is convenient for investigators to edit, modify and draw the geometric figure in the field of field operation, and improves the editing effect of field operation data; editing operation of point, line and surface graphic objects can be carried out through the functions of node movement, node addition, node deletion, trimming, line segmentation, surface segmentation, combination, automatic tracking of public edges, cutting and the like; the method adopts the combination operation of the geometric figure anchor point and the magnifier, so that a user can accurately carry out automatic matching of the moving figure anchor point and other figure nodes, and the user can easily move the geometric figure to an ideal position; and through the multiple data editing tools provided for the user, the user can edit data in the field more conveniently and efficiently.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic view of a translation process according to the present invention;
FIG. 2 is a schematic view of the trimming process of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1-2, a GIS data editing method translates a graph to be edited to a designated position, and finishes editing after performing point adjustment, edge adjustment and surface processing operations on the translated graph;
s10) selecting the geometric figure to be translated
When the geometric figure needing translation is selected, at least one geometric figure is selected, and the geometric figure is highlighted on a screen when the selection is completed;
s11) click translation tool
After a user clicks a translation tool, an anchor point is generated in a translation geometric figure, and a schematic circle of an anchor point range is displayed around the anchor point;
s12) finger-clicking the geometry to be moved
Determining a geometric figure needing to be moved according to the range of the anchor point clicked by the finger;
s13) determining whether the position of the finger click is within the anchor point range
If the position clicked by the finger of the user is not in the representation range of the anchor point of the geometric figure, the mobile terminal re-matches the node closest to the geometric figure as the anchor point;
if the position clicked by the finger of the user is within the anchor point range of the geometric figure, pressing the anchor point, and moving the geometric object;
s14) pressing anchor point, moving geometric object
When the user presses the anchor point with a finger to drag the geometric figure, a magnifier for magnifying and displaying data information near the anchor point with the finger is appeared at the upper left of the screen, the current anchor point position is observed by sliding the finger with the magnifier, and step S15 is executed);
s15) determining whether anchor points are close to other graph nodes
If the anchor point is close to other graph nodes, the mobile terminal captures the graph nodes until the graph moves to the designated position and then lifts the fingers; otherwise, directly lifting the finger;
s16) determining whether to end the panning operation
When the user finishes moving the geometric figure and lifts the finger, a message box for finishing the figure movement appears on the left side of the screen, and if the user clicks the message prompt box, the moving operation is finished; if the user does not click the ending prompt box, the geometric figure needing to be moved is determined again, and translation operation is carried out;
s17) rendering the translation result
And after the user finishes the translation operation, the mobile terminal can perform re-rendering on the current screen data.
In the method, when the geometric object is moved, if the anchor point is close to other graph nodes, the anchor point automatically captures the graph nodes and then lifts fingers; otherwise, directly lifting the finger to finish the graph translation; if the graph translation result is satisfied, rendering the translation result, otherwise, re-clicking the geometric graph to be moved by the fingers; the method is convenient for investigators to edit, modify and draw the geometric figure in the field of field operation, and improves the editing effect of field operation data; editing operation of point, line and surface graphic objects can be carried out through the functions of node movement, node addition, node deletion, trimming, line segmentation, surface segmentation, combination, automatic tracking of public edges, cutting and the like; the method adopts the combination operation of the geometric figure anchor point and the magnifier, so that a user can accurately carry out automatic matching of the moving figure anchor point and other figure nodes, and the user can easily move the geometric figure to an ideal position; and through the multiple data editing tools provided for the user, the user can edit data in the field more conveniently and efficiently.
Specific examples are given below.
As shown in fig. 1, the graph translation steps are:
(1) step S10 selects the geometry that needs to be translated:
when the user selects the geometric figure to be translated, one figure or a plurality of figures can be selected, and the mobile terminal can highlight the figure selected by the user. In this way, the user can be made more clear to know which geometries to perform the panning operation.
(2) Step S11 clicks the translation tool:
after the user clicks the translation tool, the mobile terminal may appear an anchor point in the translated geometric figure and display a green circle representing the anchor point range. In this way, it can be used for subsequent method determination and subsequent user movement geometry operations.
(3) Step S12 the finger clicks on the geometry to be moved:
the positions clicked by the fingers of the user are different, and the operation performed by the mobile terminal is also different.
(4) Step S13 determines whether the finger-pressed position is within the anchor point range.
If the position clicked by the finger of the user is not in the representation range of the anchor point of the geometric figure, step S141 is executed, and the method matches the closest node of the geometric figure again as the anchor point; if the position clicked by the user' S finger is within the anchor point of the geometric figure, step operation S142 will be performed.
(5) Step S14 holds down the anchor point and moves the geometric object.
When a user presses the anchor point with a finger to drag the geometric figure, a magnifier appears at the upper left of the screen and is used for magnifying and displaying data information near the anchor point pressed by the finger. The user can use the magnifier to check the matching condition of the anchor point and other nodes;
(6) step S15 is to determine whether anchor points are close to other graph nodes
And judging whether the anchor point is close to the geometric figure node to be matched, and performing node matching. If the user moves the geometric figure to the ideal position, i.e. after step S151 is executed to capture the node, the user lifts the finger; otherwise, directly lifting the finger; in this way, the user can precisely move the geometric image to a desired position.
(7) Step S16 determines whether to end the panning operation.
When the user finishes moving the geometric figure and lifts the finger, a message box for finishing moving the figure appears on the left side of the screen, and if the user clicks the message prompt box, the moving operation is finished and the step S17 is executed; if the user does not click the end prompt box, the process may jump to step S13 to continue the panning operation. By adopting the message prompt box, the user can be informed in time, and can independently select to finish the current translation operation or continue to perform the geometric figure translation, so that the user operation is simpler and more convenient.
(8) Step S17 renders the translation result.
And after the user finishes the translation operation, the mobile terminal can perform re-rendering on the current screen data.
After the graph is translated, point adjustment, edge adjustment and surface processing operations are further executed on the translated graph, and then editing is completed.
Specifically, the point editing comprises point shifting, point adding, point deleting, merging, scattering, deleting, canceling and restoring; the edge adjustment comprises trimming, dividing and edge sharing;
the point shifting, point adding and point deleting: the user selects a graph of a node to be operated, if the user wants to move the node, after a point moving tool is selected, the user lifts the finger to drag the node to a desired position, and the finger is lifted to click to finish moving the node; if points are added, after a point adding tool is selected, clicking a place needing to add the nodes on the graph boundary, namely adding one node, and clicking the completion tool to finish the point adding function; if the point is to be deleted, after a point deleting tool is selected, a finger selects a node to be deleted on a graph boundary, the node can be deleted, and then the function of deleting the point is finished by clicking;
if the selected node is a common node of the two graphs, the two graphs need to be selected simultaneously during operation, and then corresponding operation is executed.
The merging and scattering steps are as follows: the user selects a graph by using a selection tool, clicks the merging tool if merging is required, pops up a graph object interactive interface to which the attribute of the selected and merged graph object is attached, the user needs to select and reserve the attribute of the graph object as the attribute of the merged graph object, the selected graph object is highlighted by filling color, and then clicks to determine that graph merging is finished; the merging tool can also merge non-adjacent graphs, namely selected graphs are merged into a combined body; the scattering is used for recovering a graph set formed by combining a plurality of non-adjacent graphs into an independent graph;
the steps of deleting, canceling and recovering are as follows: if the user wants to delete the geometric figure, the geometric figure to be deleted is selected, and the geometric object can be deleted by clicking the geometric figure to be deleted; if the user wrongly executes a certain editing operation, a cancel button can be clicked; if the user wants to recover the previous operation after canceling, the user can click the recovery button to recover
The edge adjustment comprises trimming, dividing and sharing;
the trimming step comprises the following steps: and selecting a graph to be trimmed by using a selection tool, clicking a trimming function to draw a new boundary line by using a finger, and clicking a finishing tool to finish boundary correction. Note that: if the common edge of the two graphs needs to be corrected, the two graphs need to be selected at the same time, and then the boundary is corrected by using a trimming tool.
The segmentation comprises line segmentation and face segmentation;
the line segmentation step is as follows: the method can be used for dividing the geometric figure and carrying out geometric figure island processing. Whether graph division or island processing is carried out, firstly, a selection tool is used for selecting a geometric graph to be processed; if the user wants to perform geometric figure segmentation, the segmentation line tool is clicked to draw the segmentation line by using fingers, and the segmentation line can also be automatically drawn in a single-point actual measurement and continuous point collection mode. Clicking a finishing tool after the drawing of the dividing line is finished to finish the graph division;
if the user wants to perform graphic island processing, clicking a line dividing tool to draw a self-intersecting line at a position needing the island processing, and then clicking a finishing tool to finish the island processing;
the surface dividing step comprises: for resolving overlay errors between two graphics. The result of the surface segmentation processing is that the selected cutting graphic object is used for cutting another graphic object, and the cut graphic object loses the overlapping part; the user selects the graph to be subjected to the surface segmentation operation by using the selection tool, clicks the surface segmentation tool, pops up a graph object window selected for cutting, and the selected graph is highlighted by filling color; then clicking a determining button to finish surface segmentation; the surface segmentation can also be used for carrying out island processing, and firstly, a user uses a drawing tool in a data acquisition module to draw a graph at a position needing island processing. Then selecting two graphs, clicking a surface segmentation tool, popping up a graph object window selected for cutting, selecting a smaller graph, and clicking a determination button to complete segmentation.
The edge sharing step is as follows: the user uses a selection tool to select one or more graphs needing to track the common edge, clicks the common edge tool, delineates the non-common edge part, and clicks the completion tool to complete the capture of the common edge; the user can also use the common edge tool to fill the graphs, and when one graph surrounded by a plurality of graphs is deleted by mistake, one graph can be drawn in a node capturing mode, but the operation is troublesome. The user can select all adjacent graphs by using the selection tool, then click the common edge tool to draw a common edge boundary, and then click to finish, so that the two graphs are automatically filled. And finally, combining the generated graphs into one graph by using a combination tool.
The trimming method comprises the following steps:
s20) click edit tool box
Clicking an editing tool box by using a finger to enter an editing operation;
s21) whether there is a selected geometric figure
Lifting the finger to click the geometric figure, if the geometric figure is selected by the finger, executing the step S30), otherwise, the editing tool cannot be used;
s22) clicking trimming tool
Clicking a trimming tool in the editing tool by a finger to execute trimming operation; when the trimming operation is executed, the mobile terminal draws a line passing through the selected geometric figure in a drawing mode; and after the drawing is finished, confirming that the geometric figure is drawn completely by clicking with a finger.
S23) whether the drawing line intersects with the selected geometric figure
If the drawing line is intersected with the selected geometric figure, further judging whether the drawing line is intersected in the selected figure; otherwise, executing step S24);
if the drawing lines are self-intersected in the selected graph, executing the step S24); otherwise, replacing the shorter side of the selected graph with the drawing line, and then executing the step S25);
s24), finishing trimming, and rendering the current screen data
If the drawing line is not intersected with the selected geometric figure or the drawing line is intersected in the selected figure, clicking the trimming tool by a finger to finish the trimming operation; and performing rendering operation on the current screen data;
s25), finishing trimming, and rendering the current screen data;
and clicking the trimming tool by a finger, finishing the trimming operation and rendering the current screen data.
The method is convenient for investigators to edit, modify and draw the geometric figure in the field of field operation, and improves the editing effect of field operation data; editing operation of point, line and surface graphic objects can be carried out through the functions of node movement, node addition, node deletion, trimming, line segmentation, surface segmentation, combination, automatic tracking of public edges, cutting and the like; the method adopts the combination operation of the geometric figure anchor point and the magnifier, so that a user can accurately carry out automatic matching of the moving figure anchor point and other figure nodes, and the user can easily move the geometric figure to an ideal position; and through the multiple data editing tools provided for the user, the user can edit data in the field more conveniently and efficiently.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (6)

1. A GIS data editing method is characterized in that: translating the graph to be edited to a specified position, and performing point adjustment, edge adjustment and surface processing on the translated graph to finish editing;
the graphic translation step is as follows:
s10) selecting the geometric figure to be translated
When the geometric figure needing translation is selected, at least one geometric figure is selected, and the geometric figure is highlighted on a screen when the selection is completed;
s11) click translation tool
After a user clicks a translation tool, an anchor point is generated in a translation geometric figure, and a schematic circle of an anchor point range is displayed around the anchor point;
s12) finger-clicking the geometry to be moved
Determining a geometric figure needing to be moved according to the range of the anchor point clicked by the finger;
s13) determining whether the position of the finger click is within the anchor point range
If the position clicked by the finger of the user is not in the representation range of the anchor point of the geometric figure, the mobile terminal re-matches the node closest to the geometric figure as the anchor point;
if the position clicked by the finger of the user is within the anchor point range of the geometric figure, pressing the anchor point, and moving the geometric object;
s14) pressing anchor point, moving geometric object
When the user presses the anchor point with a finger to drag the geometric figure, a magnifier for magnifying and displaying data information near the anchor point with the finger is appeared at the upper left of the screen, the current anchor point position is observed by sliding the finger with the magnifier, and step S15 is executed);
s15) determining whether anchor points are close to other graph nodes
If the anchor point is close to other graph nodes, the mobile terminal captures the graph nodes until the graph moves to the designated position and then lifts the fingers; otherwise, directly lifting the finger;
s16) determining whether to end the panning operation
When the user finishes moving the geometric figure and lifts the finger, a message box for finishing the figure movement appears on the left side of the screen, and if the user clicks the message prompt box, the moving operation is finished; if the user does not click the ending prompt box, the geometric figure needing to be moved is determined again, and translation operation is carried out;
s17) rendering the translation result
After the user finishes the translation operation, the mobile terminal performs re-rendering on the current screen data;
the point adjustment comprises point shifting, point adding and point deleting; the edge adjustment comprises trimming, dividing and edge sharing; the surface processing comprises merging, scattering, deleting, canceling and recovering;
the steps of point shifting, point adding and point deleting are as follows: the user selects a graph as an operation node, and after a point moving tool is selected if the point is to be moved, the finger drags the node to a specified position, and the finger is lifted to click to finish the point moving; if points are added, after a point adding tool is selected, clicking a place needing to add the nodes on the graph boundary, namely adding one node, and clicking the completion tool to finish the point adding function; if the point is to be deleted, after a point deleting tool is selected, a finger selects a node to be deleted on a graph boundary, the node can be deleted, and then the function of deleting the point is finished by clicking; if the selected node is a common node of the two graphs, the two graphs need to be selected simultaneously when the operation is executed;
the trimming step comprises the following steps: selecting a graph to be trimmed by using a selection tool, clicking a trimming function, drawing a new boundary line by using a finger, and clicking a finishing tool to finish boundary correction; if the common edge of the two graphs needs to be corrected, the two graphs need to be selected at the same time, and then a trimming tool is used for correcting the boundary;
the segmentation comprises line segmentation and comprises the following steps: the method can be used for dividing geometric figures and carrying out geometric figure island processing; whether graph division or island processing is carried out, firstly, a selection tool is used for selecting a geometric graph to be processed; if the user wants to perform geometric figure segmentation, the segmentation line tool is clicked to draw the segmentation line by using fingers, and the segmentation line can also be automatically drawn in a single-point actual measurement and continuous point collection mode; clicking a finishing tool after the drawing of the dividing line is finished to finish the graph division; if the user wants to perform graphic island processing, clicking a line dividing tool to draw a self-intersecting line at a position needing the island processing, and then clicking a finishing tool to finish the island processing;
the segmentation also comprises surface segmentation, and the steps are as follows: the method is used for solving the superposition error between the two graphs; the result of the surface segmentation processing is that the selected cutting graphic object is used for cutting another graphic object, and the cut graphic object loses the overlapping part; the user selects the graph to be subjected to the surface segmentation operation by using the selection tool, clicks the surface segmentation tool, pops up a graph object window selected for cutting, and the selected graph is highlighted by filling color; then clicking a determining button to finish surface segmentation; the surface segmentation can also be used for carrying out island processing, and firstly, a user uses a drawing tool in a data acquisition module to draw a graph at a position needing island processing; then selecting two graphs, clicking a surface segmentation tool, popping up a graph object window selected for cutting, selecting a smaller graph, and clicking a determination button to complete segmentation;
the edge sharing step comprises the following steps: the user uses a selection tool to select one or more graphs needing to track the common edge, clicks the common edge tool, delineates the non-common edge part, and clicks the completion tool to complete the capture of the common edge; the user can also use a common edge tool to fill the graphs, and when one graph surrounded by a plurality of graphs is deleted by mistake, one graph can be drawn in a node capturing mode, but the operation is troublesome; the user can select all adjacent graphs by using the selection tool, then click the common edge tool, draw a common edge boundary, and then finish clicking to automatically fill up the two graphs; finally, combining the generated graphs into a graph by using a combination tool;
the steps of merging and scattering are as follows: the user selects a graph by using a selection tool, clicks the merging tool if merging is required, pops up a graph object interactive interface to which the attribute of the selected and merged graph object is attached, the user needs to select and reserve the attribute of the graph object as the attribute of the merged graph object, the selected graph object is highlighted by filling color, and then clicks to determine that graph merging is finished; the merging tool can also merge non-adjacent graphs, namely selected graphs are merged into a combined body; the scattering is used for recovering a graph set formed by combining a plurality of non-adjacent graphs into an independent graph;
the deleting, the canceling and the recovering steps are as follows: if the user wants to delete the geometric figure, the geometric figure to be deleted is selected, and the geometric object can be deleted by clicking the geometric figure to be deleted; if the user wrongly executes a certain editing operation, a cancel button can be clicked; if the user wants to recover the previous operation after the user cancels, the user can click a recovery button to recover.
2. The GIS data editing method according to claim 1, wherein:
the step S10), the selection of the geometric figure to be moved is completed by clicking one or more geometric figures with a finger, and the selected figure is highlighted on the screen after the finger click is determined.
3. The GIS data editing method according to claim 1, wherein:
and when the anchor point and the anchor point range appear in S11), the mobile terminal determines whether the operation of moving the graphic or editing the point, line, or plane is required.
4. The GIS data editing method according to claim 1, wherein:
the S13) is executed by the following procedure:
the mobile terminal judges that when the finger pressing position is not in the anchor point range, step S131) is executed;
s131) reselect a node in the graph as an anchor point.
5. The GIS data editing method according to claim 1, wherein:
the S15) is executed by the following procedure:
if the mobile terminal judges that the anchor point is close to other graph nodes; step S151) is executed, otherwise step S152) is executed;
s151) judging whether the anchor point is close to other graph nodes;
s152) the anchor point automatically captures the node.
6. The GIS data editing method according to claim 1, wherein:
the trimming operation comprises the following steps:
s20) click edit tool box
Clicking an editing tool box by using a finger to enter an editing operation;
s21) whether there is a selected geometric figure
Lifting the finger to click the geometric figure, if the geometric figure is selected by the finger, executing the step S30), otherwise, the editing tool cannot be used;
s22) clicking trimming tool
Clicking a trimming tool in the editing tool by a finger to execute trimming operation; when the trimming operation is executed, the mobile terminal draws a line passing through the selected geometric figure in a drawing mode; after the drawing is finished, clicking by a finger to confirm that the geometric figure is drawn;
s23) whether the drawing line intersects with the selected geometric figure
If the drawing line is intersected with the selected geometric figure, further judging whether the drawing line is intersected in the selected figure; otherwise, executing step S24);
if the drawing lines are self-intersected in the selected graph, executing the step S24); otherwise, replacing the shorter side of the selected graph with the drawing line, and then executing the step S25);
s24), finishing trimming, and rendering the current screen data
If the drawing line is not intersected with the selected geometric figure or the drawing line is intersected in the selected figure, clicking the trimming tool by a finger to finish the trimming operation; and performing rendering operation on the current screen data;
s25), finishing trimming, and rendering the current screen data
And clicking the trimming tool by a finger, finishing the trimming operation and rendering the current screen data.
CN201910865419.6A 2019-09-12 2019-09-12 GIS data editing method Active CN110554820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910865419.6A CN110554820B (en) 2019-09-12 2019-09-12 GIS data editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910865419.6A CN110554820B (en) 2019-09-12 2019-09-12 GIS data editing method

Publications (2)

Publication Number Publication Date
CN110554820A CN110554820A (en) 2019-12-10
CN110554820B true CN110554820B (en) 2021-04-13

Family

ID=68740319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910865419.6A Active CN110554820B (en) 2019-09-12 2019-09-12 GIS data editing method

Country Status (1)

Country Link
CN (1) CN110554820B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475094B (en) * 2020-03-23 2022-03-08 深圳市富途网络科技有限公司 Reference diagram editing method and device for diagram and computer readable storage medium
CN114265526B (en) * 2021-12-10 2023-07-28 北京金堤科技有限公司 Map scaling method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202748770U (en) * 2012-04-19 2013-02-20 潘晓雷 Mobile terminal for regulating screen touch input range in self-adaptive mode
CN103903292A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Method and system for realizing head portrait editing interface
CN103984750A (en) * 2014-05-28 2014-08-13 中铁十局集团有限公司 B/S (Browser/Server) framework model based topological graph generation method
CN105739890A (en) * 2016-01-27 2016-07-06 深圳市奥拓电子股份有限公司 Interaction method and device of touch screen interface
CN110097612A (en) * 2019-04-02 2019-08-06 北京大麦地信息技术有限公司 A kind of method and device of online graphing element

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140108982A1 (en) * 2012-10-11 2014-04-17 Microsoft Corporation Object placement within interface
US20160125628A1 (en) * 2014-11-05 2016-05-05 Geologis Ltd. Geographical information systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202748770U (en) * 2012-04-19 2013-02-20 潘晓雷 Mobile terminal for regulating screen touch input range in self-adaptive mode
CN103903292A (en) * 2012-12-27 2014-07-02 北京新媒传信科技有限公司 Method and system for realizing head portrait editing interface
CN103984750A (en) * 2014-05-28 2014-08-13 中铁十局集团有限公司 B/S (Browser/Server) framework model based topological graph generation method
CN105739890A (en) * 2016-01-27 2016-07-06 深圳市奥拓电子股份有限公司 Interaction method and device of touch screen interface
CN110097612A (en) * 2019-04-02 2019-08-06 北京大麦地信息技术有限公司 A kind of method and device of online graphing element

Also Published As

Publication number Publication date
CN110554820A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
EP3049975B1 (en) Systems and methods for validating and correcting automated medical image annotations
KR101626231B1 (en) Inspection area setting method for image inspecting device
CN110554820B (en) GIS data editing method
KR101719088B1 (en) Method for partitioning area, and inspection device
US6654497B1 (en) Image processing apparatus, method and storage medium
CN110892255A (en) Image processing apparatus, image processing method, and program for detecting defects from an image
US20220270232A1 (en) Apparatus for adjusting parameter related to defect detection for image processing for image processing, method for information processing, and program
JP3802322B2 (en) Method and apparatus for extracting object in moving image
JP6246287B1 (en) Medical image processing apparatus and program
US6806878B2 (en) Graphic editing apparatus for adding or deleting curve to/from graphics by interactive processing
CN111652868A (en) Method and device for setting vision measurement system and method for measuring product
JP3943623B2 (en) Image editing apparatus and control method thereof
JP4908867B2 (en) Geographic image processing system
CN110609882B (en) GIS mobile terminal data processing method capable of preventing blocking
JP5074622B2 (en) Geographic image processing system
CN114628011A (en) Human-computer interaction method of ultrasonic device, ultrasonic device and storage medium
JPH0795385A (en) Method and device for clipping picture
CN110597428B (en) GIS data acquisition method
JP4047368B2 (en) Image editing apparatus and control method thereof
CN117950561B (en) ArcGIS and photoshop automatic linkage image processing method and device
JP6949671B2 (en) Information processing device, image area selection method, computer program, and storage medium
Savalia et al. Processing & editing overview
JPH1153561A (en) Device and method for searching route, generating contour curve as well as editing contour curve, and storage medium with recorded program
CN117950561A (en) ArcGIS and photoshop automatic linkage image processing method and device
CN116468988A (en) Image labeling method, system and equipment based on self-adaptive threshold semantic segmentation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A GIS Data Editing Method

Effective date of registration: 20220901

Granted publication date: 20210413

Pledgee: Xi'an innovation financing Company limited by guarantee

Pledgor: XI AN REMOTE SENSING SCIENCE & TECHNOLOGY OF INFORMATION Co.,Ltd.

Registration number: Y2022610000558

PE01 Entry into force of the registration of the contract for pledge of patent right