CN105786954A - Intersection file presentation method - Google Patents

Intersection file presentation method Download PDF

Info

Publication number
CN105786954A
CN105786954A CN201610008049.0A CN201610008049A CN105786954A CN 105786954 A CN105786954 A CN 105786954A CN 201610008049 A CN201610008049 A CN 201610008049A CN 105786954 A CN105786954 A CN 105786954A
Authority
CN
China
Prior art keywords
pile
coordinate
point
file
type
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.)
Granted
Application number
CN201610008049.0A
Other languages
Chinese (zh)
Other versions
CN105786954B (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.)
China Railway Siyuan Survey and Design Group Co Ltd
Original Assignee
China Railway Siyuan Survey and Design Group 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 China Railway Siyuan Survey and Design Group Co Ltd filed Critical China Railway Siyuan Survey and Design Group Co Ltd
Priority to CN201610008049.0A priority Critical patent/CN105786954B/en
Publication of CN105786954A publication Critical patent/CN105786954A/en
Application granted granted Critical
Publication of CN105786954B publication Critical patent/CN105786954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

The invention is applicable for the field of surveying and mapping, and provides an intersection file presentation method. The method comprises the following steps: reading an interaction file, and obtaining pile-by-pile coordinates through calculations according to a curvilinear equation; judging the coordinate type of the pile-by-pile coordinates, and converting the pile-by-pile coordinates into setting points according to the coordinate type and relevant attributes used for displaying the setting points; and combining the setting points and generating a KML file, wherein a KML file format is used for display on a smart terminal. The presentation method provided by the invention has the advantages that line positions and existing topographic maps can be conveniently combined by office personnel, so as to facilitate verification of field data collection quality, and achieve remarkable economic and social benefits.

Description

