CN109064876A - The inflection point edit methods and system of electronic map - Google Patents
The inflection point edit methods and system of electronic map Download PDFInfo
- Publication number
- CN109064876A CN109064876A CN201810829036.9A CN201810829036A CN109064876A CN 109064876 A CN109064876 A CN 109064876A CN 201810829036 A CN201810829036 A CN 201810829036A CN 109064876 A CN109064876 A CN 109064876A
- Authority
- CN
- China
- Prior art keywords
- line segment
- inflection point
- point
- coordinate
- terminal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B29/00—Maps; Plans; Charts; Diagrams, e.g. route diagram
- G09B29/003—Maps
- G09B29/005—Map projections or methods associated specifically therewith
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention provides the inflection point edit methods and system of a kind of electronic map, comprising: obtains the coordinate of beginning and end;The coordinate of at least one inflection point is calculated according to the coordinate of beginning and end;Establish starting point and inflection point, the line segment between inflection point and terminal.Through the invention, map edit personnel need to only mark beginning and end, so that it may and it is automatic to calculate inflection point and connecting line segment, greatly improve the efficiency of map edit.
Description
Technical field
The present invention relates to electronic map technique fields, and in particular, to the inflection point edit methods and system of electronic map.
Background technique
With the development of smart phone, electronic map technique has also gradually obtained the attention in market.Electronic map can be into
The drawing output of row arbitrary scale, any range.It is very easy to modify, shortens mapping time.Can easily with
The other informations such as satellite image, aerial photograph source combines, and generates new figure kind.It can use the information of numerical map record, group
Raw new data, as contour indicates landform shape on map, but layman is difficult to understand, and utilizes the contour of electronic map
Digital elevation model can be generated in line and elevational point, and surface relief is showed in digital form, can intuitive three-dimensional earth's surface
Existing landform shape.This is that common topographic map can not reach expression effect.
It needs to establish line segment between points in electronic map, indicating can be with intercommunication between two points.In two points
Not point-blank in the case where, other than directly being connected with oblique line, can also increase at least one inflection point by the two
It is connected between point with horizontal line and vertical line, and this work is currently to complete by manually.Number at electronic map midpoint
There are many amount, if each establishing connection, to map human editor by way of manually establishing line segment, inflection point between points
The work load of member is very heavy, also expends very much time cost.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of inflection point edit methods of electronic map and it is
System.
A kind of inflection point edit methods of the electronic map provided according to the present invention, comprising:
Coordinate obtaining step: the coordinate of beginning and end is obtained;
Inflection point calculates step: the coordinate of at least one inflection point being calculated according to the coordinate of beginning and end;
Line segment Connection Step: starting point and inflection point, the line segment between inflection point and terminal are established.
Preferably, the coordinate of the inflection point be (abscissa of starting point, the ordinate of terminal) or (abscissa of terminal,
The ordinate of starting point).
Preferably, the line segment Connection Step includes: the line segment established between starting point and inflection point, line segment is added to line-segment sets
It closes;The line segment between inflection point and terminal is established, line segment is added to line segment aggregate.
Preferably, the line segment Connection Step includes:
By the continuity point Q0 of starting point to inflection point, a line segment is described;
By the continuity point Q1 of inflection point to terminal, a line segment is described;
By continuity point Q0 to the continuity point B (t) of continuity point Q1, a secondary Bezier is described.
A kind of inflection point editing system of the electronic map provided according to the present invention, comprising:
Coordinate obtaining module: the coordinate of beginning and end is obtained;
Inflection point computing module: the coordinate of at least one inflection point is calculated according to the coordinate of beginning and end;
Line segment link block: starting point and inflection point, the line segment between inflection point and terminal are established.
Preferably, the coordinate of the inflection point be (abscissa of starting point, the ordinate of terminal) or (abscissa of terminal,
The ordinate of starting point).
Preferably, the line segment link block includes: the line segment established between starting point and inflection point, line segment is added to line-segment sets
It closes;The line segment between inflection point and terminal is established, line segment is added to line segment aggregate.
Preferably, the line segment link block includes:
By the continuity point Q0 of starting point to inflection point, a line segment is described;
By the continuity point Q1 of inflection point to terminal, a line segment is described;
By continuity point Q0 to the continuity point B (t) of continuity point Q1, a secondary Bezier is described.
Compared with prior art, the present invention have it is following the utility model has the advantages that
Through the invention, map edit personnel need to only mark beginning and end, so that it may automatic to calculate inflection point and connecting line
Section, greatly improves the efficiency of map edit.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is flow chart of the invention.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention
Protection scope.
As shown in Figure 1, a kind of inflection point edit methods of electronic map provided by the invention, comprising:
Coordinate obtaining step: the beginning and end that editorial staff marks on the electronic map according to the map, obtain starting point and
The coordinate of terminal.
Inflection point calculates step: the coordinate of at least one inflection point being calculated according to the coordinate of beginning and end.The seat of inflection point
It is designated as (abscissa of starting point, the ordinate of terminal) or (abscissa of terminal, the ordinate of starting point).Such as: starting point P1's
Coordinate is (X1, Y1), and the coordinate of terminal P2 is (X2, Y2), then the coordinate of inflection point P3 is (X1, Y2) or (X2, Y1).
Alternatively, being calculated using Bezier:
B (t)=(1-t)2P1+2t(1-t)P3+t2P2,t∈[0,1]
Principle: by the continuity point Q0 of P1 to P3, a line segment is described.
By the continuity point Q1 of P3 to P2, a line segment is described.
By the continuity point B (t) of Q0 to Q1, a secondary Bezier is described.
Line segment Connection Step: starting point and inflection point, the line segment between inflection point and terminal are established.Establish the line between starting point and inflection point
Section, is added to line segment aggregate for line segment;The line segment between inflection point and terminal is established, line segment is added to line segment aggregate.
The Bezier that starting point, inflection point and terminal calculate is shown.
On the basis of a kind of inflection point edit methods of above-mentioned electronic map, the present invention also provides a kind of turning for electronic map
Point editing system, comprising:
Coordinate obtaining module: the beginning and end that editorial staff marks on the electronic map according to the map, obtain starting point and
The coordinate of terminal.
Inflection point computing module: the coordinate of at least one inflection point is calculated according to the coordinate of beginning and end.The seat of inflection point
It is designated as (abscissa of starting point, the ordinate of terminal) or (abscissa of terminal, the ordinate of starting point).Such as: starting point P1's
Coordinate is (X1, Y1), and the coordinate of terminal P2 is (X2, Y2), then the coordinate of inflection point P3 is (X1, Y2) or (X2, Y1).
Line segment link block: starting point and inflection point, the line segment between inflection point and terminal are established.Establish the line between starting point and inflection point
Section, is added to line segment aggregate for line segment;The line segment between inflection point and terminal is established, line segment is added to line segment aggregate.
One skilled in the art will appreciate that in addition to realizing system provided by the invention in a manner of pure computer readable program code
It, completely can be by the way that method and step be carried out programming in logic come so that the present invention provides and its other than each device, module, unit
System and its each device, module, unit with logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and embedding
Enter the form of the controller that declines etc. to realize identical function.So system provided by the invention and its every device, module, list
Member is considered a kind of hardware component, and to include in it can also for realizing the device of various functions, module, unit
To be considered as the structure in hardware component;It can also will be considered as realizing the device of various functions, module, unit either real
The software module of existing method can be the structure in hardware component again.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow
Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase
Mutually combination.
Claims (8)
1. a kind of inflection point edit methods of electronic map characterized by comprising
Coordinate obtaining step: the coordinate of beginning and end is obtained;
Inflection point calculates step: the coordinate of at least one inflection point being calculated according to the coordinate of beginning and end;
Line segment Connection Step: starting point and inflection point, the line segment between inflection point and terminal are established.
2. the inflection point edit methods of electronic map according to claim 1, which is characterized in that the coordinate of the inflection point is
(abscissa of starting point, the ordinate of terminal) or (abscissa of terminal, the ordinate of starting point).
3. the inflection point edit methods of electronic map according to claim 1, which is characterized in that the line segment Connection Step packet
It includes: establishing the line segment between starting point and inflection point, line segment is added to line segment aggregate;The line segment between inflection point and terminal is established, by line segment
It is added to line segment aggregate.
4. the inflection point edit methods of electronic map according to claim 1, which is characterized in that the line segment Connection Step packet
It includes:
By the continuity point Q0 of starting point to inflection point, a line segment is described;
By the continuity point Q1 of inflection point to terminal, a line segment is described;
By continuity point Q0 to the continuity point B (t) of continuity point Q1, a secondary Bezier is described.
5. a kind of inflection point editing system of electronic map characterized by comprising
Coordinate obtaining module: the coordinate of beginning and end is obtained;
Inflection point computing module: the coordinate of at least one inflection point is calculated according to the coordinate of beginning and end;
Line segment link block: starting point and inflection point, the line segment between inflection point and terminal are established.
6. the inflection point editing system of electronic map according to claim 5, which is characterized in that the coordinate of the inflection point is
(abscissa of starting point, the ordinate of terminal) or (abscissa of terminal, the ordinate of starting point).
7. the inflection point editing system of electronic map according to claim 5, which is characterized in that the line segment link block packet
It includes: establishing the line segment between starting point and inflection point, line segment is added to line segment aggregate;The line segment between inflection point and terminal is established, by line segment
It is added to line segment aggregate.
8. the inflection point editing system of electronic map according to claim 5, which is characterized in that the line segment link block packet
It includes:
By the continuity point Q0 of starting point to inflection point, a line segment is described;
By the continuity point Q1 of inflection point to terminal, a line segment is described;
By continuity point Q0 to the continuity point B (t) of continuity point Q1, a secondary Bezier is described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810829036.9A CN109064876A (en) | 2018-07-25 | 2018-07-25 | The inflection point edit methods and system of electronic map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810829036.9A CN109064876A (en) | 2018-07-25 | 2018-07-25 | The inflection point edit methods and system of electronic map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109064876A true CN109064876A (en) | 2018-12-21 |
Family
ID=64836303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810829036.9A Pending CN109064876A (en) | 2018-07-25 | 2018-07-25 | The inflection point edit methods and system of electronic map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109064876A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112036635A (en) * | 2020-08-28 | 2020-12-04 | 嘉兴聚水潭电子商务有限公司 | Order aggregation method and system for shortening warehouse goods distribution walking path |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102157001A (en) * | 2011-04-14 | 2011-08-17 | 中国测绘科学研究院 | Method and system for drawing electronic map |
CN103544582A (en) * | 2013-10-14 | 2014-01-29 | 四川品胜品牌管理有限公司 | Method of displaying logistics distribution range on map |
CN104180814A (en) * | 2013-05-22 | 2014-12-03 | 北京百度网讯科技有限公司 | Navigation method in live-action function on mobile terminal, and electronic map client |
JP2015156166A (en) * | 2014-02-21 | 2015-08-27 | 国際航業株式会社 | Map correction method and map correction device |
US20170329304A1 (en) * | 2016-05-12 | 2017-11-16 | Caterpillar Inc. | System and Method for Controlling a Machine |
US20180052572A1 (en) * | 2016-08-18 | 2018-02-22 | Mapbox, Inc. | Modifying style layer properties of a digital map |
-
2018
- 2018-07-25 CN CN201810829036.9A patent/CN109064876A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102157001A (en) * | 2011-04-14 | 2011-08-17 | 中国测绘科学研究院 | Method and system for drawing electronic map |
CN104180814A (en) * | 2013-05-22 | 2014-12-03 | 北京百度网讯科技有限公司 | Navigation method in live-action function on mobile terminal, and electronic map client |
CN103544582A (en) * | 2013-10-14 | 2014-01-29 | 四川品胜品牌管理有限公司 | Method of displaying logistics distribution range on map |
JP2015156166A (en) * | 2014-02-21 | 2015-08-27 | 国際航業株式会社 | Map correction method and map correction device |
US20170329304A1 (en) * | 2016-05-12 | 2017-11-16 | Caterpillar Inc. | System and Method for Controlling a Machine |
US20180052572A1 (en) * | 2016-08-18 | 2018-02-22 | Mapbox, Inc. | Modifying style layer properties of a digital map |
Non-Patent Citations (1)
Title |
---|
甘洪川: "基于ArcGIS的数字校园地理信息系统的设计与实现", <<中国优秀硕士学位论文全文数据库 基础科学辑>> * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112036635A (en) * | 2020-08-28 | 2020-12-04 | 嘉兴聚水潭电子商务有限公司 | Order aggregation method and system for shortening warehouse goods distribution walking path |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105701295A (en) | Method for rapid integrated presentation of BIM model and three-dimensional geographical information system | |
CN104331545B (en) | A kind of implementation method of the grid automation GIS electrical layers based on CIM/G | |
CN109858452A (en) | Architectural drawing automatic comparison method and device | |
CN110660125B (en) | Three-dimensional modeling device for power distribution network system | |
CN110502839B (en) | GIS (geographic information System) coordinate and CAD (computer aided design) coordinate conversion method based on BIM (building information modeling) platform | |
CN112765720A (en) | Water conservancy and hydropower engineering multi-source data fusion method based on BIM + GIS | |
CN103118114A (en) | BIM (building information modeling) collaborative designing system based on cloud servers | |
CN110188150A (en) | The modeling method and computer readable storage medium of distribution network line figure | |
US7525544B2 (en) | System and method of converting edge record based graphics to polygon based graphics | |
CN102750359A (en) | Space information extraction and format conversion method based on electric transmission line three-dimensional model | |
CN110096560A (en) | Data managing method, equipment, storage medium and device based on picture library one | |
CN109190326A (en) | Generate the method and device of process flow chart | |
CN105354882A (en) | Method for constructing big data architecture based three-dimensional panoramic display platform for large-spatial-range electricity transmission | |
CN117745969A (en) | Building singulation method, device and related equipment | |
CN105791764A (en) | Video monitoring image display method based on three-dimensional image | |
CN109064876A (en) | The inflection point edit methods and system of electronic map | |
CN107330975A (en) | A kind of three-dimensional military marker mapping system | |
CN103337084B (en) | A kind of line map spot automatic generation method based on man-made features feature | |
CN103488844B (en) | A kind of Net Frame of Electric Network figure automatic wiring method based on plant stand geography information | |
CN112509133A (en) | Three-dimensional reservoir high-definition live-action display method based on GIS | |
CN105023089A (en) | Urban management data monitoring system based on GIS platform and method thereof | |
CN104537048B (en) | Integral type water supply network digitalized data produces and switch technology method | |
CN109460911A (en) | A kind of the path drawing drawing method and device of power equipment | |
CN102509246B (en) | Electric power system source end pattern cutting method | |
CN109189524A (en) | Image resource generation method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |
|
RJ01 | Rejection of invention patent application after publication |