CN105718553A - GIS-based two-dimensional path data reading device and method - Google Patents

GIS-based two-dimensional path data reading device and method Download PDF

Info

Publication number
CN105718553A
CN105718553A CN201610034736.XA CN201610034736A CN105718553A CN 105718553 A CN105718553 A CN 105718553A CN 201610034736 A CN201610034736 A CN 201610034736A CN 105718553 A CN105718553 A CN 105718553A
Authority
CN
China
Prior art keywords
point coordinate
variable
path
coordinate
route segment
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
CN201610034736.XA
Other languages
Chinese (zh)
Other versions
CN105718553B (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.)
Zhejiang Hongtu Geographical Information Technology Co Ltd
Original Assignee
Zhejiang Hongtu Geographical Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Hongtu Geographical Information Technology Co Ltd filed Critical Zhejiang Hongtu Geographical Information Technology Co Ltd
Priority to CN201610034736.XA priority Critical patent/CN105718553B/en
Publication of CN105718553A publication Critical patent/CN105718553A/en
Application granted granted Critical
Publication of CN105718553B publication Critical patent/CN105718553B/en
Expired - Fee Related 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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

Embodiments of the invention provide a geographic information system based two-dimensional path data reading device and method. In the embodiments of the invention, path point coordinate data of each path section is extracted from a planned two-dimensional path of a GIS; the path point coordinate data is sorted, and the sorted path point coordinate data is sequentially added and stored in a data set; finally, path point coordinates of the planned two-dimensional path are sequentially read from the data set and are loaded into a three-dimensional map scene of the GIS to be displayed. According to the GIS-based two-dimensional path data reading device and method, path roaming of planned paths from a two-dimensional map scene to the three-dimensional map scene can be implemented.

Description