A kind of rendering method by intersection point file
Technical field
The invention belongs to survey field, particularly relate to a kind of rendering method by intersection point file.
Background technology
In the field process measured, designer often only provides intersection point file, and need to use path file during actual measurement, Normal practice is that intersection point file is converted to path file by the Coordinate Conversion software using Southern Co., this conversion regime not only efficiency is low, and display mode is unfriendly, required Kml file or cad file cannot be generated for in-site measurement personnel, the relation between designed lines and landform cannot be shown in mobile terminal or CAD, complicated operation in actually used process, difficulty is relatively big, requires higher to outdoor workers technology.
Summary of the invention
The purpose of the embodiment of the present invention is in that to provide a kind of rendering method by intersection point file, with solve prior art use Coordinate Conversion software intersection point file is converted to path file, complicated operation in use procedure, difficulty is relatively big, and outdoor workers technology is required higher problem.
The embodiment of the present invention is achieved in that and embodiments provides a kind of rendering method by intersection point file, and described method includes:
The intersection point file read, according to curvilinear equation, calculates and obtains coordinate of pile by pile;
Judge the coordinate type of described coordinate of pile by pile, according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point;
Each set-point being combined and generated KML file, described KML file form shows for intelligent terminal.
Preferably, calculating after obtaining coordinate of pile by pile, described method also includes:
Arranging CAD pattern, described CAD pattern includes words direction, crown word number, dot spacing;
Line direction is judged according to described coordinate of pile by pile, and starting point coordinate and terminal point coordinate;Wherein, starting point coordinate is also needed to calculate angular dimension in conjunction with adjacent coordinates point;
Set up incidence relation for described starting point coordinate and terminal point coordinate and respective line block's attribute and mark block's attribute, and generate the file being applicable to CAD.
Preferably, the described file suitable in CAD is specially DXF formatted file.
Preferably, the coordinate type of described coordinate of pile by pile includes latitude and longitude coordinates type and grid coordinate type.
Preferably, when the coordinate type of described coordinate of pile by pile is specially latitude and longitude coordinates type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, particularly as follows:
Extract coordinate of pile by pile, and sexagesimal coordinate of pile by pile is converted to decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
Preferably, when the coordinate type of described coordinate of pile by pile is specially grid coordinate type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, particularly as follows:
Reference ellipsoid, central meridian and standoff height are set;
According to reference ellipsoid, central meridian and standoff height, calculate based on Gauss inverse and obtain decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
Preferably, described intersection point file type includes XY form intersection point file, DY form intersection point file, IP form intersection point file.
Preferably, described KML file form shows for intelligent terminal, specifically includes:
Described KML file is input to intelligent terminal as parameter;
Intelligent terminal uses google satellite mapping as base map, according to the association attributes of display set-point and set-point coordinate, presents in described base map.
A kind of beneficial effect by the rendering method of intersection point file that the embodiment of the present invention provides includes: propose one efficiently, processing method fast and accurately, intersection point file is converted to path file show and be positioned in mobile terminal software or CAD software, on the one hand, person finds the difficulty of line position or atural object in the wild to greatly reduce field process, save the time found needed for line position, on the other hand, surveyor is facilitated to be combined with existing topography line position, conveniently check field data acquisition quality, there is significant economic benefit and social benefit.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of rendering method by intersection point file that the embodiment of the present invention provides;
Fig. 2 is a kind of flow chart according to coordinate of pile by pile file acquisition CAD coordinate file that the embodiment of the present invention provides;
Fig. 3 is a kind of flow chart according to coordinate of pile by pile file acquisition Kml coordinate file that the embodiment of the present invention provides;
Fig. 4 is a kind of flow chart according to intersection point file acquisition coordinate of pile by pile file that the embodiment of the present invention provides;
Fig. 5 is a kind of graph of a relation utilizing method provided by the present invention to realize different coordinate file conversion that the embodiment of the present invention provides;
Fig. 6 is the effect schematic diagram of the Kml coordinate file a kind of displayed on the terminals that the embodiment of the present invention provides;
Fig. 7 is a kind of effect schematic diagram showing CAD coordinate file on CAD that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one
Being illustrated in figure 1 a kind of rendering method by intersection point file provided by the invention, described method includes:
In step 201, the intersection point file of reading, according to curvilinear equation, calculate and obtain coordinate of pile by pile;
Wherein, described intersection point file type includes XY form intersection point file, DY form intersection point file, IP form intersection point file.
In step 202., it is judged that the coordinate type of described coordinate of pile by pile, according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point;
Wherein, the coordinate type of described coordinate of pile by pile includes latitude and longitude coordinates type and grid coordinate type.
In step 203, each set-point being combined and generated KML file, described KML file form shows for intelligent terminal.
The embodiment of the present invention propose one efficiently, processing method fast and accurately, intersection point file is converted to path file show and can be used in software location, mobile terminal, on the one hand, person finds the difficulty of line position or atural object in the wild to greatly reduce field process, save the time found needed for line position, on the other hand, facilitate surveyor to be combined with existing topography line position, conveniently check field data acquisition quality, there is significant economic benefit and social benefit.
In conjunction with the embodiment of the present invention, there is a kind of preferred implementation, wherein, calculate after obtaining coordinate of pile by pile, with reference to generating cad file flow chart shown in Fig. 2, described method also includes:
Arranging CAD pattern, described CAD pattern includes words direction, crown word number, dot spacing;
Line direction is judged according to described coordinate of pile by pile, and starting point coordinate and terminal point coordinate;Wherein, starting point coordinate is also needed to calculate angular dimension in conjunction with adjacent coordinates point;
Set up incidence relation for described starting point coordinate and terminal point coordinate and respective line block's attribute and mark block's attribute, and generate the file being applicable to CAD.Its display effect is as shown in Figure 7.
In embodiments of the present invention, the described file suitable in CAD is specially DXF formatted file.
In conjunction with the embodiment of the present invention, there is a kind of preferred implementation, wherein, when the coordinate type of described coordinate of pile by pile is specially latitude and longitude coordinates type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, with reference to Kml file generated flow chart as shown in Figure 3, particularly as follows:
Extract coordinate of pile by pile, and sexagesimal coordinate of pile by pile is converted to decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
In conjunction with the embodiment of the present invention, there is a kind of preferred implementation, wherein, when the coordinate type of described coordinate of pile by pile is specially grid coordinate type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, with reference to Kml file generated flow chart as shown in Figure 3, particularly as follows:
Reference ellipsoid, central meridian and standoff height are set;
According to reference ellipsoid, central meridian and standoff height, calculate based on Gauss inverse and obtain decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
In conjunction with the embodiment of the present invention, there is a kind of preferred implementation, wherein, described KML file form shows for intelligent terminal, specifically includes:
Described KML file is input to intelligent terminal as parameter;
Intelligent terminal uses google satellite mapping as base map, according to the association attributes of display set-point and set-point coordinate, presents in described base map.Its design sketch is as shown in Figure 6.
Embodiment two
Be illustrated in figure 4 the embodiment of the present invention provide a kind of by the rendering method of intersection point file about the method for Rod file or coordinate of pile by pile file acquisition, the method can be applied in embodiment one.Particular content is as follows:
In step 301, intersection point file is opened.
In step 302, it is judged that whether intersection point file format is correct, if correct, enter step 303, if incorrect, report an error, and return to beginning state.
In step 303, the data calculated needed for Rod file or coordinate of pile by pile file are extracted.
In step 304, it is judged that whether front and back easement curve is consistent, if inconsistent, reports an error, and returns to beginning state;If always, entering step 305.
In step 305, judge to utilize different formulas calculated curve key element according to step 304.It is Rod file and/or coordinate of pile by pile file according to result to be generated, selects to be by step 306, or carry out step 308, or carry out step 306 and step 308 simultaneously..
Within step 306, each key element of Rod file is calculated.
In step 307, Rod formatted file is generated.Enter step 301.
In step 308, it is determined that curve location residing for each point position.
In a step 309, corresponding coordinate is calculated for diverse location point, and generates coordinate of pile by pile file.Enter step 301.
In the step 310, it is judged that whether the origin of curve, terminal mileage be correct.If yes then enter step 311, if otherwise returning to initial state.
The present invention compared with prior art, has the advantage that
(1) multiple intersection point form is supported.Support conventional intersection point form at present, facilitate field process to use, reduce and use difficulty.Its framework relation is as shown in Figure 5.
(2) software degree of freedom is high.Show the various restrictions of software for mobile terminal, this software can conveniently customize crown word number, different tag types, difference spacing, different line name.
(3) customization generates cad file.Crown word number, dot spacing, label character direction in CAD circuit file can be customized as required.
(4) there is no extra cost overhead.Due to hardware device that need not be extra, hence without bringing extra cost overhead.
(5) difficulty is sought in reduction, improves field process efficiency.Oneself present position and waiting being sought a position visualization, uses google satellite mapping as base map, being beneficial to makes rational planning for goes to the path of impact point.
Those of ordinary skill in the art it is also understood that, realize all or part of step in above-described embodiment method to can be by the hardware that program carrys out instruction relevant and complete, described program can be stored in a computer read/write memory medium, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (8)

