CN107885773B - Data processing method and device based on GIS-Geographic Information System - Google Patents
Data processing method and device based on GIS-Geographic Information System Download PDFInfo
- Publication number
- CN107885773B CN107885773B CN201710912038.XA CN201710912038A CN107885773B CN 107885773 B CN107885773 B CN 107885773B CN 201710912038 A CN201710912038 A CN 201710912038A CN 107885773 B CN107885773 B CN 107885773B
- Authority
- CN
- China
- Prior art keywords
- planning
- gis
- coordinate point
- information system
- geographic information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Abstract
This application involves a kind of data processing method based on GIS-Geographic Information System, device, computer readable storage medium and computer equipments, which comprises obtains the graphic designs file comprising planning figure;It parses the graphic designs file and obtains the coordinate point set of the planning figure;The coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System;The longitude and latitude set is imported into GIS-Geographic Information System.The data-handling efficiency based on GIS-Geographic Information System can be improved in scheme provided by the present application.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of data processing method based on GIS-Geographic Information System
And device.
Background technique
With the development of computer technology, there is GIS-Geographic Information System, GIS-Geographic Information System is a kind of based on computer
Tool, it can be analyzed and be handled to spatial information.GIS-Geographic Information System is this unique visualization effect of map
It is integrated with geography-analysis function and general database manipulation, provides good clothes for Geographical Study and geographical decision
Business.In practical applications, it will usually be related to show in graphic designs file importing GIS-Geographic Information System to count
According to comparison and spatial analysis.
However, traditional method that graphic designs file is imported into GIS-Geographic Information System, generally by third party software
Figure and attribute data are converted to the data to match with GIS-Geographic Information System, then imported into GIS-Geographic Information System, so that
There is low efficiency in the data processing based on GIS-Geographic Information System.
Summary of the invention
Based on this, it is necessary to aiming at the problem that data processing method low efficiency based on GIS-Geographic Information System, provide one kind
Data processing method, device, computer readable storage medium and computer equipment based on GIS-Geographic Information System.
A kind of data processing method based on GIS-Geographic Information System, which comprises
Obtain the graphic designs file comprising planning figure;
It parses the graphic designs file and obtains the coordinate point set of the planning figure;
The coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System;
The longitude and latitude set is imported into GIS-Geographic Information System.
A kind of data processing equipment based on GIS-Geographic Information System, described device include:
Module is obtained, includes the graphic designs file for planning figure for obtaining;
Parsing module obtains the coordinate point set of the planning figure for parsing the graphic designs file;
Conversion module, the longitude and latitude set for the coordinate point set to be converted into matching with GIS-Geographic Information System;
Import modul, for the longitude and latitude set to be imported GIS-Geographic Information System.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor,
So that the processor executes the step of data processing method based on GIS-Geographic Information System.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating
When machine program is executed by the processor, so that the processor executes the step of the data processing method based on GIS-Geographic Information System
Suddenly.
The above-mentioned data processing method based on GIS-Geographic Information System, device, computer readable storage medium and computer are set
It is standby, the coordinate point set of planning figure is obtained by parsing figure design document, then coordinate point set is converted into latitude collection
Close, when graphic designs file is imported GIS-Geographic Information System, only need to by with the coordinate point set that is parsed in graphic designs file
Corresponding longitude and latitude set is closed to import in GIS-Geographic Information System.In this way, avoiding figure and attribute information etc. together
The troublesome operation and a large amount of time-consumings for importing GIS-Geographic Information System, improve the data-handling efficiency based on GIS-Geographic Information System.
Detailed description of the invention
Fig. 1 is the applied environment figure of the data processing method based on GIS-Geographic Information System in one embodiment;
Fig. 2 is the flow diagram of the data processing method based on GIS-Geographic Information System in one embodiment;
Fig. 3 is flow diagram the step of showing default geometric figure in one embodiment;
The flow diagram for the step of Fig. 4 is query planning figure in one embodiment;
Fig. 5 is to show that the interface schematic diagram of figure is planned in bus station in traffic planning and management platform in one embodiment;
Fig. 6 is to show that traffic route plans the interface schematic diagram of figure in traffic planning and management platform in one embodiment;
Fig. 7 is to show that traffic zone plans the interface schematic diagram of figure in traffic planning and management platform in one embodiment;
Fig. 8 is the flow diagram of the data processing method based on GIS-Geographic Information System in one embodiment;
Fig. 9 is the structural block diagram of the data processing equipment based on GIS-Geographic Information System in one embodiment;
Figure 10 is the structural block diagram of the data processing equipment based on GIS-Geographic Information System in another embodiment;
Figure 11 is the structural block diagram of the data processing equipment based on GIS-Geographic Information System in a still further embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
Fig. 1 is the applied environment figure of the data processing method based on GIS-Geographic Information System in one embodiment.Referring to Fig.1,
The data processing method based on GIS-Geographic Information System is applied to a kind of computer equipment.The computer equipment can be terminal or
Person's server.Terminal can be bench device or mobile terminal.Server can be independent physical server, physical services
Device cluster or virtual server.Wherein, which includes processor, memory and the net connected by system bus
Network interface.Wherein, memory includes non-volatile memory medium and built-in storage.The non-volatile memories of the computer equipment are situated between
Matter is stored with operating system, can also be stored with computer program, when which is executed by processor, may make processor
Realize the data processing method based on GIS-Geographic Information System.Computer program can also be stored in the built-in storage, the computer
When program is executed by processor, processor may make to execute the data processing method based on GIS-Geographic Information System.Art technology
Personnel are appreciated that structure shown in Fig. 1, and only the block diagram of part-structure relevant to application scheme, is not constituted
Restriction to the computer equipment that application scheme is applied thereon, specific computer equipment may include than as shown in the figure
More or fewer components perhaps combine certain components or with different component layouts.
As shown in Fig. 2, in one embodiment, providing a kind of data processing method based on GIS-Geographic Information System.This
Embodiment is applied to the computer equipment in above-mentioned Fig. 1 in this way mainly to illustrate.It, should be based on geographical letter referring to Fig. 2
The data processing method of breath system specifically comprises the following steps:
S202 obtains the graphic designs file comprising planning figure.
Wherein, graphic designs file is the file based on graphic design software production.Graphic design software serves as figure
Software, base map figure and all kinds of common figures can be drawn, moreover it is possible to carry out the operation such as graphics edition, such as Adobe
Photoshop (Austria is mostly than image shop) software, Auto CAD (Autodesk Computer Aided Design, Ou Teke
CAD) software, CorelDRAW Graphics Suite (Ke Lier drawing external member) software etc..Planning figure is
Design configuration in graphic designs file, multiple planning figures constitute a graphic designs file.
Specifically, graphic designs file can be locally made in computer equipment, what computer equipment obtained local includes rule
Draw the graphic designs file of figure.Computer can also pass through USB (Universal Serial Bus, universal serial bus) interface
The communication modes such as connection or network connection obtain the graphic designs file comprising planning figure from other equipment.
In one embodiment, after computer equipment locally production graphic designs file, computer equipment can be obtained directly
Take this document.
In one embodiment, after computer equipment locally production graphic designs file, graphic designs file is stored
In local non-volatile memory medium, when needed, computer equipment obtains the local figure comprising planning figure again
Design document.
S204, parsing figure design document obtain the coordinate point set of planning figure.
Wherein, coordinate points are the relative position of object in a plane or in space, are usually indicated with numeric form.Coordinate point set
Conjunction is the set that at least one coordinate points is constituted, and a coordinate point set can indicate a planning figure in graphic designs file
Relative position.
In one embodiment, plan to include at least one coordinate points in figure, computer equipment can include obtaining
After the graphic designs file for planning figure, the graphic designs file is parsed, obtains coordinate points corresponding with planning figure.Will
To coordinate points by planning figure be divided into different coordinate point sets.
In one embodiment, the planning figure in graphic designs file can be by identical or different, one or more lists
First component is constituted, wherein unit member is the minimum sandards unit for constituting planning figure.Computer equipment is set by parsing figure
File is counted, the planning figure in the graphic designs file is obtained.The each unit component for constituting different planning figures is determined again, is obtained
Take coordinate points corresponding with each unit component.By it is same planning figure in constitute the planning figure unit member phase
Corresponding coordinate points are by the composition sequential polymerization of unit member at coordinate point set.
In one embodiment, the corresponding relationship of unit member and coordinate points can be preset in computer equipment, and stores
In non-volatile memory medium.Further, after computer equipment determines each unit component for constituting different planning figures,
It can search according to the corresponding relationship of pre-set unit member and coordinate points and obtain coordinate corresponding with each unit component
Point.
In one embodiment, computer equipment can be in creating unit component, will coordinate corresponding with unit member
Point is set as the attribute information of unit member, and associated storage is in non-volatile memory medium.Further, computer equipment
After determining each unit component for constituting different planning figures, it can be obtained according to the incidence relation of unit member and coordinate points
Coordinate points corresponding with each unit component.
Coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System by S206.
Wherein, GIS-Geographic Information System (Geographic Information System, abbreviation GIS) is a kind of specific
Space information system, be computer equipment operating system support under, can be to having in earth surface layer space all or in part
Close the technological system that geographic distribution data such as was acquired, and stored, and managing, showing at the operations.
Longitude and latitude is being collectively referred to as longitude and latitude, can indicate any one tellurian position.In the present embodiment, root
Position corresponding with the longitude and latitude can be found in GIS-Geographic Information System according to determining longitude and latitude.Longitude and latitude set is by extremely
The set that a few longitude and latitude is constituted.
Specifically, the coordinate points in coordinate point set can be converted into and GIS-Geographic Information System phase by computer equipment respectively
Longitude and latitude after conversion is constituted different longitudes and latitudes further according to the correlation of coordinate points in coordinate point set by the longitude and latitude matched
Degree set.Wherein, by the method that coordinate points are converted into longitude and latitude can be used WGS84 (World Geodetic System 1984,
Global positioning system) it is calculated to GCJ-02 (Guojia Cehui Ju, the GIS-Geographic Information System that China's National Bureau of Surveying and Mapping works out) conversion
Method.
Longitude and latitude set is imported GIS-Geographic Information System by S208.
Specifically, the extractable coordinate point set parsed from graphic designs file of computer equipment, by coordinate point set
Conjunction is converted into longitude and latitude set, then longitude and latitude set is stored into the database of GIS-Geographic Information System.
The above-mentioned data processing method based on GIS-Geographic Information System obtains planning figure by parsing figure design document
Coordinate point set, then coordinate point set is converted into latitude set, when graphic designs file is imported GIS-Geographic Information System,
Longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to only be imported in GIS-Geographic Information System
?.In this way, avoiding the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and a large amount of time-consumings, mention
The high data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, step S204 includes: parsing figure design document, obtains planning figure;It determines and constitutes rule
Draw the unit member of figure;The coordinate points of acquiring unit component;The coordinate points that will acquire constitute the coordinate point set of planning figure.
Specifically, computer equipment can obtain the planning chart in the graphic designs file by parsing figure design document
Shape.The each unit component for constituting different planning figures is determined again, obtains coordinate points corresponding with each unit component.It will be same
Coordinate points corresponding with the unit member of the planning figure is constituted in a planning figure are poly- by the composition sequence of unit member
Synthesize coordinate point set.
In above-described embodiment, computer equipment can obtain the unit structure in planning figure by parsing figure design document
The coordinate points of part, then the coordinate points of unit member are constituted to the coordinate point set for planning figure, it is more straight than parsing figure design document
Connecing the acquisition coordinate point set from planning figure will be easier, and substantially increase parsing figure design document and obtain coordinate point set
The efficiency of conjunction.
In one embodiment, being somebody's turn to do the data processing method based on GIS-Geographic Information System further includes showing default geometric figure
The step of, show that the step of presetting geometric figure specifically includes:
S302 obtains the geometry type of the planning figure determined according to coordinate point set.
Wherein, geometry is the structure of geometric figure.Geometry type is the structure type of geometric figure, in this reality
It applies in example, geometry type includes at least one of point structure type, cable architecture type or face structure type.
In one embodiment, computer equipment can preset planning figure coordinate point set with plan figure it is several
The corresponding relationship of what structure type.The geometry class of planning figure can be obtained when computer equipment obtains coordinate point set
Type.
In one embodiment, computer equipment can by judge coordinate point set whether meet preset condition determine rule
Draw the geometry type of figure.For example, computer equipment can be preset when the coordinate points quantity in coordinate point set is one
When, plan that the structure type of figure is point structure type;When the coordinate points quantity in coordinate point set is greater than one and coordinate point set
When origin coordinates point in conjunction is with end coordinate point difference, then plan that the geometry type of figure is cable architecture type;Work as seat
When origin coordinates point of the coordinate points quantity greater than one and in coordinate point set in punctuate set is identical with end coordinate point, then
The geometry type for planning figure is face structure type.When computer equipment judges that coordinate point set meets among the above at least
When one preset condition, computer equipment then can determine the geometry type of planning figure.
S304 determines the corresponding default geometric figure of geometry type.
Wherein, default geometric figure is pre-set geometric figure.Wherein, geometric figure can be dot pattern, line chart
Shape or face figure etc., dot pattern specifically can be a little or indicate point meaning icon, line graph specifically can be straight line, broken line or
Smooth curve etc., face figure specifically can be square, round or irregular polygon etc..
Specifically, computer equipment is after the geometry type for getting planning figure, according to the geometry type
Determine default geometric figure corresponding with geometry type.For example, working as the planning figure that computer equipment obtains
When geometry type is point structure type, calculating connects equipment and can determine dot pattern corresponding with point structure type;Work as calculating
When the geometry type for the planning figure that machine equipment obtains is cable architecture type, calculating, which connects equipment, be can determine and cable architecture type
Corresponding line graph;When the geometry type for the planning figure that computer equipment obtains is face structure type, calculating is connect
Equipment can determine face corresponding with face structure type figure.
S306, according to the corresponding longitude and latitude set of coordinate point set, shows default geometric graph in GIS-Geographic Information System
Shape.
Specifically, in GIS-Geographic Information System, computer equipment can according to the corresponding longitude and latitude set of coordinate point set,
Default geometric figure is shown at position corresponding with longitude and latitude set in GIS-Geographic Information System.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for point structure type, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with
Preset dot pattern is shown at the corresponding position of longitude and latitude set.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for cable architecture type, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with
Preset line graph is shown at the corresponding position of longitude and latitude set.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for face structure type, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with
Preset face figure is shown at the corresponding position of longitude and latitude set.
In above-described embodiment, computer equipment can determine the geometry type of planning figure by coordinate point set,
In GIS-Geographic Information System at corresponding position according to geometry type show it is corresponding with geometry type preset it is several
What figure.So that the graphical information without importing in graphic designs file achieves that and shows planning chart in GIS-Geographic Information System
Shape further improves the data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, it is flat applied to traffic planning and management to be somebody's turn to do the data processing method based on GIS-Geographic Information System
Platform;The step of this method further includes the steps that query planning figure, query planning figure specifically includes:
S402 receives traffic programme inquiry instruction.
Wherein, traffic programme inquiry instruction is the instruction for inquiring traffic programme, and computer equipment can be according to the instructions query
Specified traffic programme.
Specifically, computer equipment can be referred to by the trigger action of detection traffic programme inquiry to receive traffic programme inquiry
It enables.Wherein, trigger action is the predetermined registration operation for acting on traffic planning and management platform display interface, detects that trigger action will touch
Hair enters step S404.Trigger action specifically can be touch operation, cursor operations or button operation.Wherein, touch operation
Can be touch clicking operation, touch pressing operation or touch slide, touch operation can be single-touch operation or
The operation of person's multiple point touching;The behaviour that cursor operations can be the operation that control cursor is clicked or control cursor is pressed
Make;Button operation can be operation of virtual key or physical button operation etc..
S404 determines longitude and latitude set specified by traffic programme inquiry instruction.
In one embodiment, the corresponding relationship of traffic programme Yu longitude and latitude set can be preset in computer equipment.Meter
Machine equipment is calculated after receiving traffic programme inquiry instruction, corresponding longitude and latitude set is determined according to the instruction.For example, calculating
It is corresponding with the planning longitude and latitude set of figure of point structure type that traffic Bus stop planning can be preset in machine equipment.Work as computer
Equipment determines the longitude and latitude of the planning figure of point structure type according to the instruction after receiving traffic Bus stop planning inquiry instruction
Set.
S406 obtains the geometry type of corresponding planning figure, geometry type according to specified longitude and latitude set
It is generated according to coordinate point set corresponding with specified longitude and latitude set.
Specifically, computer equipment is after getting longitude and latitude set specified by traffic programme inquiry instruction, by the warp
Latitude set can determine that corresponding coordinate point set, computer equipment can determine corresponding planning figure by coordinate point set
Geometry type.
S408 determines the corresponding default geometric figure of geometry type.
S410, according to the corresponding longitude and latitude set of coordinate point set, shows default geometric graph in GIS-Geographic Information System
Shape.
In above-described embodiment, computer equipment can be determined specified by the traffic programme of inquiry by traffic programme inquiry instruction
Longitude and latitude set, corresponding default geometric figure is shown in GIS-Geographic Information System.It can be shown according to user's actual need
Corresponding planning figure, increases the convenience of operation.
In one embodiment, step S302 includes: the quantity for obtaining coordinate points in coordinate point set;When quantity is one
When, it is determined that the geometry type for planning figure is point structure type;When quantity is greater than the starting in one and coordinate point set
When coordinate points and end coordinate point difference, it is determined that the geometry type for planning figure is cable architecture type;When quantity is greater than
One and coordinate point set in origin coordinates point it is identical with end coordinate point when, it is determined that plan the geometry type of figure
For face structure type.
Specifically, computer equipment can obtain automatically in coordinate point set after the coordinate point set for obtaining planning figure
The quantity of coordinate points.When the coordinate points quantity in coordinate point set is a period of time, expression planning figure is corresponding with single coordinate points,
Therefore the structure type of planning figure is point structure type.When the coordinate points quantity in coordinate point set is greater than one and coordinate points
When origin coordinates point in set is with end coordinate point difference, indicate that planning figure corresponding with the coordinate point set is non-envelope
Figure is closed, therefore plans that the structure type of figure is cable architecture type.When the coordinate points quantity in coordinate point set be greater than one and
When origin coordinates point in coordinate point set is identical with end coordinate point, planning figure corresponding with the coordinate point set is indicated
Structure type for closed figure, therefore planning figure is face structure type.
In above-described embodiment, computer equipment rising by the quantity of coordinate points in coordinate point set and in coordinate point set
Beginning coordinate points and the whether identical geometry type to determine planning figure of end coordinate point, it is succinct effective, it further increases
Data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, when geometry type is point structure type, geometric figure is preset as traffic website rule
Draw figure;When geometry type is cable architecture type, presetting geometric figure is that traffic route plans figure;Work as geometry
When type is face structure type, presetting geometric figure is that traffic zone plans figure.
Wherein, traffic website planning chart shape is the figure for indicating traffic website, and specifically can be indicates bus station, subway
The figure of website, light rail website, high-speed rail website etc., for example, can be indicate bus station with bus mark image,
Indicate the image etc. with subway mark of subway station.Traffic route plans that figure is the figure for indicating traffic route, specifically
It can be the figure for indicating public bus network, subway line, light railways, high-speed rail route etc..Traffic zone plans that figure is to indicate
The figure of traffic zone, can be indicate certain panel region figure, such as indicate Nanshan District, Shenzhen City and Nanshan District, Shenzhen City
The corresponding figure of map size, indicate the figure corresponding with the map size of Enterprises of Futian District etc. of Enterprises of Futian District.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for point structure type, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set
Traffic website planning chart shape is shown at the position of point corresponding with longitude and latitude.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for cable architecture type, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set
Point corresponding with longitude and latitude connects into line, and shows at position corresponding with longitude and latitude set.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set
When for face structure type, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set
Point corresponding with longitude and latitude is connected, and constitutes closed interval.The section is highlighted in GIS-Geographic Information System.Wherein, it dashes forward
Display is the display different from surrounding display interface out, for example, the section can be shown as to the display face different from other regions
Color can also be translucent image corresponding with section size covering display on the section etc..
In above-described embodiment, computer equipment is after the geometry type for determining planning figure, in GIS-Geographic Information System
It is middle to show relevant to traffic programme default geometric figure, such that traffic planning and management platform is more intuitive, efficiently shows friendship
Drift draws relevant planning figure.
Fig. 5 is to show that the interface schematic diagram of figure is planned in bus station in traffic planning and management platform in one embodiment.
GIS map 510 is shown on the display interface of computer equipment, shows that figure 520 is planned in bus station in GIS map 510.
Fig. 6 is to show that traffic route plans the interface schematic diagram of figure in traffic planning and management platform in one embodiment.
GIS map 510 is shown on the display interface of computer equipment, shows that traffic route plans figure 530 in GIS map 510.
Fig. 7 is to show that traffic zone plans the interface schematic diagram of figure in traffic planning and management platform in one embodiment.
GIS map 510 is shown on the display interface of computer equipment, shows that traffic zone plans figure 540 in GIS map 510.
As shown in figure 8, in one embodiment, a kind of data processing method based on GIS-Geographic Information System is provided, it should
Method specifically comprises the following steps:
S802 obtains the graphic designs file comprising planning figure.
S804 parses figure design document, obtains planning figure.
S806 determines the unit member for constituting planning figure.
S808, the coordinate points of acquiring unit component.
S810, the coordinate points that will acquire constitute the coordinate point set of planning figure.
Coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System by S812.
Longitude and latitude set is imported GIS-Geographic Information System by S814.
S816 obtains the quantity of coordinate points in coordinate point set.
S818, when quantity is for the moment, it is determined that the geometry type for planning figure is point structure type, determines geometry knot
The corresponding default geometric figure of structure type is traffic website planning chart shape.
S820, when quantity is greater than the origin coordinates point in one and coordinate point set with end coordinate point difference, it is determined that
The geometry type for planning figure is cable architecture type, determines that the corresponding default geometric figure of geometry type is traffic
Route planning figure.
S822, when origin coordinates point of the quantity greater than one and in coordinate point set is identical with end coordinate point, it is determined that
The geometry type for planning figure is face structure type, determines that the corresponding default geometric figure of geometry type is traffic
Regional planning figure.
S824, according to the corresponding longitude and latitude set of coordinate point set, shows default geometric graph in GIS-Geographic Information System
Shape.
Fig. 8 is the flow diagram of the data processing method based on GIS-Geographic Information System in one embodiment.It should be understood that
Although each step in the flow chart of Fig. 8 successively shows that these steps are not certainty according to the instruction of arrow
It is successively executed according to the sequence that arrow indicates.Unless expressly stating otherwise herein, there is no stringent for the execution of these steps
Sequence limits, these steps can execute in other order.Moreover, at least part step in Fig. 8 may include multiple
Perhaps these sub-steps of multiple stages or stage are not necessarily to execute completion in synchronization to sub-step, but can be
Executed at the time of different, the execution in these sub-steps or stage sequence, which is also not necessarily, successively to be carried out, but can with it is other
At least part of the sub-step or stage of step or other steps executes in turn or with telling somebody what one's real intentions are.
The above-mentioned data processing method based on GIS-Geographic Information System obtains planning figure by parsing figure design document
Coordinate point set, then coordinate point set is converted into latitude set, when graphic designs file is imported GIS-Geographic Information System,
Longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to only be imported in GIS-Geographic Information System
?.In this way, avoiding the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and a large amount of time-consumings, mention
The high data-handling efficiency based on GIS-Geographic Information System.
As shown in figure 9, in one embodiment, a kind of data processing equipment 900 based on GIS-Geographic Information System is provided,
Including obtaining module 901, parsing module 902, conversion module 903, import modul 904.
Module 901 is obtained, includes the graphic designs file for planning figure for obtaining.
Parsing module 902 obtains the coordinate point set of planning figure for parsing figure design document.
Conversion module 903, the longitude and latitude set for coordinate point set to be converted into matching with GIS-Geographic Information System.
Import modul 904, for longitude and latitude set to be imported GIS-Geographic Information System.
The above-mentioned data processing equipment based on GIS-Geographic Information System obtains planning figure by parsing figure design document
Coordinate point set, then coordinate point set is converted into latitude set, when graphic designs file is imported GIS-Geographic Information System,
Longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to only be imported in GIS-Geographic Information System
?.In this way, avoiding the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and a large amount of time-consumings, mention
The high data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, parsing module 902 is also used to parse figure design document, obtains planning figure;Determine structure
At the unit member of planning figure;The coordinate points of acquiring unit component;The coordinate points that will acquire constitute the coordinate points of planning figure
Set.
In above-described embodiment, computer equipment can obtain the unit structure in planning figure by parsing figure design document
The coordinate points of part, then the coordinate points of unit member are constituted to the coordinate point set for planning figure, it is more straight than parsing figure design document
Connecing the acquisition coordinate point set from planning figure will be easier, and substantially increase parsing figure design document and obtain coordinate point set
The efficiency of conjunction.
Figure 10 is the structural block diagram of the data processing equipment 900 based on GIS-Geographic Information System in another embodiment, reference
Figure 10, being somebody's turn to do the data processing equipment 900 based on GIS-Geographic Information System further includes determining module 905, display module 906.
Obtain the geometry type that module 901 is also used to obtain the planning figure determined according to coordinate point set.
Determining module 905, for determining the corresponding default geometric figure of geometry type.
Display module 906, for according to the corresponding longitude and latitude set of coordinate point set, opening up in GIS-Geographic Information System
Show default geometric figure.
In above-described embodiment, computer equipment can determine the geometry type of planning figure by coordinate point set,
In GIS-Geographic Information System at corresponding position according to geometry type show it is corresponding with geometry type preset it is several
What figure.So that the graphical information without importing in graphic designs file achieves that and shows planning chart in GIS-Geographic Information System
Shape further improves the data-handling efficiency based on GIS-Geographic Information System.
Figure 11 is the structural block diagram of the data processing equipment 900 based on GIS-Geographic Information System in a still further embodiment, reference
Figure 11, being somebody's turn to do the data processing equipment 900 based on GIS-Geographic Information System further includes receiving module 906.
Receiving module 906, for receiving traffic programme inquiry instruction.
Determining module 905 is also used to determine longitude and latitude set specified by traffic programme inquiry instruction.
The geometry type that module 901 is also used to obtain corresponding planning figure according to specified longitude and latitude set is obtained,
Geometry type is generated according to coordinate point set corresponding with specified longitude and latitude set.
In above-described embodiment, computer equipment can be determined specified by the traffic programme of inquiry by traffic programme inquiry instruction
Longitude and latitude set, corresponding default geometric figure is shown in GIS-Geographic Information System.It can be shown according to user's actual need
Corresponding planning figure, increases the convenience of operation.
In one embodiment, the quantity that module 901 is also used to obtain coordinate points in coordinate point set is obtained.Determining module
905 are also used to when quantity is for the moment, it is determined that the geometry type for planning figure is point structure type;When quantity be greater than one,
And the origin coordinates point in coordinate point set with end coordinate point difference when, it is determined that plan figure geometry type be line
Structure type;When origin coordinates point of the quantity greater than one and in coordinate point set is identical with end coordinate point, it is determined that planning
The geometry type of figure is face structure type.
In above-described embodiment, computer equipment rising by the quantity of coordinate points in coordinate point set and in coordinate point set
Beginning coordinate points and the whether identical geometry type to determine planning figure of end coordinate point, it is succinct effective, it further increases
Data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, when geometry type is point structure type, geometric figure is preset as traffic website rule
Draw figure;When geometry type is cable architecture type, presetting geometric figure is that traffic route plans figure;Work as geometry
When type is face structure type, presetting geometric figure is that traffic zone plans figure.
In above-described embodiment, computer equipment is after the geometry type for determining planning figure, in GIS-Geographic Information System
It is middle to show relevant to traffic programme default geometric figure, such that traffic planning and management platform is more intuitive, efficiently shows friendship
Drift draws relevant planning figure.
In one embodiment, the data processing equipment provided by the present application based on GIS-Geographic Information System can be implemented as one
The form of kind computer program, computer program can be run in computer equipment as shown in Figure 1.The storage of computer equipment
The each program module for forming the data processing equipment based on GIS-Geographic Information System can be stored in device, for example, shown in Fig. 9 obtain
Modulus block 901, parsing module 902, conversion module 903 and import modul 904.The computer program that each program module is constituted makes
Obtain the data processing method based on GIS-Geographic Information System that processor executes each embodiment of the application described in this specification
In step.
For example, computer equipment shown in FIG. 1 can pass through the data processing as shown in Figure 9 based on GIS-Geographic Information System
Acquisition module 901 in device executes step S202.Computer equipment can execute step S204 by parsing module 902.It calculates
Machine equipment can execute step S206 by conversion module 903.Computer equipment can execute step S208 by import modul 904.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, when computer program is executed by processor, so that processor executes following steps: obtaining comprising planning figure
Graphic designs file;Parsing figure design document obtains the coordinate point set of planning figure;Coordinate point set is converted into and ground
The longitude and latitude set that reason information system matches;Longitude and latitude set is imported into GIS-Geographic Information System.
In one embodiment, computer program makes processor obtain planning figure in execution parsing figure design document
Coordinate point set when specifically execute following steps: parsing figure design document obtains planning figure;It determines and constitutes planning figure
Unit member;The coordinate points of acquiring unit component;The coordinate points that will acquire constitute the coordinate point set of planning figure.
In one embodiment, computer program makes processor also execute following steps: obtaining according to coordinate point set
The geometry type of determining planning figure;Determine the corresponding default geometric figure of geometry type;In geography information
In system, according to the corresponding longitude and latitude set of coordinate point set, default geometric figure is shown.
In one embodiment, computer program makes processor also execute following steps: receiving traffic programme inquiry and refers to
It enables;Determine longitude and latitude set specified by traffic programme inquiry instruction;Obtain the planning figure determined according to coordinate point set
Geometry type includes: that the geometry type of corresponding planning figure, geometry are obtained according to specified longitude and latitude set
Type is generated according to coordinate point set corresponding with specified longitude and latitude set.
In one embodiment, computer program makes processor execute the planning for obtaining and determining according to coordinate point set
Following steps are specifically executed when the geometry type of figure: obtaining the quantity of coordinate points in coordinate point set;When quantity is one
When, it is determined that the geometry type for planning figure is point structure type;When quantity is greater than the starting in one and coordinate point set
When coordinate points and end coordinate point difference, it is determined that the geometry type for planning figure is cable architecture type;When quantity is greater than
One and coordinate point set in origin coordinates point it is identical with end coordinate point when, it is determined that plan the geometry type of figure
For face structure type.
In one embodiment, when geometry type is point structure type, geometric figure is preset as traffic website rule
Draw figure;When geometry type is cable architecture type, presetting geometric figure is that traffic route plans figure;Work as geometry
When type is face structure type, presetting geometric figure is that traffic zone plans figure.
Above-mentioned computer equipment obtains the coordinate point set of planning figure by parsing figure design document, then by coordinate
Point set is converted into latitude set, and when graphic designs file is imported GIS-Geographic Information System, only needing will be with graphic designs text
The corresponding longitude and latitude set of the coordinate point set parsed in part imports in GIS-Geographic Information System.In this way, avoid by
Figure and attribute information etc. import the troublesome operation and a large amount of time-consumings of GIS-Geographic Information System together, improve based on geography information system
The data-handling efficiency of system.
A kind of computer readable storage medium, is stored with computer program, real when which is executed by processor
Existing following steps: the graphic designs file comprising planning figure is obtained;Parsing figure design document obtains the coordinate of planning figure
Point set;Coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System;Longitude and latitude set is imported ground
Manage information system.
In one embodiment, computer program makes processor obtain planning figure in execution parsing figure design document
Coordinate point set when specifically execute following steps: parsing figure design document obtains planning figure;It determines and constitutes planning figure
Unit member;The coordinate points of acquiring unit component;The coordinate points that will acquire constitute the coordinate point set of planning figure.
In one embodiment, computer program makes processor also execute following steps: obtaining according to coordinate point set
The geometry type of determining planning figure;Determine the corresponding default geometric figure of geometry type;In geography information
In system, according to the corresponding longitude and latitude set of coordinate point set, default geometric figure is shown.
In one embodiment, computer program makes processor also execute following steps: receiving traffic programme inquiry and refers to
It enables;Determine longitude and latitude set specified by traffic programme inquiry instruction;Obtain the planning figure determined according to coordinate point set
Geometry type includes: that the geometry type of corresponding planning figure, geometry are obtained according to specified longitude and latitude set
Type is generated according to coordinate point set corresponding with specified longitude and latitude set.
In one embodiment, computer program makes processor execute the planning for obtaining and determining according to coordinate point set
Following steps are specifically executed when the geometry type of figure: obtaining the quantity of coordinate points in coordinate point set;When quantity is one
When, it is determined that the geometry type for planning figure is point structure type;When quantity is greater than the starting in one and coordinate point set
When coordinate points and end coordinate point difference, it is determined that the geometry type for planning figure is cable architecture type;When quantity is greater than
One and coordinate point set in origin coordinates point it is identical with end coordinate point when, it is determined that plan the geometry type of figure
For face structure type.
In one embodiment, when geometry type is point structure type, geometric figure is preset as traffic website rule
Draw figure;When geometry type is cable architecture type, presetting geometric figure is that traffic route plans figure;Work as geometry
When type is face structure type, presetting geometric figure is that traffic zone plans figure.
Above-mentioned computer readable storage medium obtains the coordinate point set of planning figure by parsing figure design document,
Coordinate point set is converted into latitude set again, when graphic designs file is imported GIS-Geographic Information System, only needing will be with figure
The corresponding longitude and latitude set of the coordinate point set parsed in shape design document imports in GIS-Geographic Information System.In this way,
The troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and a large amount of time-consumings are avoided, is improved based on ground
Manage the data-handling efficiency of information system.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein
Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile
And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory
(RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM
(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application
Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (8)
1. a kind of data processing method based on GIS-Geographic Information System, which comprises
Obtain the graphic designs file comprising planning figure;
The graphic designs file is parsed, the planning figure is obtained;
Determine the unit member for constituting the planning figure;
Obtain the coordinate points of the unit member;
The coordinate points that will acquire constitute the coordinate point set of the planning figure;
The coordinate point set is converted into the longitude and latitude set to match with GIS-Geographic Information System;
The longitude and latitude set is imported into GIS-Geographic Information System.
2. the method according to claim 1, wherein the method also includes:
Obtain the geometry type of the planning figure determined according to the coordinate point set;
Determine the corresponding default geometric figure of the geometry type;
In the GIS-Geographic Information System, according to the corresponding longitude and latitude set of the coordinate point set, show it is described preset it is several
What figure.
3. according to the method described in claim 2, it is characterized in that, the method is applied to traffic planning and management platform;It is described
Method further include:
Receive traffic programme inquiry instruction;
Determine longitude and latitude set specified by the traffic programme inquiry instruction;
Described obtain include: according to the geometry type of the planning figure that the coordinate point set determines
The geometry type of corresponding planning figure, the geometry type root are obtained according to the specified longitude and latitude set
It is generated according to coordinate point set corresponding with the specified longitude and latitude set.
4. according to the method described in claim 2, it is characterized in that, described obtain according to coordinate point set determination
Planning figure geometry type include:
Obtain the quantity of coordinate points in the coordinate point set;
When the quantity is for the moment, it is determined that the geometry type of the planning figure is point structure type;
When the quantity is greater than the origin coordinates point in one and the coordinate point set with end coordinate point difference, it is determined that
The geometry type of the planning figure is cable architecture type;
When origin coordinates point of the quantity greater than one and in the coordinate point set is identical with end coordinate point, it is determined that
The geometry type of the planning figure is face structure type.
5. according to the method described in claim 4, it is characterized in that, when the geometry type be point structure type when, institute
Stating default geometric figure is traffic website planning chart shape;
When the geometry type is cable architecture type, the default geometric figure is that traffic route plans figure;
When the geometry type is face structure type, the default geometric figure is that traffic zone plans figure.
6. a kind of data processing equipment based on GIS-Geographic Information System, described device include:
Module is obtained, includes the graphic designs file for planning figure for obtaining;
Parsing module obtains the planning figure for parsing the graphic designs file;It determines and constitutes the planning figure
Unit member;Obtain the coordinate points of the unit member;The coordinate points that will acquire constitute the coordinate points of the planning figure
Set;
Conversion module, the longitude and latitude set for the coordinate point set to be converted into matching with GIS-Geographic Information System;
Import modul, for the longitude and latitude set to be imported GIS-Geographic Information System.
7. a kind of computer readable storage medium, be stored with computer program makes when the computer program is executed by processor
The processor is obtained to execute such as the step of any one of claims 1 to 5 the method.
8. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the computer
When program is executed by the processor, so that the processor executes the step such as any one of claims 1 to 5 the method
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912038.XA CN107885773B (en) | 2017-09-29 | 2017-09-29 | Data processing method and device based on GIS-Geographic Information System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912038.XA CN107885773B (en) | 2017-09-29 | 2017-09-29 | Data processing method and device based on GIS-Geographic Information System |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107885773A CN107885773A (en) | 2018-04-06 |
CN107885773B true CN107885773B (en) | 2019-03-26 |
Family
ID=61781098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710912038.XA Active CN107885773B (en) | 2017-09-29 | 2017-09-29 | Data processing method and device based on GIS-Geographic Information System |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107885773B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108416070A (en) * | 2018-05-10 | 2018-08-17 | 四川省冶地工程勘察设计有限公司 | A kind of method that geography information quickly introduces GIS-Geographic Information System |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508869A (en) * | 2011-10-11 | 2012-06-20 | 西安煤航信息产业有限公司 | Method of importing CAD (computer-aided design) graph and attribute data into GIS (Geographic information system) |
CN103970835A (en) * | 2014-04-09 | 2014-08-06 | 方正国际软件有限公司 | Vector map data storage method and system |
CN105976313A (en) * | 2016-04-19 | 2016-09-28 | 天津天大求实电力新技术股份有限公司 | Method and system for transforming CAD plane coordinate system to Baidu map coordinate system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908069B (en) * | 2010-08-09 | 2012-07-11 | 哈尔滨工程大学 | Device and method for converting optional area electronic marine map file format |
CN106777811B (en) * | 2017-01-16 | 2020-09-25 | 昆明理工大学 | Traffic channelized map design and development method |
CN106802958B (en) * | 2017-01-18 | 2019-06-04 | 福建中庚信息科技有限公司 | Conversion method and system of the CAD data to GIS data |
-
2017
- 2017-09-29 CN CN201710912038.XA patent/CN107885773B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508869A (en) * | 2011-10-11 | 2012-06-20 | 西安煤航信息产业有限公司 | Method of importing CAD (computer-aided design) graph and attribute data into GIS (Geographic information system) |
CN103970835A (en) * | 2014-04-09 | 2014-08-06 | 方正国际软件有限公司 | Vector map data storage method and system |
CN105976313A (en) * | 2016-04-19 | 2016-09-28 | 天津天大求实电力新技术股份有限公司 | Method and system for transforming CAD plane coordinate system to Baidu map coordinate system |
Also Published As
Publication number | Publication date |
---|---|
CN107885773A (en) | 2018-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chen et al. | A BIM-WMS integrated decision support tool for supply chain management in construction | |
Guney et al. | Tailoring a geomodel for analyzing an urban skyline | |
CN111522481B (en) | Layer data processing method and device, computer equipment and storage medium | |
US20070220174A1 (en) | Marker placement in a mapping environment | |
US20090063424A1 (en) | Geographic information system | |
CN110442813B (en) | Travel commemorative information processing system and method based on AR | |
EP2879089A1 (en) | Information processing device, information processing system, and information processing program | |
CN109558470B (en) | Trajectory data visualization method and device | |
CN104007457A (en) | Parameter-free real-time locating method based on CORS | |
US20160140147A1 (en) | Searching for a map using an input image as a search query | |
US20170186225A1 (en) | Method and apparatus for generating a composite indexable linear data structure to permit selection of map elements based on linear elements | |
CN107885773B (en) | Data processing method and device based on GIS-Geographic Information System | |
CN108427710B (en) | Enterprise data visualization processing method, server and storage medium | |
CN112287048A (en) | Map service processing method and device | |
CN110992501A (en) | Data monitoring method, device, equipment and computer readable storage medium | |
US20150219746A1 (en) | Determining a geographic location of a computing device | |
CN112432646B (en) | Route navigation method, storage medium and equipment | |
CN110489510B (en) | Road data processing method and device, readable storage medium and computer equipment | |
TWI649700B (en) | Reservation-free dynamic recommendation system | |
JP5276562B2 (en) | Moving direction estimation apparatus and moving direction estimation method | |
KR102080872B1 (en) | Device for providing map service and method for providing map service | |
CN111324682A (en) | Method and device for loading CAD (computer-aided design) data without geographic coordinate information based on GMap (Gaussian mixture map) | |
Piroozfar et al. | Augmented Reality (AR) for utility infrastructure: An experiential development workflow | |
CN116295444B (en) | Navigation method, system, terminal and storage medium for field operation | |
CN103455565A (en) | Method, client side and system for obtaining time information through input method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 518000 Room 601, 6th floor, shenran building, 268 Meiao 1st Road, Futian District, Shenzhen, Guangdong Patentee after: Yunji smart Engineering Co.,Ltd. Address before: 518048 6th floor, block B, shenran building, meiaoba Road, Futian District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN EXPRESSWAY ENGINEERING CONSULTANTS CO.,LTD. |