Two dimensional path digital independent device and method based on GIS-Geographic Information System
Technical field
The present invention relates to GIS-Geographic Information System, in particular to a kind of two dimensional path digital independent device and method based on GIS-Geographic Information System.
Background technology
GIS-Geographic Information System (GeographicInformationSystem, GIS) as a kind of specific important space information system, can be used for the relevant geographic distribution data in earth top layer (including atmosphere) space all or in part is acquired, store, manage, computing, analyze, be shown and described.For existing GIS-Geographic Information System, its two-dimensional map is returned the path pulled, owing to the GIS path point generated order is not arrange according to the order of rule so that the path point data planned on two-dimensional map can not pass directly to carry out under three-dimensional scenic the roaming of corresponding path.
Summary of the invention
In view of the foregoing, the embodiment of the present invention provides a kind of two dimensional path digital independent device based on GIS-Geographic Information System, a kind of two dimensional path digital independent device based on GIS-Geographic Information System, it is characterised in that described two dimensional path digital independent device includes:
Path extraction module, for extracting the path point coordinate data of each route segment from the two dimensional path that GIS-Geographic Information System has been planned;
Coordinate order module, the path point coordinate of each route segment for said extracted is gone out is sequentially added to a data centralized stores after being ranked up;And
Data read module, displays for the path point coordinate in the two dimensional path planned described in sequentially reading from described data set and in being loaded into the three-dimensional map scene of described GIS-Geographic Information System.
Preferably, the path point coordinate of each route segment that said extracted is gone out by described coordinate order module by the following method is sequentially added to a data centralized stores after being ranked up:
Store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially added to described data centralized stores;
Whether the every path segments after sequentially judging described Article 1 route segment is single line;Wherein, if current path section is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate;Wherein
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order is exchanged, and the terminal point coordinate of this current route segment is added in described data set;
If the starting point coordinate of current path section is identical with described second variable, directly the terminal point coordinate of this current route segment is added in described data set;
If the terminal point coordinate of current path section is equal to described second variable, the starting point coordinate of this current route segment is added in described data set.
Preferably, if described current path section is not single line, starting point coordinate and the terminal point coordinate of current path section are compared by described coordinate order module respectively with described first variable and the second variable, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate;
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set;
If the starting point coordinate of current path section is identical with described second variable, positive sequence travels through the path point coordinate of this current route segment and is sequentially added in described data set by the path point coordinate of this current route segment;And
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal the path point coordinate of this current route segment is added in described data set successively.
Preferably, described digital independent device also includes: variable setup module, for arranging a path coordinate point storage variable and two temporal coordinate storage variablees, wherein, described path coordinate point storage variable is for being sequentially added to described data centralized stores by the described path point coordinate after sequence, and said two temporal coordinate storage variable is respectively used to store described first variable and the second variable.
Preferably, described data set is the application programming interface for storing two-dimensional points coordinate that described GIS-Geographic Information System provides.
The present invention also provides for a kind of two dimensional path method for reading data based on GIS-Geographic Information System, and described method includes:
The path point coordinate data of each route segment is extracted from the two dimensional path that GIS-Geographic Information System has been planned;
The path point coordinate of each route segment that said extracted is gone out is sequentially added to a data centralized stores after being ranked up;And
Path point coordinate in the two dimensional path planned described in sequentially reading from described data set also displays in being loaded into the three-dimensional map scene of described GIS-Geographic Information System.
Preferably, the path point coordinate of described each route segment that said extracted is gone out is sequentially added to the step of a data centralized stores and includes after being ranked up:
Store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially added to described data centralized stores;
Whether the every path segments after sequentially judging described Article 1 route segment is single line;Wherein, if current path section is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate;Wherein
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order is exchanged, and the terminal point coordinate of this current route segment is added in described data set;
If the starting point coordinate of current path section is identical with described second variable, directly the terminal point coordinate of this current route segment is added in described data set;
If the terminal point coordinate of current path section is equal to described second variable, the starting point coordinate of this current route segment is added in described data set;
If described current path section is not single line, then the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate;
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set;
If the starting point coordinate of current path section is identical with described second variable, positive sequence travels through the path point coordinate of this current route segment and is sequentially added in described data set by the path point coordinate of this current route segment;And
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal the path point coordinate of this current route segment is added in described data set successively.
Preferably, described method also includes: arrange a path coordinate point storage variable and two temporal coordinate storage variablees, wherein, described path coordinate point storage variable is for being sequentially added to described data centralized stores by the described path point coordinate after sequence, and said two temporal coordinate storage variable is respectively used to store described first variable and the second variable.
Compared with prior art, the two dimensional path digital independent device and method based on GIS-Geographic Information System that the embodiment of the present invention provides is by adding in a data set after the path point coordinate in the two dimensional path planned is ranked up, make the ordering requirements of path point meeting requirements on three-dimensional map scene in two dimensional path, it may be achieved the path planning in two-dimensional map scene carries out path roaming in three-dimensional map scene.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, it is described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, it is to be understood that, the following drawings illustrate only certain embodiments of the present invention, therefore the restriction to scope it is not construed as, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other relevant accompanying drawings according to these accompanying drawings.
Fig. 1 is the block diagram of the data handling equipment that present pre-ferred embodiments provides.
Fig. 2 is the flow chart of the two dimensional path method for reading data based on GIS-Geographic Information System being applied to the data handling equipment shown in Fig. 1 that present pre-ferred embodiments provides.
Main element symbol description
Data handling equipment 100
Digital independent device 10
GIS-Geographic Information System 11
Memorizer 12
Processor 13
Variable setup module 101
Path extraction module 102
Coordinate order module 103
Data read module 104
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Generally can with various different configurations arrange and design with the assembly of the embodiment of the present invention that illustrate described in accompanying drawing herein.Therefore, below the detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit claimed the scope of the present invention, but is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the premise not making creative work, broadly fall into the scope of protection of the invention.
It should also be noted that similar label and letter below figure represent similar terms, therefore, once a certain Xiang Yi accompanying drawing is defined, then it need not be carried out definition further and explain in accompanying drawing subsequently.Meanwhile, in describing the invention, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicate or hint relative importance.
As it is shown in figure 1, be the block diagram of the data handling equipment 100 that present pre-ferred embodiments provides.Described data handling equipment 100 is provided with GIS-Geographic Information System (GeographyInformationSystem, GIS) 11.Described GIS-Geographic Information System 11 is supported plan two dimensional path in two-dimensional map and plan three-dimensional path in three-dimensional scenic map.Described data handling equipment 100 can be, but it is not limited to, PC (personalcomputer, PC), panel computer, mobile internet surfing equipment (mobileInternetdevice, MID), smart mobile phone etc. possess the equipment of data-handling capacity.
Described data handling equipment 100 also includes a digital independent device 10, memorizer 12 and processor 13.Each element that described data handling equipment 100 includes is electrically connected each other directly or indirectly, to realize the transmission of data or mutual.Such as, these elements can pass through one or more communication bus or holding wire realization electric connection each other.
For traditional GIS-Geographic Information System, owing to its two-dimensional map being returned the path pulled arrange not in accordance with the order of rule, and can not pass directly to carry out under three-dimensional scenic the roaming of corresponding path, be unfavorable for the Function Extension of GIS-Geographic Information System.In the embodiment of the present invention, described digital independent device 11 is after the two dimensional path point data that described GIS-Geographic Information System 11 is planned on two-dimensional map carries out processing accordingly, described GIS-Geographic Information System 11 is made can automatically to read and load two dimensional path data under three-dimensional scenic, realizing two dimensional path data to roam accordingly under three-dimensional scenic, concrete method is described in detail follow-up.
In present pre-ferred embodiments, digital independent device 10 includes at least one the form of software or firmware (firmware) can be stored in described memorizer 12 or be solidificated in the software function module in the operating system (operatingsystem, OS) of described data handling equipment 100.Described processor 13 is for performing the performed software module of storage in described memorizer 12, for instance software function module included by described digital independent device 10 and computer program etc..In the present embodiment, described digital independent device 10 can also be integrated in described GIS-Geographic Information System 11, as a part for described GIS-Geographic Information System 11.Specifically, described digital independent device 10 includes variable setup module 101, path extraction module 102, coordinate order module 103 and data read module 104.Be it should be noted that, in other embodiments, a portion in the above-mentioned functions module that described digital independent device 10 includes also can be omitted, for instance, described variable setup module 101 can be omitted and only include path extraction module 102, coordinate order module 103 and data read module 104.
Wherein, described memorizer 12 can be, but it is not limited to, random access memory (RandomAccessMemory, RAM), read only memory (ReadOnlyMemory, ROM), programmable read only memory (ProgrammableRead-OnlyMemory, PROM), erasable read-only memory (ErasableProgrammableRead-OnlyMemory, EPROM), electricallyerasable ROM (EEROM) (ElectricErasableProgrammableRead-OnlyMemory, EEPROM) etc..Wherein, memorizer 12 is used for storing program, and described processor 13, after receiving execution instruction, performs described program.
Described variable setup module 101 is used for arranging a path coordinate point storage variable and two temporal coordinate storage variablees.
Described path extraction module 102 for extracting the path point coordinate data of each route segment from the two dimensional path that described GIS-Geographic Information System 11 has been planned.Specifically, in the present embodiment, the described two-dimensional map path planned includes at least one route segment, and each route segment includes a starting point and a terminal.The path point coordinate data that said extracted goes out includes the coordinate data of the beginning and end of each route segment.The extracting method of above-mentioned path point coordinate data can be realized by the Get2D () function in the function library of described GIS-Geographic Information System 100.
The path point coordinate of the described coordinate order module 103 each route segment for said extracted is gone out is sequentially added to a data centralized stores after being ranked up.In the present embodiment, described data set refers to the application programming interface (ApplicationProgrammingInterface for storing two-dimensional points coordinate that described GIS-Geographic Information System 11 provides, API), stored two-dimensional points coordinate include two-dimensional coordinate point abscissa (X) in a coordinate system and vertical coordinate (Y).
Specifically, the method that the data point coordinate that said extracted is gone out by described coordinate order module 103 is ranked up is specifically described as follows.
First, store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially added to described data centralized stores.Concrete, in the present embodiment, the two of above-mentioned setting temporal coordinate store variable and store the beginning and end of described Article 1 route segment temporarily.
Secondly, whether the every path segments (the current path segments judged is hereinafter referred to as " current path section ") after sequentially judging described Article 1 route segment is single line.Wherein, if not having other intermediate path point between the beginning and end of current path section, this current route segment is then identified as single line.If this current route segment is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate.
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order are exchanged by described coordinate order module 103, and are added in described data set by the terminal point coordinate of this current route segment.Wherein, the first variable and bivariate order are exchanged and are referred to that the first original variable is as the second variable after exchanging, and the second variable originally is as the first variable after exchanging.
If the starting point coordinate of current path section is identical with described second variable, the terminal point coordinate of this current route segment is then directly added in described data set by described coordinate order module 103.
If the terminal point coordinate of current path section is equal to described second variable, described coordinate order module 103 then has only to add in described data set the starting point coordinate of this current route segment to.
Finally, if described current path section is not single line (for multi-section-line), when namely also having other path point to exist between beginning and end, starting point coordinate and the terminal point coordinate of current path section are compared by described coordinate order module 103 respectively with described first variable and the second variable, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate.
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set.So-called positive sequence traversal refers to that the starting point from current path section starts sequentially to be taken out by each path point coordinate and add to described data set.
If the starting point coordinate of current path section is identical with described second variable, then need not exchanging the first variable and bivariate position, the path point coordinate of this current route segment is sequentially added in described data set by the path point coordinate that the described direct positive sequence of coordinate order module 103 travels through this current route segment.
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal and is added to successively in described data set by the path point coordinate of this current route segment by described coordinate order module 103.So-called inverted order traversal refers to that the terminal from current path section starts sequentially to be taken out by each path point coordinate and add to described data set.
Described data read module 104 displays for the path point coordinate in the two dimensional path planned described in sequentially reading from described data set and in being loaded into the three-dimensional map scene of described GIS-Geographic Information System 11.Wherein, when all of path point coordinate in the described two dimensional path planned adds to after in described data set in a certain order, described GIS-Geographic Information System 11 provides one according to all API clicking on the roaming of walking along the street footpath in data set in three-dimensional map scene, described data read module 104 can read and load the path point coordinate in described data set by this API, therefore can realize the path planning in GIS-Geographic Information System 11 two-dimensional map scene and carry out path roaming in three-dimensional map scene.
In sum, the embodiment of the present invention is by adding in a data set after the path point coordinate in the two dimensional path planned is ranked up, make the ordering requirements of path point meeting requirements on three-dimensional map scene in two dimensional path, it may be achieved the path planning in two-dimensional map scene carries out path roaming in three-dimensional map scene.
Refer to Fig. 2, be the flow chart of the two dimensional path method for reading data based on GIS-Geographic Information System being applied to the data handling equipment 100 shown in Fig. 1 that present pre-ferred embodiments provides.Idiographic flow shown in Fig. 2 and step will be described in detail below.
Step S201, described variable setup module 101 arranges a path coordinate point storage variable and two temporal coordinate storage variablees.
Step S202, described path extraction module 102 extracts the path point coordinate of each route segment from the two dimensional path that described GIS-Geographic Information System 11 has been planned.
Specifically, in the present embodiment, the described two-dimensional map path planned includes at least one route segment, and each route segment includes a starting point and a terminal.The path point coordinate data that said extracted goes out includes the coordinate data of the beginning and end of each route segment.The extracting method of above-mentioned path point coordinate data can be realized by the Get2D () function in the function library of described GIS-Geographic Information System 100.
Step S203, the path point coordinate of each route segment that said extracted is gone out by described coordinate order module 103 is sequentially added to a data centralized stores after being ranked up.In the present embodiment, the data point coordinate of described each route segment is stored variable by the path coordinate point of described setting after being ranked up and adds described data centralized stores to.Described data set refers to the application programming interface (ApplicationProgrammingInterface for storing two-dimensional points coordinate that described GIS-Geographic Information System 11 provides, API), stored two-dimensional points coordinate include two-dimensional coordinate point abscissa (X) in a coordinate system and vertical coordinate (Y).The path point coordinate of each route segment in step S203, said extracted gone out is sequentially added to the method for a data centralized stores and is specifically described as follows after being ranked up.
First, store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially stored in described data set.Concrete, in the present embodiment, the two of above-mentioned setting temporal coordinate store variable and store the beginning and end of described Article 1 route segment temporarily.
Secondly, whether the every path segments (the current path segments judged is hereinafter referred to as " current path section ") after sequentially judging described Article 1 route segment is single line.Wherein, if not having other intermediate path point between the beginning and end of current path section, this current route segment is then identified as single line.If this current route segment is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate.
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order are exchanged by described coordinate order module 103, and are added in described data set by the terminal point coordinate of this current route segment.Wherein, the first variable and bivariate order are exchanged and are referred to that the first original variable is as the second variable after exchanging, and the second variable originally is as the first variable after exchanging.
If the starting point coordinate of current path section is identical with described second variable, the terminal point coordinate of this current route segment is then directly added in described data set by described coordinate order module 103.
If the terminal point coordinate of current path section is equal to described second variable, described coordinate order module 103 then has only to add in described data set the starting point coordinate of this current route segment to.
Finally, if described current path section is not single line (for multi-section-line), when namely also having other path point to exist between beginning and end, starting point coordinate and the terminal point coordinate of current path section are compared by described coordinate order module 103 respectively with described first variable and the second variable, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate.
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set.So-called positive sequence traversal refers to that the starting point from current path section starts sequentially to be taken out by each path point coordinate and add to described data set.
If the starting point coordinate of current path section is identical with described second variable, then need not exchanging the first variable and bivariate position, the path point coordinate of this current route segment is sequentially added in described data set by the path point coordinate that the described direct positive sequence of coordinate order module 103 travels through this current route segment.
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal and is added to successively in described data set by the path point coordinate of this current route segment by described coordinate order module 103.So-called inverted order traversal refers to that the terminal from current path section starts sequentially to be taken out by each path point coordinate and add to described data set.
Step S204, described data read module 104 sequentially read from described data set described in path point coordinate in the two dimensional path planned displaying in being loaded into the three-dimensional map scene of described GIS-Geographic Information System 11.Wherein, when all of path point coordinate in the described two dimensional path planned adds to after in described data set in a certain order, described GIS-Geographic Information System 11 provides one according to all API clicking on row wandering map in data set in three-dimensional map scene, therefore can realize the path planning in GIS-Geographic Information System 11 two-dimensional map scene and carry out path roaming in three-dimensional map scene.
In sum, the embodiment of the present invention is by adding in a data set after the path point coordinate in the two dimensional path planned is ranked up, make the ordering requirements of path point meeting requirements on three-dimensional map scene in two dimensional path, it may be achieved the path planning in two-dimensional map scene carries out path roaming in three-dimensional map scene.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to realize by another way.Device embodiment described above is merely schematic, for instance, flow chart and block diagram in accompanying drawing show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, function and operation.In this, flow chart or each square frame in block diagram can represent a part for a module, program segment or code, and a part for described module, program segment or code comprises the executable instruction of one or more logic function for realizing regulation.It should also be noted that at some as in the implementation replaced, the function marked in square frame can also to be different from the order generation marked in accompanying drawing.Such as, two continuous print square frames can essentially perform substantially in parallel, and they can also perform sometimes in the opposite order, and this determines according to involved function.It will also be noted that, the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, can realize by the special hardware based system of the function or action that perform regulation, or can realize with the combination of specialized hardware Yu computer instruction.
It addition, each functional module in each embodiment of the present invention can integrate one independent part of formation, it is also possible to be modules individualism, it is also possible to the integrally formed independent part of two or more modules.
If described function is using the form realization of software function module and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or the part of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.It should be noted that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.It should also be noted that similar label and letter below figure represent similar terms, therefore, once a certain Xiang Yi accompanying drawing is defined, then it need not be carried out definition further and explain in accompanying drawing subsequently.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.