1. the rendering method by intersection point file, it is characterised in that described method includes:
The intersection point file read, according to curvilinear equation, calculates and obtains coordinate of pile by pile;
Judge the coordinate type of described coordinate of pile by pile, according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point;
Each set-point being combined and generated KML file, described KML file form shows for intelligent terminal.
2. rendering method according to claim 1, it is characterised in that calculating after obtaining coordinate of pile by pile, described method also includes:
Arranging CAD pattern, described CAD pattern includes words direction, crown word number, dot spacing;
Line direction is judged according to described coordinate of pile by pile, and starting point coordinate and terminal point coordinate;Wherein, starting point coordinate is also needed to calculate angular dimension in conjunction with adjacent coordinates point;
Set up incidence relation for described starting point coordinate and terminal point coordinate and respective line block's attribute and mark block's attribute, and generate the file being applicable to CAD.
3. rendering method according to claim 2, it is characterised in that the described file suitable in CAD is specially DXF formatted file.
4. the method according to claim 1-3, it is characterised in that the coordinate type of described coordinate of pile by pile includes latitude and longitude coordinates type and grid coordinate type.
5. method according to claim 4, it is characterized in that, when the coordinate type of described coordinate of pile by pile is specially latitude and longitude coordinates type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, particularly as follows:
Extract coordinate of pile by pile, and sexagesimal coordinate of pile by pile is converted to decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
6. method according to claim 4, it is characterized in that, when the coordinate type of described coordinate of pile by pile is specially grid coordinate type, described according to its home type with for showing the association attributes of set-point, described coordinate of pile by pile is converted to set-point, particularly as follows:
Reference ellipsoid, central meridian and standoff height are set;
According to reference ellipsoid, central meridian and standoff height, calculate based on Gauss inverse and obtain decimal scale set-point coordinate;
Obtaining the association attributes for showing set-point, described association attributes includes dot spacing, crown word number, tab style;
Set up described set-point coordinate and for showing the incidence relation between the association attributes of set-point.
7. according to the arbitrary described method of claim 1-5, it is characterised in that described intersection point file type includes XY form intersection point file, DY form intersection point file, IP form intersection point file.
8. according to the arbitrary described method of claim 1-7, it is characterised in that described KML file form shows for intelligent terminal, specifically includes:
Described KML file is input to intelligent terminal as parameter;
Intelligent terminal uses google satellite mapping as base map, according to the association attributes of display set-point and set-point coordinate, presents in described base map.
CN201610008049.0A 2016-01-07 2016-01-07 Method for presenting intersection point file Active CN105786954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610008049.0A CN105786954B (en) 2016-01-07 2016-01-07 Method for presenting intersection point file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610008049.0A CN105786954B (en) 2016-01-07 2016-01-07 Method for presenting intersection point file

