CN116152381B - Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data - Google Patents

Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data Download PDF

Info

Publication number
CN116152381B
CN116152381B CN202310192601.6A CN202310192601A CN116152381B CN 116152381 B CN116152381 B CN 116152381B CN 202310192601 A CN202310192601 A CN 202310192601A CN 116152381 B CN116152381 B CN 116152381B
Authority
CN
China
Prior art keywords
offset
line
prolonged
pattern
spots
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
CN202310192601.6A
Other languages
Chinese (zh)
Other versions
CN116152381A (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.)
Yunnan Yunjindi Technology Co ltd
Kunming University of Science and Technology
Original Assignee
Yunnan Yunjindi Technology Co ltd
Kunming University of Science and Technology
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 Yunnan Yunjindi Technology Co ltd, Kunming University of Science and Technology filed Critical Yunnan Yunjindi Technology Co ltd
Priority to CN202310192601.6A priority Critical patent/CN116152381B/en
Publication of CN116152381A publication Critical patent/CN116152381A/en
Application granted granted Critical
Publication of CN116152381B publication Critical patent/CN116152381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

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

Abstract

The invention relates to a method for drawing strip-shaped image spots fitted according to a reference image layer in GIS data, which comprises the following steps: step 1: drawing a broken line L1 along the strip-shaped reference graph, wherein the end points of the drawn broken line L1 are a P1 point and a P2 point; step 2: setting the width D of the ground object; step 3: judging whether the fold line L1 is to be prolonged or not according to a judging method, and if the fold line L1 is to be prolonged, prolonging the fold line L1 in a prolonged mode, wherein the prolonged line is L2; step 4: offsetting the lengthened line L2; the offset comprises a left offset or a right offset or two-side offset; step 5: a wire structure surface; step 6: searching the associated pattern spots to form a pattern spot list T; step 7: cutting the new structure surface. The invention cuts the newly generated graph by the associated reference graph, so that the fitting of the new graph and the reference graph at the end is more accurate.