Claims (10)

1. the two dimensional path digital independent device based on GIS-Geographic Information System, it is characterised in that described two dimensional path digital independent device includes:
Path extraction module, for extracting the path point coordinate data of each route segment from the two dimensional path that GIS-Geographic Information System has been planned;
Coordinate order module, the path point coordinate of each route segment for said extracted is gone out is sequentially added to a data centralized stores after being ranked up;And
Data read module, displays for the path point coordinate in the two dimensional path planned described in sequentially reading from described data set and in being loaded into the three-dimensional map scene of described GIS-Geographic Information System.
2. the two dimensional path digital independent device based on GIS-Geographic Information System as claimed in claim 1, it is characterized in that, the path point coordinate of each route segment that said extracted is gone out by described coordinate order module by the following method is sequentially added to a data centralized stores after being ranked up:
Store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially added to described data centralized stores;
Whether the every path segments after sequentially judging described Article 1 route segment is single line;Wherein, if current path section is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate;Wherein
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order is exchanged, and the terminal point coordinate of this current route segment is added in described data set;
If the starting point coordinate of current path section is identical with described second variable, directly the terminal point coordinate of this current route segment is added in described data set;
If the terminal point coordinate of current path section is equal to described second variable, the starting point coordinate of this current route segment is added in described data set.
3. the two dimensional path digital independent device based on GIS-Geographic Information System as claimed in claim 2, it is characterized in that, if described current path section is not single line, starting point coordinate and the terminal point coordinate of current path section are compared by described coordinate order module respectively with described first variable and the second variable, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate;
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set;
If the starting point coordinate of current path section is identical with described second variable, positive sequence travels through the path point coordinate of this current route segment and is sequentially added in described data set by the path point coordinate of this current route segment;And
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal the path point coordinate of this current route segment is added in described data set successively.
4. as claimed in claim 2 or claim 3 based on the two dimensional path digital independent device of GIS-Geographic Information System, it is characterised in that described digital independent device also includes:
Variable setup module, for arranging a path coordinate point storage variable and two temporal coordinate storage variablees, wherein, described path coordinate point storage variable is for being sequentially added to described data centralized stores by the described path point coordinate after sequence, and said two temporal coordinate storage variable is respectively used to store described first variable and the second variable.
5. the two dimensional path digital independent device based on GIS-Geographic Information System as claimed in claim 1, it is characterised in that described data set is the application programming interface for storing two-dimensional points coordinate that described GIS-Geographic Information System provides.
6. the two dimensional path method for reading data based on GIS-Geographic Information System, it is characterised in that described method includes:
The path point coordinate data of each route segment is extracted from the two dimensional path that GIS-Geographic Information System has been planned;
The path point coordinate of each route segment that said extracted is gone out is sequentially added to a data centralized stores after being ranked up;And
Path point coordinate in the two dimensional path planned described in sequentially reading from described data set also displays in being loaded into the three-dimensional map scene of described GIS-Geographic Information System.
7. the two dimensional path method for reading data based on GIS-Geographic Information System as claimed in claim 6, it is characterised in that the path point coordinate of described each route segment that said extracted is gone out is sequentially added to the step of a data centralized stores and includes after being ranked up:
Store the starting point coordinate of Article 1 route segment and terminal point coordinate that extract from the described two dimensional path planned respectively as the first variable and the second variable temporarily, and this starting point coordinate and terminal point coordinate are sequentially added to described data centralized stores;
Whether the every path segments after sequentially judging described Article 1 route segment is single line;Wherein, if current path section is single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of current path section is identical with which in described first variable and the second variable with terminal point coordinate;Wherein
If the starting point coordinate of current path section is identical with described first variable, described first variable and bivariate order is exchanged, and the terminal point coordinate of this current route segment is added in described data set;
If the starting point coordinate of current path section is identical with described second variable, directly the terminal point coordinate of this current route segment is added in described data set;
If the terminal point coordinate of current path section is equal to described second variable, the starting point coordinate of this current route segment is added in described data set.
8. the two dimensional path method for reading data based on GIS-Geographic Information System as claimed in claim 7, it is characterised in that the path point coordinate of described each route segment that said extracted is gone out is sequentially added to the step of a data centralized stores and includes after being ranked up:
If described current path section is not single line, the starting point coordinate of current path section and terminal point coordinate are compared with described first variable and the second variable respectively, it is judged that the starting point coordinate of this current route segment is identical with which in described first variable and the second variable with terminal point coordinate;
If the starting point coordinate of current path section is identical with described first variable, then described first variable and bivariate order are exchanged, then the path point coordinate of this current route segment is carried out positive sequence traversal and adds to successively in described data set;
If the starting point coordinate of current path section is identical with described second variable, positive sequence travels through the path point coordinate of this current route segment and is sequentially added in described data set by the path point coordinate of this current route segment;And
If the terminal point coordinate of current path section is identical with described second variable, the path point coordinate of this current route segment is carried out inverted order traversal the path point coordinate of this current route segment is added in described data set successively.
9. as claimed in claim 7 or 8 based on the two dimensional path digital independent device of GIS-Geographic Information System, it is characterised in that described method also includes:
One path coordinate point storage variable and two temporal coordinate storage variablees are set, wherein, described path coordinate point storage variable is for being sequentially added to described data centralized stores by the described path point coordinate after sequence, and said two temporal coordinate storage variable is respectively used to store described first variable and the second variable.
10. the two dimensional path method for reading data based on GIS-Geographic Information System as claimed in claim 6, it is characterised in that described data set is the application programming interface for storing two-dimensional points coordinate that described GIS-Geographic Information System provides.
CN201610034736.XA 2016-01-19 2016-01-19 Two dimensional path reading data device and method based on GIS-Geographic Information System Expired - Fee Related CN105718553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610034736.XA CN105718553B (en) 2016-01-19 2016-01-19 Two dimensional path reading data device and method based on GIS-Geographic Information System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610034736.XA CN105718553B (en) 2016-01-19 2016-01-19 Two dimensional path reading data device and method based on GIS-Geographic Information System

Publications (2)

Publication Number Publication Date
CN105718553A true CN105718553A (en) 2016-06-29
CN105718553B CN105718553B (en) 2019-04-26

Family

ID=56147971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610034736.XA Expired - Fee Related CN105718553B (en) 2016-01-19 2016-01-19 Two dimensional path reading data device and method based on GIS-Geographic Information System

Country Status (1)

Country Link
CN (1) CN105718553B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609913A (en) * 2003-10-20 2005-04-27 Lg电子有限公司 Method for displaying multi-level text data in three-dimensional map
CN101349567A (en) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 Method for providing local mobile geographical information service based on GPS and mobile terminal
US20130262434A1 (en) * 2012-03-31 2013-10-03 International Business Machines Corporation Querying spatial events in a vehicle network, and optimized querier
CN103955488A (en) * 2014-04-15 2014-07-30 深圳如果技术有限公司 Method of sharing lines of electronic map, sharing end and receiving end
CN104599324A (en) * 2015-02-06 2015-05-06 浪潮集团有限公司 Map data loading method and map data loading device based on GIS (geographic information system) platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609913A (en) * 2003-10-20 2005-04-27 Lg电子有限公司 Method for displaying multi-level text data in three-dimensional map
CN101349567A (en) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 Method for providing local mobile geographical information service based on GPS and mobile terminal
US20130262434A1 (en) * 2012-03-31 2013-10-03 International Business Machines Corporation Querying spatial events in a vehicle network, and optimized querier
CN103955488A (en) * 2014-04-15 2014-07-30 深圳如果技术有限公司 Method of sharing lines of electronic map, sharing end and receiving end
CN104599324A (en) * 2015-02-06 2015-05-06 浪潮集团有限公司 Map data loading method and map data loading device based on GIS (geographic information system) platform

Also Published As

Publication number Publication date
CN105718553B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN104794116A (en) Layout method and device for elements in page
CN103761249B (en) Data lead-in method and system based on Data Matching
CN105224543A (en) For the treatment of seasonal effect in time series method and apparatus
CN103150359B (en) Micro-blog information display packing and device
WO2015077188A1 (en) Visualizing large graphs
CN103177034A (en) Parallel line generation method and generation device in road net
CN105205636A (en) Method and device for calculating material requirement planning (MRP)
CN103605776A (en) Method and device for processing data of information database
CN108205960A (en) Method and apparatus, electron map manufacturing system and the navigation system that a kind of word renders
CN104504086A (en) Clustering method and device for webpage
CN112560862A (en) Text recognition method and device and electronic equipment
US20180268580A1 (en) Display method, display control device, and recording medium
CN105338540A (en) Base station data modeling method and terminal
CN105550344A (en) Grid and weight relation-based vector point element thinning method
CN105574041A (en) Data reconstruction method and device
CN109272526A (en) Image processing method, system and electronic equipment
CN104281561A (en) Data recovery method and electronic equipment
CN107085599B (en) POI recommendation method, device, equipment and computer readable storage medium
CN109271364A (en) Storage method and device
CN107169005B (en) POI recommendation method, device, equipment and computer readable storage medium
KR101761177B1 (en) Method for mining important pattern of high rank k, apparatus performing the same and storage medium storing the same
CN110457219B (en) Method and device for selecting time when test script is recorded
CN107241638A (en) The method for configuring navigation bar
CN105718553A (en) GIS-based two-dimensional path data reading device and method
CN108984221B (en) Method and device for acquiring multi-platform user behavior logs

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190426

CF01 Termination of patent right due to non-payment of annual fee