Publications (2)

Publication Number Publication Date
CN105786954A true CN105786954A (en) 2016-07-20
CN105786954B CN105786954B (en) 2020-09-18

Family

ID=56390420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610008049.0A Active CN105786954B (en) 2016-01-07 2016-01-07 Method for presenting intersection point file

Country Status (1)

Country Link
CN (1) CN105786954B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414701A (en) * 2020-03-26 2020-07-14 广西防城港核电有限公司 Method for extracting CAD file elements and converting relative coordinates

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685471A (en) * 2008-09-26 2010-03-31 黑龙江工程学院 Highway route CAD aided design system
CN102759756A (en) * 2012-06-15 2012-10-31 中国石油化工股份有限公司 Method for processing geophysical measured data
US20130049987A1 (en) * 2011-08-23 2013-02-28 Verizon Patent And Licensing Inc. Method and system for providing traffic alerts
US20150046044A1 (en) * 2011-09-23 2015-02-12 Volvo Construction Equipment Ab Method for selecting an attack pose for a working machine having a bucket

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685471A (en) * 2008-09-26 2010-03-31 黑龙江工程学院 Highway route CAD aided design system
US20130049987A1 (en) * 2011-08-23 2013-02-28 Verizon Patent And Licensing Inc. Method and system for providing traffic alerts
US20150046044A1 (en) * 2011-09-23 2015-02-12 Volvo Construction Equipment Ab Method for selecting an attack pose for a working machine having a bucket
CN102759756A (en) * 2012-06-15 2012-10-31 中国石油化工股份有限公司 Method for processing geophysical measured data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩皓: "GOOGLE EARTH在铁路勘测设计前期工作中的应用", 《铁道勘察》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414701A (en) * 2020-03-26 2020-07-14 广西防城港核电有限公司 Method for extracting CAD file elements and converting relative coordinates
CN111414701B (en) * 2020-03-26 2023-07-07 广西防城港核电有限公司 Method for extracting CAD file elements and converting relative coordinates

Also Published As

Publication number Publication date
CN105786954B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN106779417A (en) The collection of engineering investigation information digitalization, management and integrated application method
CN108267154B (en) Map display method and device
CN107045526A (en) A kind of pattern recognition method of electronics architectural working drawing
CN104899384A (en) Structural health monitoring visualization system based on Revit
CN106528762B (en) Electronic map processing method and processing system for identifying interest points
CN109558470B (en) Trajectory data visualization method and device
CN104679822A (en) Geographic national condition field investigation and plotting method
CN103150328A (en) Integration method for automatically drawing maps by utilizing database
WO2016141685A1 (en) Telecommunications engineering drawing generation method and drawing design client
CN114238488B (en) Multi-professional digital fruit integration and data interaction method and system
CN105608119A (en) Rapid thematic map drawing technology
CN113626455A (en) Method and device for updating picture library in linkage manner, electronic equipment and storage medium
CN103577651A (en) Method for generating and processing isoline cloud charts with sections in any shapes intelligently in batch mode
CN112347213A (en) BIM + GIS-based three-dimensional display method for digitized achievement of railway engineering
CN103852080B (en) The map-indication method of object and system
CN106202237B (en) Industrial project area map drawing method and system
CN105786954A (en) Intersection file presentation method
CN103345769B (en) Complete trails remote sensing image thematic charting method
CN105608127A (en) Farmland tenure publicity map automatically generating method
CN115393560A (en) BIM model drawing marking method, device, equipment and readable storage medium
CN107729308A (en) Large scale DLG quality examinations statistical method and device
CN205139374U (en) Pipe -line engineering field operation mobile device
CN105282751B (en) A kind of method and apparatus showing wireless network planning result
CN103035146B (en) Intelligent prompt method of electric power enterprise resource planning (EPR) service simulation system
CN102222445A (en) Method, device and location-based service (LBS) terminal for updating map data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant