CN107885773A - 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 PDF

Info

Publication number
CN107885773A
CN107885773A CN201710912038.XA CN201710912038A CN107885773A CN 107885773 A CN107885773 A CN 107885773A CN 201710912038 A CN201710912038 A CN 201710912038A CN 107885773 A CN107885773 A CN 107885773A
Authority
CN
China
Prior art keywords
planning
coordinate point
gis
information system
point set
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
CN201710912038.XA
Other languages
Chinese (zh)
Other versions
CN107885773B (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.)
Yunji smart Engineering Co.,Ltd.
Original Assignee
Shenzhen High Speed Engineering Consultant 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 Shenzhen High Speed Engineering Consultant Co Ltd filed Critical Shenzhen High Speed Engineering Consultant Co Ltd
Priority to CN201710912038.XA priority Critical patent/CN107885773B/en
Publication of CN107885773A publication Critical patent/CN107885773A/en
Application granted granted Critical
Publication of CN107885773B publication Critical patent/CN107885773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application is related to a kind of data processing method based on GIS-Geographic Information System, device, computer-readable recording medium and computer equipment, and methods described includes:Obtain the graphic designs file for including planning figure;Parse the graphic designs file and obtain the coordinate point set of the planning figure;The longitude and latitude set that the coordinate point set is converted into matching with GIS-Geographic Information System;The longitude and latitude set is imported into GIS-Geographic Information System.The scheme that the application provides can improve the data-handling efficiency based on GIS-Geographic Information System.

Description

Data processing method and device based on GIS-Geographic Information System
Technical field
The application is related to field of computer technology, more particularly to a kind of data processing method based on GIS-Geographic Information System And device.
Background technology
With the development of computer technology, there is GIS-Geographic Information System, GIS-Geographic Information System is that one kind is based on computer Instrument, it can be analyzed and be handled to spatial information.GIS-Geographic Information System is this unique visualization effect of map Integrated with geography-analysis function and in general database manipulation, good clothes are provided for Geographical Study and geographical decision-making Business.In actual applications, it will usually be related to be shown to enter line number in graphic designs file importing GIS-Geographic Information System According to comparison and spatial analysis.
However, traditional method that graphic designs file is imported to 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 The problem of efficiency is low be present in the data processing based on GIS-Geographic Information System.
The content of the invention
Based on this, it is necessary to for the data processing method efficiency based on GIS-Geographic Information System it is low the problem of, there is provided it is a kind of Data processing method, device, computer-readable recording medium and computer equipment based on GIS-Geographic Information System.
A kind of data processing method based on GIS-Geographic Information System, methods described include:
Obtain the graphic designs file for including planning figure;
Parse the graphic designs file and obtain the coordinate point set of the planning figure;
The longitude and latitude set that the coordinate point set is converted into matching 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:
Acquisition module, the graphic designs file of planning figure is included for obtaining;
Parsing module, the coordinate point set of the planning figure is obtained for parsing the graphic designs file;
Modular converter, for the longitude and latitude set for being converted into matching with GIS-Geographic Information System by the coordinate point set;
Import modul, for the longitude and latitude set to be imported into GIS-Geographic Information System.
A kind of computer-readable recording medium, computer program is stored with, when the computer program is executed by processor, So that described in the computing device the step of data processing method based on GIS-Geographic Information System.
A kind of computer equipment, including memory and processor, the memory storage have computer program, the calculating When machine program is by the computing device so that the step of data processing method of the computing device based on GIS-Geographic Information System Suddenly.
The above-mentioned data processing method based on GIS-Geographic Information System, device, computer-readable recording medium and computer are set It is standby, obtain planning the coordinate point set of figure by parsing figure design document, then coordinate point set is converted into latitude collection Close, when graphic designs file is imported into 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.So, avoid figure and attribute information etc. together Import the troublesome operation of GIS-Geographic Information System and largely take, improve the data-handling efficiency based on GIS-Geographic Information System.
Brief description of the drawings
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 schematic flow sheet of the data processing method based on GIS-Geographic Information System in one embodiment;
Fig. 3 is schematic flow sheet the step of default geometric figure is shown in one embodiment;
The schematic flow sheet 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 schematic flow sheet of the data processing method based on GIS-Geographic Information System in one embodiment;
Fig. 9 is the structured flowchart of the data processing equipment based on GIS-Geographic Information System in one embodiment;
Figure 10 is the structured flowchart of the data processing equipment based on GIS-Geographic Information System in another embodiment;
Figure 11 is the structured flowchart of the data processing equipment based on GIS-Geographic Information System in a still further embodiment.
Embodiment
In order that the object, technical solution and advantage of the application are more clearly understood, it is right below in conjunction with drawings and Examples The application is further elaborated.It should be appreciated that specific embodiment described herein is only 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.Reference picture 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, the computer equipment 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 the computer program is executed by processor, may be such that processor Realize the data processing method based on GIS-Geographic Information System.Also computer program can be stored in the built-in storage, the computer When program is executed by processor, data processing method of the computing device based on GIS-Geographic Information System may be such that.Art technology Personnel are appreciated that the structure shown in Fig. 1, and only the block diagram of the part-structure related to application scheme, is not formed The restriction for the computer equipment being applied thereon to application scheme, specific computer equipment can include than shown in figure More or less parts, either combine some parts or arranged with different parts.
As shown in Fig. 2 in one embodiment, there is provided a kind of data processing method based on GIS-Geographic Information System.This Embodiment is mainly applied to the computer equipment in above-mentioned Fig. 1 to illustrate in this way.Reference picture 2, should be based on geographical letter The data processing method of breath system specifically comprises the following steps:
S202, obtain the graphic designs file for including planning figure.
Wherein, graphic designs file is the file made based on graphic design software.Graphic design software serves as figure Software, base map figure and all kinds of conventional figures can be drawn, moreover it is possible to carry out the operation such as graphics edition, such as Adobe Photoshop (difficult to understand more 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 can form a graphic designs file.
Specifically, graphic designs file can be locally made in computer equipment, computer equipment acquisition local includes rule Draw the graphic designs file of figure.Computer can also pass through USB (Universal Serial Bus, USB) interface The communication mode such as connection or network connection obtains the graphic designs file for including planning figure from other equipment.
In one embodiment, after computer equipment locally makes graphic designs file, computer equipment can be obtained directly Take this document.
In one embodiment, after computer equipment locally makes graphic designs file, graphic designs file is stored In the non-volatile memory medium of local, when needed, computer equipment obtains the local figure for including planning figure again Design document.
S204, parsing figure design document obtain planning the coordinate point set of figure.
Wherein, coordinate points are the relative position of object in a plane or in space, are generally represented with numeric form.Coordinate point set Conjunction is the set that at least one coordinate points are formed, and a coordinate point set can represent a planning figure in graphic designs file Relative position.
In one embodiment, plan in figure and include at least one coordinate points, computer equipment can include obtaining After the graphic designs file for planning figure, the graphic designs file is parsed, obtains the 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 formed, wherein, unit member is to form the minimum sandards unit of planning figure.Computer equipment is set by parsing figure File is counted, obtains the planning figure in the graphic designs file.Determine to form the different each unit components for planning figure again, obtain Take the coordinate points corresponding with each unit component.By the unit member phase with forming the planning figure in same planning figure Corresponding coordinate points are by the composition sequential polymerization of unit member into coordinate point set.
In one embodiment, computer equipment can pre-set unit component and coordinate points corresponding relation, and store In non-volatile memory medium.Further, computer equipment is determined after forming the different each unit components for planning figure, It can search according to the unit member and the corresponding relation of coordinate points pre-set and obtain the coordinate corresponding with each unit component Point.
In one embodiment, computer equipment can be in creating unit component, by the coordinate corresponding with unit member Point is arranged to the attribute information of unit member, and associated storage is in non-volatile memory medium.Further, computer equipment After it is determined that forming each unit component of different planning figures, it can be obtained according to the incidence relation of unit member and coordinate points The coordinate points corresponding with each unit component.
S206, the longitude and latitude set that coordinate point set is converted into matching with GIS-Geographic Information System.
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 top 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 operation.
Longitude and latitude is being collectively referred to as longitude and latitude, can indicate any one tellurian position.In the present embodiment, root The position corresponding with the longitude and latitude can be found in GIS-Geographic Information System according to the longitude and latitude of determination.Longitude and latitude set is by extremely The set that a few longitude and latitude is formed.
Specifically, the coordinate points in coordinate point set can be converted into and GIS-Geographic Information System phase by computer equipment respectively The longitude and latitude matched somebody with somebody, further according to the correlation of coordinate points in coordinate point set, the longitude and latitude after conversion is formed to different longitudes and latitudes Degree set.Wherein, by coordinate points be converted into longitude and latitude method can use WGS84 (World Geodetic System 1984, Global positioning system) 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.
S208, longitude and latitude set is imported into GIS-Geographic Information System.
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, obtain 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 into GIS-Geographic Information System, The longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to be only imported in GIS-Geographic Information System .So, avoid the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and largely take, carry The high data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, step S204 includes:Figure design document is parsed, obtains planning figure;It is determined that form rule Draw the unit member of figure;The coordinate points of acquiring unit component;The coordinate points of acquisition are formed to 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.Determine to form the different each unit components for planning figure again, obtain the coordinate points corresponding with each unit component.Will be same The corresponding coordinate points of unit member with forming the planning figure in individual planning figure are poly- by the composition order 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 formed 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 also includes the default geometric figure of displaying The step of, show that the step of presetting geometric figure specifically includes:
S302, obtain 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 Apply 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 the coordinate point set of planning figure with planning the several of figure The corresponding relation 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 be by judging whether coordinate point set meets preparatory condition to determine to advise Draw the geometry type of figure.For example, computer equipment can be pre-set when the coordinate points quantity in coordinate point set is one When, the structure type for planning figure is a structure type;When the coordinate points quantity in coordinate point set is more than one and coordinate point set When origin coordinates point in conjunction is with end coordinate point difference, then the geometry type for planning figure is cable architecture type;Work as seat When origin coordinates point of the coordinate points quantity more 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 judge coordinate point set meet it is above-mentioned at least During one preparatory condition, computer equipment then can determine that the geometry type of planning figure.
S304, determine the corresponding default geometric figure of geometry type.
Wherein, default geometric figure is the geometric figure pre-set.Wherein, geometric figure can be dot pattern, line chart Shape or face figure etc., dot pattern specifically can be point or represent point implication icon, line graph can be specifically straight line, broken line or Smooth curve etc., face figure can be specifically square, circular or irregular polygon etc..
Specifically, computer equipment is after the geometry type of planning figure is got, according to the geometry type It is determined that the default geometric figure corresponding with geometry type.For example, the planning figure obtained when computer equipment When geometry type is structure type, calculates and connect equipment and can determine that the dot pattern corresponding with putting structure type;Work as calculating When the geometry type for the planning figure that machine equipment obtains is cable architecture type, calculating connects equipment and can determine that and cable architecture type Corresponding line graph;When the geometry type for the planning figure that computer equipment obtains is face structure type, calculating connects Equipment can determine that the face figure corresponding with face structure type.
S306, in GIS-Geographic Information System, according to the corresponding longitude and latitude set of coordinate point set, show default geometric graph Shape.
Specifically, in GIS-Geographic Information System, computer equipment can according to the corresponding longitude and latitude set of coordinate point set, The default geometric figure of the opening position corresponding with longitude and latitude set displaying in GIS-Geographic Information System.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set For structure type when, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with The corresponding opening position of longitude and latitude set shows default dot pattern.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set For cable architecture type when, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with The corresponding opening position of longitude and latitude set shows default line graph.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set For face structure type when, computer equipment according to the corresponding longitude and latitude set of coordinate point set, in GIS-Geographic Information System with The corresponding opening position of longitude and latitude set shows default face figure.
In above-described embodiment, computer equipment can determine the geometry type of planning figure by coordinate point set, Corresponding opening position is shown corresponding with geometry type default several according to geometry type in GIS-Geographic Information System What figure.So that the graphical information that need not be imported in graphic designs file achieves that and planning chart is shown in GIS-Geographic Information System Shape, further increase the data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, the data processing method based on GIS-Geographic Information System is somebody's turn to do to put down applied to traffic planning and management Platform;This method also includes the step of query planning figure, specifically includes the step of query planning figure:
S402, receive traffic programme query statement.
Wherein, traffic programme query statement is the instruction for inquiring about traffic programme, and computer equipment can be according to the instructions query The traffic programme specified.
Specifically, the trigger action that computer equipment can be inquired about by detecting traffic programme refers to receive traffic programme inquiry Order.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 can be specifically 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 Person's multiple point touching operates;The behaviour that cursor operations can be the operation for controlling cursor to be clicked on or control cursor to be pressed Make;Button operation can be operation of virtual key or physical button operation etc..
S404, determine the longitude and latitude set specified by traffic programme query statement.
In one embodiment, computer equipment can pre-set the corresponding relation of traffic programme and longitude and latitude set.Meter Machine equipment is calculated after traffic programme query statement is received, corresponding longitude and latitude set is determined according to the instruction.For example, calculate The longitude and latitude set that machine equipment can pre-set planning figure of the traffic Bus stop planning with putting structure type is corresponding.Work as computer Equipment determines the longitude and latitude of the planning figure of point structure type according to the instruction after traffic Bus stop planning query statement is received Set.
S406, the geometry type of corresponding planning figure, geometry type are obtained according to specified longitude and latitude set Generated according to the coordinate point set corresponding with specified longitude and latitude set.
Specifically, computer equipment is after the longitude and latitude set specified by traffic programme query statement is got, by the warp Latitude set can determine that corresponding coordinate point set, and computer equipment can determine corresponding planning figure by coordinate point set Geometry type.
S408, determine the corresponding default geometric figure of geometry type.
S410, in GIS-Geographic Information System, according to the corresponding longitude and latitude set of coordinate point set, show default geometric graph Shape.
In above-described embodiment, computer equipment can be determined specified by the traffic programme of inquiry by traffic programme query statement 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, add the convenience of operation.
In one embodiment, step S302 includes:Obtain 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 a structure type;When quantity is more 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 more 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 in coordinate point set automatically after the coordinate point set of planning figure is obtained 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 more than one and coordinate points When origin coordinates point in set is with end coordinate point difference, represent that the planning figure corresponding with the coordinate point set is non-envelope Figure is closed, therefore the structure type of planning figure is cable architecture type.When the coordinate points quantity in coordinate point set be more than one and When origin coordinates point in coordinate point set is identical with end coordinate point, the planning figure corresponding with the coordinate point set is represented For closed figure, therefore plan that the structure type of figure is face structure type.
In above-described embodiment, rising in quantity and coordinate point set that computer equipment passes through coordinate points in coordinate point set Beginning coordinate points and whether end coordinate point identical determines to plan the geometry type of figure, it is succinct effectively, further improve Data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, when geometry type is point structure type, it is that traffic website is advised to preset geometric figure Draw figure;When geometry type is cable architecture type, it is that traffic route plans figure to preset geometric figure;Work as geometry When type is face structure type, it is that traffic zone plans figure to preset geometric figure.
Wherein, traffic website planning chart shape is to represent the figure of traffic website, can be specifically to represent bus station, subway The figure of website, light rail website, high ferro website etc., for example, can be represent bus station with bus mark image, Represent image with subway mark of subway station etc..Traffic route planning figure is the figure for representing traffic route, specifically It can be the figure for representing public bus network, subway line, light railways, high ferro circuit etc..Traffic zone planning figure is to represent The figure of traffic zone, can be the figure for representing certain panel region, for example, represent Nanshan District, Shenzhen City and Nanshan District, Shenzhen City The corresponding figure of map size, represent 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 For structure type when, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set The opening position of the point corresponding with longitude and latitude shows traffic website planning chart shape.
In one embodiment, computer equipment plans the geometry type of figure according to determined by coordinate point set For cable architecture type when, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set The point corresponding with longitude and latitude connects into line, and is illustrated in the opening 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 For face structure type when, computer equipment, will in GIS-Geographic Information System according to the corresponding longitude and latitude set of coordinate point set The point corresponding with longitude and latitude is connected, and forms closed interval.The section is highlighted in GIS-Geographic Information System.Wherein, dash forward It is the display different from surrounding display interface to go out display, for example, the section can be shown as to the display face different from other regions Color, it can also be translucent image corresponding with section size covering including first-class in the section.
In above-described embodiment, computer equipment is after it is determined that plan the geometry type of figure, in GIS-Geographic Information System The middle displaying default geometric figure related to traffic programme so that traffic planning and management platform can more intuitively, efficiently show friendship Drift draws related 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, there is provided a kind of data processing method based on GIS-Geographic Information System, should Method specifically comprises the following steps:
S802, obtain the graphic designs file for including planning figure.
S804, figure design document is parsed, obtain planning figure.
S806, it is determined that forming the unit member of planning figure.
S808, the coordinate points of acquiring unit component.
S810, the coordinate points of acquisition are formed to the coordinate point set of planning figure.
S812, the longitude and latitude set that coordinate point set is converted into matching with GIS-Geographic Information System.
S814, longitude and latitude set is imported into GIS-Geographic Information System.
S816, obtain 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 origin coordinates point of the quantity more than one and in coordinate point set is with end coordinate point difference, it is determined that The geometry type for planning figure is cable architecture type, and it is traffic to determine the corresponding default geometric figure of geometry type Route planning figure.
S822, when the origin coordinates point that quantity is more than in one and coordinate point set is identical with end coordinate point, it is determined that The geometry type for planning figure is face structure type, and it is traffic to determine the corresponding default geometric figure of geometry type Regional planning figure.
S824, in GIS-Geographic Information System, according to the corresponding longitude and latitude set of coordinate point set, show default geometric graph Shape.
Fig. 8 is the schematic flow sheet of the data processing method based on GIS-Geographic Information System in one embodiment.It should be appreciated that Although each step in Fig. 8 flow chart shows that these steps are not certainty according to the instruction of arrow successively The order indicated according to arrow performs successively.Unless expressly stating otherwise herein, the execution of these steps is not strict Order limits, and these steps can perform in other order.Moreover, at least a portion step in Fig. 8 can include it is multiple Sub-step or multiple stages, these sub-steps or stage are not necessarily to perform completion in synchronization, but can be Performed at the time of different, the execution sequence in these sub-steps or stage is also not necessarily to be carried out successively, but can with it is other Either the sub-step of other steps or at least a portion in stage perform step in turn or with telling somebody what one's real intentions are.
The above-mentioned data processing method based on GIS-Geographic Information System, obtain 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 into GIS-Geographic Information System, The longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to be only imported in GIS-Geographic Information System .So, avoid the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and largely take, carry The high data-handling efficiency based on GIS-Geographic Information System.
As shown in figure 9, in one embodiment, there is provided a kind of data processing equipment 900 based on GIS-Geographic Information System, Including acquisition module 901, parsing module 902, modular converter 903, import modul 904.
Acquisition module 901, the graphic designs file of planning figure is included for obtaining.
Parsing module 902, obtain planning the coordinate point set of figure for parsing figure design document.
Modular converter 903, for the longitude and latitude set for being converted into matching with GIS-Geographic Information System by coordinate point set.
Import modul 904, for longitude and latitude set to be imported into GIS-Geographic Information System.
The above-mentioned data processing equipment based on GIS-Geographic Information System, obtain 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 into GIS-Geographic Information System, The longitude and latitude set corresponding with the coordinate point set parsed in graphic designs file need to be only imported in GIS-Geographic Information System .So, avoid the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and largely take, carry The high data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, parsing module 902 is additionally operable to parse figure design document, obtains planning figure;Determine structure Into the unit member of planning figure;The coordinate points of acquiring unit component;The coordinate points of acquisition are formed to 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 formed 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 be another embodiment in the data processing equipment 900 based on GIS-Geographic Information System structured flowchart, reference Figure 10, being somebody's turn to do the data processing equipment 900 based on GIS-Geographic Information System also includes determining module 905, display module 906.
Acquisition module 901 is additionally operable to obtain the geometry type of the planning figure determined according to coordinate point set.
Determining module 905, the default geometric figure corresponding for determining geometry type.
Display module 906, in GIS-Geographic Information System, according to the corresponding longitude and latitude set of coordinate point set, opening up Show default geometric figure.
In above-described embodiment, computer equipment can determine the geometry type of planning figure by coordinate point set, Corresponding opening position is shown corresponding with geometry type default several according to geometry type in GIS-Geographic Information System What figure.So that the graphical information that need not be imported in graphic designs file achieves that and planning chart is shown in GIS-Geographic Information System Shape, further increase the data-handling efficiency based on GIS-Geographic Information System.
Figure 11 be a still further embodiment in the data processing equipment 900 based on GIS-Geographic Information System structured flowchart, reference Figure 11, being somebody's turn to do the data processing equipment 900 based on GIS-Geographic Information System also includes receiving module 906.
Receiving module 906, for receiving traffic programme query statement.
Determining module 905 is additionally operable to determine the longitude and latitude set specified by traffic programme query statement.
Acquisition module 901 is additionally operable to obtain the geometry type of corresponding planning figure according to the longitude and latitude set specified, Geometry type generates according to the 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 query statement 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, add the convenience of operation.
In one embodiment, acquisition module 901 is additionally operable to obtain the quantity of coordinate points in coordinate point set.Determining module 905 are additionally operable to when quantity is for the moment, it is determined that the geometry type for planning figure is point structure type;When quantity be more than one, And the origin coordinates point in coordinate point set with end coordinate point difference when, it is determined that the geometry type for planning figure is line Structure type;When the origin coordinates point that quantity is more than in one and 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, rising in quantity and coordinate point set that computer equipment passes through coordinate points in coordinate point set Beginning coordinate points and whether end coordinate point identical determines to plan the geometry type of figure, it is succinct effectively, further improve Data-handling efficiency based on GIS-Geographic Information System.
In one embodiment, when geometry type is point structure type, it is that traffic website is advised to preset geometric figure Draw figure;When geometry type is cable architecture type, it is that traffic route plans figure to preset geometric figure;Work as geometry When type is face structure type, it is that traffic zone plans figure to preset geometric figure.
In above-described embodiment, computer equipment is after it is determined that plan the geometry type of figure, in GIS-Geographic Information System The middle displaying default geometric figure related to traffic programme so that traffic planning and management platform can more intuitively, efficiently show friendship Drift draws related planning figure.
In one embodiment, the data processing equipment based on GIS-Geographic Information System that the application provides can be implemented as one The form of kind computer program, computer program can be run on 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, such as, obtaining shown in Fig. 9 Modulus block 901, parsing module 902, modular converter 903 and import modul 904.The computer program that each program module is formed makes Obtain the data processing method based on GIS-Geographic Information System of each embodiment of the application described in computing device this specification In step.
For example, the 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 performs step S202.Computer equipment can perform step S204 by parsing module 902.Calculate Machine equipment can perform step S206 by modular converter 903.Computer equipment can perform step S208 by import modul 904.
In one embodiment, there is provided a kind of computer equipment, including memory and processor, store in memory Computer program, when computer program is executed by processor so that computing device following steps:Obtain comprising planning figure Graphic designs file;Parsing figure design document obtains planning the coordinate point set of 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 causes processor to obtain planning figure in execution parsing figure design document Coordinate point set when specifically perform following steps:Figure design document is parsed, obtains planning figure;It is determined that form planning figure Unit member;The coordinate points of acquiring unit component;The coordinate points of acquisition are formed to the coordinate point set of planning figure.
In one embodiment, computer program causes processor also to perform following steps:Obtain according to coordinate point set The geometry type of the planning figure of determination;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 causes processor also to perform following steps:Traffic programme inquiry is received to refer to Order;Determine the longitude and latitude set specified by traffic programme query statement;The planning figure that acquisition determines according to coordinate point set Geometry type includes:The geometry type of corresponding planning figure, geometry are obtained according to specified longitude and latitude set Type generates according to the coordinate point set corresponding with specified longitude and latitude set.
In one embodiment, computer program causes processor performing planning of the acquisition according to the determination of coordinate point set Following steps are specifically performed during the geometry type of figure:Obtain 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 a structure type;When quantity is more 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 more 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, it is that traffic website is advised to preset geometric figure Draw figure;When geometry type is cable architecture type, it is that traffic route plans figure to preset geometric figure;Work as geometry When type is face structure type, it is that traffic zone plans figure to preset geometric figure.
Above computer equipment, obtain planning the coordinate point set of figure by parsing figure design document, then by coordinate Point set is converted into latitude set, and when graphic designs file is imported into GIS-Geographic Information System, only needing will be with graphic designs text The corresponding longitude and latitude set of the coordinate point set that is parsed in part is imported in GIS-Geographic Information System.So, avoid by Figure and attribute information etc. import the troublesome operation of GIS-Geographic Information System and largely taken together, improve based on geography information system The data-handling efficiency of system.
A kind of computer-readable recording medium, is stored with computer program, real when the computer program is executed by processor Existing following steps:Obtain the graphic designs file for including planning figure;Parsing figure design document obtains planning the coordinate of figure Point set;The longitude and latitude set that coordinate point set is converted into matching with GIS-Geographic Information System;Longitude and latitude set is imported ground Manage information system.
In one embodiment, computer program causes processor to obtain planning figure in execution parsing figure design document Coordinate point set when specifically perform following steps:Figure design document is parsed, obtains planning figure;It is determined that form planning figure Unit member;The coordinate points of acquiring unit component;The coordinate points of acquisition are formed to the coordinate point set of planning figure.
In one embodiment, computer program causes processor also to perform following steps:Obtain according to coordinate point set The geometry type of the planning figure of determination;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 causes processor also to perform following steps:Traffic programme inquiry is received to refer to Order;Determine the longitude and latitude set specified by traffic programme query statement;The planning figure that acquisition determines according to coordinate point set Geometry type includes:The geometry type of corresponding planning figure, geometry are obtained according to specified longitude and latitude set Type generates according to the coordinate point set corresponding with specified longitude and latitude set.
In one embodiment, computer program causes processor performing planning of the acquisition according to the determination of coordinate point set Following steps are specifically performed during the geometry type of figure:Obtain 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 a structure type;When quantity is more 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 more 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, it is that traffic website is advised to preset geometric figure Draw figure;When geometry type is cable architecture type, it is that traffic route plans figure to preset geometric figure;Work as geometry When type is face structure type, it is that traffic zone plans figure to preset geometric figure.
Above computer readable storage medium storing program for executing, obtain planning the coordinate point set of figure by parsing figure design document, Coordinate point set is converted into latitude set again, when graphic designs file is imported into GIS-Geographic Information System, only needing will be with figure The corresponding longitude and latitude set of the coordinate point set that is parsed in shape design document is imported in GIS-Geographic Information System.So, Avoid the troublesome operation that figure and attribute information etc. are imported to GIS-Geographic Information System together and largely take, improve based on ground Manage the data-handling efficiency of information system.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is 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 storage (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 Or external cache (RAM).By way of illustration and not limitation, RAM is available in many forms, such as static 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 example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, lance is not present in the combination of these technical characteristics Shield, all it is considered to be the scope of this specification record.
Embodiment described above only expresses the several embodiments of the application, and its description is more specific and detailed, but simultaneously Therefore the limitation to the application the scope of the claims can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of data processing method based on GIS-Geographic Information System, methods described include:
Obtain the graphic designs file for including planning figure;
Parse the graphic designs file and obtain the coordinate point set of the planning figure;
The longitude and latitude set that the coordinate point set is converted into matching with GIS-Geographic Information System;
The longitude and latitude set is imported into GIS-Geographic Information System.
2. according to the method for claim 1, it is characterised in that the parsing graphic designs file obtains the planning The coordinate point set of figure includes:
The graphic designs file is parsed, obtains the planning figure;
It is determined that form the unit member of the planning figure;
Obtain the coordinate points of the unit member;
The coordinate points of acquisition are formed to the coordinate point set of the planning figure.
3. method according to claim 1 or 2, it is characterised in that methods described 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 described default several What figure.
4. according to the method for claim 3, it is characterised in that methods described is applied to traffic planning and management platform;It is described Method also includes:
Receive traffic programme query statement;
Determine the longitude and latitude set specified by the traffic programme query statement;
The geometry type for obtaining the planning figure determined according to the coordinate point set includes:
The geometry type of corresponding planning figure, the geometry type root are obtained according to the specified longitude and latitude set Generated according to the coordinate point set corresponding with the specified longitude and latitude set.
5. according to the method for claim 3, it is characterised in that described to obtain according to determining the coordinate point set The geometry type of planning figure includes:
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 origin coordinates point of the quantity more than one and in the coordinate point set is with end coordinate point difference, it is determined that The geometry type of the planning figure is cable architecture type;
When the origin coordinates point that the quantity is more than in one and 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.
6. according to the method for claim 5, it is characterised in that when the geometry type is point structure type, institute It is traffic website planning chart shape to state default geometric figure;
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.
7. a kind of data processing equipment based on GIS-Geographic Information System, described device include:
Acquisition module, the graphic designs file of planning figure is included for obtaining;
Parsing module, the coordinate point set of the planning figure is obtained for parsing the graphic designs file;
Modular converter, for the longitude and latitude set for being converted into matching with GIS-Geographic Information System by the coordinate point set;
Import modul, for the longitude and latitude set to be imported into GIS-Geographic Information System.
8. device according to claim 7, it is characterised in that the parsing module is additionally operable to parse the graphic designs text Part, obtain the planning figure;It is determined that form the unit member of the planning figure;Obtain the coordinate points of the unit member; The coordinate points of acquisition are formed to the coordinate point set of the planning figure.
9. a kind of computer-readable recording medium, computer program is stored with, when the computer program is executed by processor, is made The computing device as any one of claim 1 to 6 the step of method.
10. a kind of computer equipment, including memory and processor, the memory storage has computer program, the calculating When machine program is by the computing device so that the step of computing device method as any one of claim 1 to 6 Suddenly.
CN201710912038.XA 2017-09-29 2017-09-29 Data processing method and device based on GIS-Geographic Information System Active CN107885773B (en)

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 true CN107885773A (en) 2018-04-06
CN107885773B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908069A (en) * 2010-08-09 2010-12-08 哈尔滨工程大学 Device and method for converting optional area electronic marine map file format
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
CN106777811A (en) * 2017-01-16 2017-05-31 昆明理工大学 A kind of traffic channelling Map Design development approach
CN106802958A (en) * 2017-01-18 2017-06-06 福建中庚信息科技有限公司 Conversion method and system of the CAD data to GIS data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908069A (en) * 2010-08-09 2010-12-08 哈尔滨工程大学 Device and method for converting optional area electronic marine map file format
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
CN106777811A (en) * 2017-01-16 2017-05-31 昆明理工大学 A kind of traffic channelling Map Design development approach
CN106802958A (en) * 2017-01-18 2017-06-06 福建中庚信息科技有限公司 Conversion method and system of the CAD data to GIS data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙坤君 等: "CAD文件导入奥维地图的三种方法及其对比", 《亚热带水土保持》 *

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107885773B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
Chen et al. A BIM-WMS integrated decision support tool for supply chain management in construction
JP4926891B2 (en) Geographic information system and geographic information management method
CN111522481B (en) Layer data processing method and device, computer equipment and storage medium
EP2879089A1 (en) Information processing device, information processing system, and information processing program
CA3083163C (en) Enhancing map data based on points of interest
JP4859699B2 (en) Deformation map position specifying method, deformed map position specifying system, measurement map position specifying method, and measurement map position specifying system
CN107423998B (en) Visual sales data management method and system based on SaaS platform
CN109558470B (en) Trajectory data visualization method and device
CN109543162A (en) More diagrammatic representation method, apparatus, computer equipment and the storage medium of data
CN105447101A (en) Map engine implementation method and apparatus
CN104833362A (en) Method for generating positioning and driving path of route fixed vehicle on basis of Baidu map
KR20130082582A (en) Method and system for providing range search services in digital map
JP6492828B2 (en) Information code generation apparatus and information code generation program
TW201719469A (en) Geographic fence automatic correction method
CN111829539A (en) Navigation path planning method and device, navigation terminal and storage medium
CN113505164B (en) Travel track drawing method and device, computer equipment and storage medium
CN107885773B (en) Data processing method and device based on GIS-Geographic Information System
Gkeli et al. Crowdsourcing and mobile services for a fit-for-purpose Cadastre in Greece
CN111292148A (en) Order information processing method, device, server, terminal and storage medium
CN114018243A (en) Map data processing method, device, equipment and storage medium
CN110489510A (en) Processing method, device, readable storage medium storing program for executing and the computer equipment of road data
CN105282751B (en) A kind of method and apparatus showing wireless network planning result
CN111324682A (en) Method and device for loading CAD (computer-aided design) data without geographic coordinate information based on GMap (Gaussian mixture map)
JP6575221B2 (en) Display control method, information processing apparatus, and display control program
WO2011043388A1 (en) Moving direction estimating device and moving direction estimating 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

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.

CP03 Change of name, title or address