Description

Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data
Technical Field
The invention belongs to the technical field of drawing methods of image spots, and particularly relates to the technical field of a method for drawing strip-shaped image spots fitted according to a reference image layer in GIS data.
Background
Before 1:10000 land present data show that roads and rivers are represented in a linear pattern, and 1:5000 scale or greater scale, road and river will all be expressed with the planar figure, and planar figure is favorable to simplifying data structure's complexity, also can bring very big convenience for subsequent data application. The database after the completion of the initial survey data needs to be updated every year, which requires that the initial survey database be updated by drawing up the spots of newly added or changed roads and rivers.
Referring to fig. 1, the conventional drawing method for drawing roads and rivers is two, the first method is to draw single lines and then buffer the generated surface, but the first method has two disadvantages, namely that the corner is an arc, the second method is not well fitted with other image spots at the position where the end needs to be connected, and the workload of later data processing is increased; the second way is to draw along the contour of the road and river, which requires a relatively long time. The method provides a concept of drawing the graph to solve the problems of arc at the corner, end edge connection and drawing efficiency.
Technical disclosures relating to the striped patch drawing solutions were not retrieved by the retrieval.
Disclosure of Invention
The invention aims to solve the defects, and provides a method for drawing stripe pattern spots fitted according to a reference pattern layer in GIS data.
The invention is realized by adopting the following technical scheme.
A method for drawing stripe pattern spots fitted according to a reference pattern layer in GIS data comprises the following steps:
step 1: drawing a broken line L1 along the strip-shaped reference graph, wherein the end points of the drawn broken line L1 are a P1 point and a P2 point;
step 2: setting the width D of the ground object;
step 3: judging whether the fold line L1 is to be prolonged or not according to the judging method, and if the fold line L1 is to be prolonged, prolonging the fold line L1 in a prolonged mode, wherein the prolonged line is L2.
Step 4: offsetting the lengthened line L2; the offset comprises a left offset or a right offset or two-side offset;
step 5: a wire structure surface;
step 6: searching the associated pattern spots to form a pattern spot list T;
step 7: cutting the new structure surface.
The judging method of the step 3 comprises the following steps: whether the fold line L1 needs to be lengthened is based on whether the endpoints P1 and P2 are on the boundaries of other surfaces, and if the endpoints P1 and P2 are on the boundaries, the corresponding ends are lengthened.
The extension mode of the step 3 is as follows: endpoint of polyline L1: the straight lines formed by the P1 and the P2 and the previous nodes respectively are linearly prolonged, the previous node of the P1 is P3, and the previous node of the P2 is P4; the extended distance is 1 time of the width D of the ground object; the extended line is L2, and the endpoints are point P5 and point P6.
The left offset in the step 4 of the present invention is: l2 is shifted left along the drawing direction, the offset is 1 time the width D of the ground object, and the left offset line is L3.
The right offset in the step 4 of the present invention is: and (3) right-shifting L2 along the drawing direction, wherein the shift amount is 1 time of the width D of the ground object, and the right-shifting line is L4.
The offset of the two sides in the step 4 is: l2 is shifted left and right along the drawing direction, the offset is 0.5 times the width D of the ground feature, and the lines after the shifting are L5 and L6.
The invention comprises the following step 5: the wire structure surface is: drawing a structural plane A1 formed by L2 and a left offset line of the left offset pattern; drawing a structural plane A2 formed by L2 and a right offset line of the right offset pattern; drawing a structural surface A3 of the two-side offset pattern spots formed by two-side offset lines; the two ends of the structural surface A1 or A2 or A3 are connected by straight lines.
The invention comprises the following step 6: searching the associated pattern spots to form a pattern spot list T as follows: if the P1 end is prolonged, searching for a joint map spot by using a circle with the P5 as a circle center and 0.5D as a radius; if the P2 end is also prolonged, a circle with the P6 as the center and 0.5D as the radius is used for searching the associated pattern spots.
The invention comprises the following step 7: the new structure surface is cut: and sequentially cutting newly constructed structural planes A1, A2 or A3 by using the pattern spots in the T to obtain a final result A.
Compared with the prior art, the invention has the beneficial effects that,
1. drawing a single line to generate a strip-shaped pattern spot, avoiding drawing a whole circle around the outline of the ground object, and obviously improving the data production efficiency;
2. the problem of arc segments caused by line buffering is effectively avoided by using a line offset mode;
3. and cutting the newly generated graph by using the associated reference graph, so that the fitting of the new graph with the reference graph at the end is more accurate.
The invention is further explained below with reference to the drawings and the detailed description.
Drawings
FIG. 1 is a schematic diagram of a prior art defect;
FIG. 2 is a schematic diagram of step 1;
FIG. 3 is a schematic diagram of step 3;
FIG. 4 is a schematic diagram of step 4;
FIG. 5 is a schematic diagram of step 5;
FIG. 6 is a schematic diagram of step 6;
FIG. 7 is a schematic diagram of step 7;
FIG. 8 is a diagram illustrating a comparison of an embodiment of the present invention;
FIG. 9 is a schematic diagram of the steps of the present invention.
Detailed Description
See fig. 1, 2, 3, 4, 5, 6, 7, 8, 9.
A method for drawing stripe pattern spots fitted according to a reference pattern layer in GIS data comprises the following steps:
(1) And drawing a broken line (L1), wherein the end points of the drawn line are a P1 point and a P2 point.
(2) The width (D) of the feature to be drawn is input and the offset mode of the drawing line is selected, and the offset mode is divided into left offset, right offset and two-side offset. Left and right refer to drawing directions with respect to a line.
(3) And if the two ends of the line segment need to be prolonged, judging whether the end points P1 and P2 of the line are on the boundaries of other surfaces, and if the end points P1 and P2 are on the boundaries, prolonging the corresponding ends. The extending mode is that straight lines formed by endpoints (P1, P2) of the drawing line and the previous node (P3 is the previous node of the P1, and P4 is the previous node of the P2) are extended linearly, and the extending distance is 1 time of the width (D) of the ground feature. The extended line is L2, and the endpoints are point P5 and point P6.
(4) The extended line L2 is shifted according to a selected shifting mode, if the shifting mode is left shifting or right shifting, the shifting amount is 1 time of the feature width (D), the left shifting line is L3, and the right shifting line is L4; the offset of two sides is 0.5 times (0.5 x D) of the width of the ground object, and the offset lines are L5 and L6.
(5) The left offset pattern is formed by an L2 and L3 forming surface (A1), the right offset pattern is formed by an L2 and L4 forming surface (A2), the two offset pattern is formed by an L5 and L6 forming surface (A3), and the two ends are connected by straight lines.
(6) And searching the associated image spots, if the P1 end is prolonged, searching the associated image spots by using a circle with the P5 as the center of a circle and the radius of 0.5D, and if the P2 end is prolonged, searching the associated image spots by using a circle with the P6 as the center of a circle and the radius of 0.5D. These spots form a spot list T.
(7) And cutting the newly constructed surface, and sequentially cutting the newly constructed surface (A1, A2 or A3) by using the pattern spots in the T to obtain a final result (A).
(8) And (5) storing A.
Examples:
in the actual data production of a certain geographic area, a drawing tool is used for drawing a broken line first, then an operator sets the actual ground object width and the offset mode, and the offset mode can only select one of left offset, right offset and two-side offset, and a new face polygon is constructed according to parameters.
The basic operation steps are as follows: (1) drawing a broken line; (2) determining the width of the ground object and selecting an offset mode; (3) confirming the newly constructed face polygon.
The above steps are repeated, thereby completing the data production of such stripe pattern spots.
What has been described above is only a part of the specific embodiments of the present invention, and the specific contents or common knowledge known in the art are not described herein too much (including but not limited to shorthand, abbreviations, units commonly used in the art). It should be noted that the above embodiments do not limit the present invention in any way, and it is within the scope of the present invention for those skilled in the art to obtain the technical solution by equivalent substitution or equivalent transformation. The protection scope of the present application shall be subject to the content of the claims, and the description of the specific embodiments and the like in the specification can be used for explaining the content of the claims.

Claims (8)

1. The method for drawing the strip-shaped pattern spots fitted according to the reference pattern layer in the GIS data is characterized by comprising the following steps of:
step 1: drawing a broken line L1 along the strip-shaped reference graph, wherein the end points of the drawn broken line L1 are a P1 point and a P2 point;
step 2: setting the width D of the ground object;
step 3: judging whether the fold line L1 is to be prolonged or not according to a judging method, and if the fold line L1 is to be prolonged, prolonging the fold line L1 in a prolonged mode, wherein the prolonged line is L2; the judging method comprises the following steps: whether the fold line L1 needs to be lengthened is judged by taking whether the endpoints P1 and P2 of the fold line are on the boundaries of other surfaces or not, and if the endpoints P1 and P2 are on the boundaries, the corresponding ends are lengthened; the extension mode is as follows: endpoint of polyline L1: the straight lines formed by the P1 and the P2 and the previous nodes respectively are linearly prolonged, the previous node of the P1 is P3, and the previous node of the P2 is P4; the extended line is L2, and the endpoints are P5 point and P6 point;
step 4: offsetting the lengthened line L2; the offset comprises a left offset or a right offset or two-side offset;
step 5: a wire structure surface;
step 6: searching the associated pattern spots to form a pattern spot list T;
step 7: cutting the new structure surface.
2. The method for drawing stripe pattern spots fitted to reference patterns in GIS data according to claim 1, wherein the extended distance in step 3 is 1 time the width D of the ground object.
3. The method of claim 1, wherein the left offset in step 4 is: l2 is shifted left along the drawing direction, the offset is 1 time the width D of the ground object, and the left offset line is L3.
4. The method of claim 1, wherein the right offset in step 4 is: and (3) right-shifting L2 along the drawing direction, wherein the shift amount is 1 time of the width D of the ground object, and the right-shifting line is L4.
5. The method for drawing stripe pattern spots according to reference layer fitting in GIS data according to claim 1, wherein the two sides of the step 4 are offset: l2 is shifted left and right along the drawing direction, the offset is 0.5 times the width D of the ground feature, and the lines after the shifting are L5 and L6.
6. A method for mapping stripe pattern points fitted to reference pattern layers in GIS data according to claim 3, wherein said step 5: the wire structure surface is: drawing a structural plane A1 formed by L2 and a left offset line of the left offset pattern; drawing a structural plane A2 formed by L2 and a right offset line of the right offset pattern; drawing a structural surface A3 of the two-side offset pattern spots formed by two-side offset lines; the two ends of the structural surface A1 or A2 or A3 are connected by straight lines.
7. The method for drawing stripe pattern spots according to reference layer fitting in GIS data according to claim 5, wherein the step 6: searching the associated pattern spots to form a pattern spot list T as follows: if the P1 end is prolonged, searching for a joint map spot by using a circle with the P5 as a circle center and 0.5D as a radius; if the P2 end is also prolonged, a circle with the P6 as the center and 0.5D as the radius is used for searching the associated pattern spots.
8. The method for drawing stripe pattern spots according to reference layer fitting in GIS data according to claim 7, wherein the step 7: the new structure surface is cut: and sequentially cutting newly constructed structural planes A1, A2 or A3 by using the pattern spots in the T to obtain a final result A.
CN202310192601.6A 2023-03-02 2023-03-02 Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data Active CN116152381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310192601.6A CN116152381B (en) 2023-03-02 2023-03-02 Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310192601.6A CN116152381B (en) 2023-03-02 2023-03-02 Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data

Publications (2)

Publication Number Publication Date
CN116152381A CN116152381A (en) 2023-05-23
CN116152381B true CN116152381B (en) 2024-03-26

Family

ID=86361744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310192601.6A Active CN116152381B (en) 2023-03-02 2023-03-02 Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data

Country Status (1)

Country Link
CN (1) CN116152381B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117849760B (en) * 2024-03-07 2024-05-14 云南云金地科技有限公司 Laser radar point cloud data processing method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651609A (en) * 2016-09-27 2017-05-10 云南大学 Auxiliary information system and method of remote-sensing monitoring for mineral resource exploitation environment
CN109636870A (en) * 2018-12-04 2019-04-16 中国测绘科学研究院 A kind of long and narrow figure spot piecemeal melts method and device
CN109859109A (en) * 2018-12-29 2019-06-07 中国人民解放军61540部队 A kind of Serial Scale PDF map seamless organization and display methods
CN109977187A (en) * 2019-03-21 2019-07-05 山西省煤炭地质物探测绘院 A kind of acquisition tune of land investigation data draws method and system
CN110648120A (en) * 2019-09-29 2020-01-03 国家林业和草原局西北调查规划设计院 Online forest resource supervision method based on mobile internet
CN112200857A (en) * 2020-09-22 2021-01-08 贵州省水利水电勘测设计研究院有限公司 Land area automatic quantity calculation method for land acquisition and migration
CN114898095A (en) * 2022-05-07 2022-08-12 南京信息工程大学 Data compiling method for linear characteristic pattern spots in national soil survey
CN115270904A (en) * 2022-04-13 2022-11-01 广州市城市规划勘测设计研究院 Method and system for spatialization of proper-age permanent population in compulsory education stage
CN115375872A (en) * 2022-08-29 2022-11-22 淮安市水利勘测设计研究院有限公司 GNSS measurement linear ground object automatic delineation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10631724B2 (en) * 2017-02-22 2020-04-28 Amo Development, Llc Method and system for dynamically measuring tear film breakup and irregularity using corneal topography and wavefront aberrometry

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651609A (en) * 2016-09-27 2017-05-10 云南大学 Auxiliary information system and method of remote-sensing monitoring for mineral resource exploitation environment
CN109636870A (en) * 2018-12-04 2019-04-16 中国测绘科学研究院 A kind of long and narrow figure spot piecemeal melts method and device
CN109859109A (en) * 2018-12-29 2019-06-07 中国人民解放军61540部队 A kind of Serial Scale PDF map seamless organization and display methods
CN109977187A (en) * 2019-03-21 2019-07-05 山西省煤炭地质物探测绘院 A kind of acquisition tune of land investigation data draws method and system
CN110648120A (en) * 2019-09-29 2020-01-03 国家林业和草原局西北调查规划设计院 Online forest resource supervision method based on mobile internet
CN112200857A (en) * 2020-09-22 2021-01-08 贵州省水利水电勘测设计研究院有限公司 Land area automatic quantity calculation method for land acquisition and migration
CN115270904A (en) * 2022-04-13 2022-11-01 广州市城市规划勘测设计研究院 Method and system for spatialization of proper-age permanent population in compulsory education stage
CN114898095A (en) * 2022-05-07 2022-08-12 南京信息工程大学 Data compiling method for linear characteristic pattern spots in national soil survey
CN115375872A (en) * 2022-08-29 2022-11-22 淮安市水利勘测设计研究院有限公司 GNSS measurement linear ground object automatic delineation method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
利用遥感技术分析鄂尔多斯草原鼠虫害图斑;白媛媛;白颖;;草业科学;20131215(12);全文 *
基于南方cass的土地利用图斑绘制改进方法研究;张爱娟;李朝奎;王勇;张多才;;测绘工程;20110225(01期);全文 *
新技术在沙棘生态减沙工程图斑绘制与面积测算上的应用;尚攀;;中国水土保持;20160305(03);全文 *

Also Published As

Publication number Publication date
CN116152381A (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10504284B2 (en) Method for automatic modeling of complex buildings with high accuracy
CN116152381B (en) Method for drawing stripe pattern spots fitted according to reference pattern layer in GIS data
Asano et al. Visibility of disjoint polygons
CN107845139B (en) Processing method of long and narrow pattern spot splitting line
CN108806472B (en) Road rendering method and device in electronic map, and processing method and device
CN111782751B (en) Method and device for generating intersection roads in map and electronic equipment
CN107885790A (en) A kind of path space network multiple-factor automatic update method
CN111858810A (en) Modeling elevation point screening method for road DEM construction
CN116543310A (en) Road line extraction method based on Voronoi diagram and kernel density
CN103208226A (en) Method and device for rendering interchange road in electronic map system
CN110335329B (en) Method for acquiring power line section diagram based on DEM
CN114754777A (en) Geographic coordinate system-based full-path coverage planning method for unmanned mowing vehicle
CN114240976A (en) Map iterative segmentation method, device, equipment and storage medium
CN110223390B (en) Multi-segment line embedding TIN algorithm based on linear voxel traversal principle
CN114898095B (en) Data shrinkage editing method for linear feature image spots of homeland investigation
CN101546438A (en) Superposing analysis method of a plurality of region topology layers based on restricting Delaunay triangulation network technique
CN113284030B (en) Urban traffic network community division method
CN115063548A (en) Incremental Voronoi network construction method
CN113066151B (en) Map data processing method, device, equipment and storage medium
CN118587372B (en) Mining area road mapping method based on track and point cloud
CN113592977B (en) Linear ground object processing method, system, memory and device in urban area demarcation
CN117592232B (en) Road network topology modeling method and system integrating navigation information
CN117723042A (en) Method and system for generating high-precision map intersection surface and road surface
CN110619134A (en) Integrated detection and restoration method for solving problem of flying spot and spot density of road network data
CN116342738B (en) Automatic extraction and graphic display manufacturing method of forbidden vector range based on GIS

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