CN110427450A - Oil-gas pipeline data processing method and system based on Internet map - Google Patents

Oil-gas pipeline data processing method and system based on Internet map Download PDF

Info

Publication number
CN110427450A
CN110427450A CN201910734050.5A CN201910734050A CN110427450A CN 110427450 A CN110427450 A CN 110427450A CN 201910734050 A CN201910734050 A CN 201910734050A CN 110427450 A CN110427450 A CN 110427450A
Authority
CN
China
Prior art keywords
data
oil
gas pipeline
coordinate
pipeline data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910734050.5A
Other languages
Chinese (zh)
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.)
SHENZHEN SIWEI JISI TECHNOLOGY SERVICE Co Ltd
Original Assignee
SHENZHEN SIWEI JISI TECHNOLOGY SERVICE 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 SIWEI JISI TECHNOLOGY SERVICE Co Ltd filed Critical SHENZHEN SIWEI JISI TECHNOLOGY SERVICE Co Ltd
Priority to CN201910734050.5A priority Critical patent/CN110427450A/en
Publication of CN110427450A publication Critical patent/CN110427450A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A kind of oil-gas pipeline data processing method and system based on Internet map, this method comprises: the API of docking Internet map is with load internet cartographic information, coordinate, which is carried out, according to oil-gas pipeline data of the preset rules to load is converted to DecryptDecryption data, Internet map information and DecryptDecryption stacked data adduction are shown into stack result, determine corresponding spatial analysis result when detecting that user carries out spatial analysis operation to superposition map and shown.By the way that Internet map is introduced oil-gas pipeline Data processing, update cost and the update cycle of map image are reduced.Simultaneously, as long as user inputs oil-gas pipeline data and selected coordinate translation type on the display interface of client, client can be automatically performed the coordinate conversion of oil-gas pipeline data and by obtained DecryptDecryption data publication to network server, operating process is fairly simple, can be under the regulation for meeting national security secrecy by oil-gas pipeline data publication to public network, application is relatively convenient.

Description

Oil-gas pipeline data processing method and system based on Internet map
Technical field
The present invention relates to pipeline O&M technical fields, and in particular at a kind of oil-gas pipeline data based on Internet map Manage method and system.
Background technique
Prevailing traffic mode of the pipeline transportation as energy such as petroleum, natural gases, to guarantee economic construction of China and the energy Safety has great significance.Along with the continuous development of information visualization, internet and multimedia technology, information processing skill Especially relevant application is gradually deep into art with GIS (Geographic Information System, GIS-Geographic Information System) Pipeline transportation industry.Spatial analysis and spatial database management function due to GIS is in the information that processing has space characteristics There is impayable advantage, therefore, it is to solve the problems of current pipe safety management to provide new method.
In existing digital pipe system application process, geo-spatial data (such as numerical map, aviation image, traffic Tourist map etc.) data volume it is big, abundant in content and structure is complicated, thus the update difficulty of data is larger, update higher cost and Update cycle is longer, to be unable to satisfy the growing demand of pipeline O&M.
Summary of the invention
The application provides a kind of oil-gas pipeline data processing method, system and readable storage medium based on Internet map Matter solves the problems, such as that it is long to update the at high cost and update cycle for geo-spatial data in the prior art.
According in a first aspect, providing a kind of oil-gas pipeline data processing side based on Internet map in a kind of embodiment Method, comprising:
Connection is established with the application programming interface API of Internet map;
Pass through the API load internet cartographic information;
Coordinate conversion is carried out according to oil-gas pipeline data of the preset rules to load, obtains DecryptDecryption data;
By the Internet map information and the DecryptDecryption data investigation, and the superposition knot shown in the display interface Fruit;
When detecting user in the display interface to the spatial analysis operation of stack result progress, according to the sky Between analysis operation determine corresponding spatial analysis result;
Show the spatial analysis result.
According to second aspect, a kind of oil-gas pipeline data processing system based on Internet map is provided in a kind of embodiment System, including client and the network server being connect with the client;
The client is used to establish connection with the application programming interface API of Internet map, is added by the API Internet map information is carried, coordinate conversion is carried out according to oil-gas pipeline data of the preset rules to load, obtains DecryptDecryption data, and By the DecryptDecryption data publication to the network server;The client is by the Internet map information and the DecryptDecryption number According to superposition, and the stack result shown on its display interface, detecting user on its display interface to described folded When the spatial analysis operation for adding result to carry out, corresponding spatial analysis is determined according to the spatial analysis operation as a result, and showing Show the spatial analysis result.
According to the third aspect, a kind of computer readable storage medium is provided in a kind of embodiment comprising program, the journey Sequence can be executed by processor to realize method as described above.
Oil-gas pipeline data processing method, system and the readable storage medium based on Internet map according to above-described embodiment Matter can establish connection with the API of Internet map, pass through the API load internet when carrying out oil-gas pipeline data processing Then Internet map DecryptDecryption data corresponding with oil-gas pipeline data are overlapped by map;Due to Internet-based Map Services can integrate all internet geographical resources, and content covers wide, and poi (point of interest) is resourceful, no longer Need to buy these image datas, and shared internet data ensure that the timeliness of data, to reduce map image Update cost, shorten the update cycle.
Detailed description of the invention
Fig. 1 is a kind of structure of the oil-gas pipeline data processing system based on Internet map provided in an embodiment of the present invention Schematic diagram;
Fig. 2 is point data schematic diagram;
Fig. 3 is face data schematic diagram;
Fig. 4 is the spatial data of oil-gas pipeline and the Overlay schematic diagram of image data in the embodiment of the present invention;
Fig. 5 is the flow chart of the oil-gas pipeline data processing method based on Internet map in an embodiment of the present invention;
Fig. 6 is the process that in an embodiment of the present invention the oil-gas pipeline data of load are carried out with the method for coordinate conversion Figure;
Fig. 7 is the process of the oil-gas pipeline data processing method based on Internet map in a kind of specific embodiment of the present invention Figure;
Fig. 8 is a kind of user interface schematic diagram of oil-gas pipeline data processing in a kind of specific embodiment of the present invention.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.It is described in this description Feature, operation or feature can be in any suitable way in conjunction with forming various embodiments.Meanwhile it is each in method description Step or movement can also be according to the obvious mode carry out sequence exchange of those skilled in the art institute energy or adjustment.Cause This, the various sequences in the description and the appended drawings are intended merely to clearly describe some embodiment, are not meant to be necessary suitable Sequence, wherein some sequentially must comply with unless otherwise indicated.
In existing digital pipe system application process, geo-spatial data (such as numerical map (DLG), aviation shadow Picture, satellite image, traffic for tourism figure, administrative map etc.) data volume it is big, abundant in content and structure is complicated, it is difficult that data update Degree is big, and Fundamental Geographic Information Data lacks serious feature, it is caused to be unable to satisfy the growing demand of pipeline O&M.
As the continuous development and people of Internet (internet) technology are to the application demand of GIS, Internet is utilized Spatial data is issued and published in Web (global wide area network), provides spatial data query, inquiry and the function of analysis for user Can, have become the inexorable trend of GIS development.Internet map service (WebGIS) consequentiality, by publishing mutual Based on what server geographic information database was formed there is generation in real time, interaction to control in networking or by what internet was sent The calling of to map service may be implemented in the api interface of the electronic map of the characteristics such as system, data search, attribute labeling.
WebGIS can carry out GIS publishing using browser, to make user that need not carry out professional training, less It needs to buy expensive professional GIS platform, can directly be obtained by Web browser without the maintenance for being concerned about spatial database Required data are taken, the analysis of various geography information is carried out.The GIS user of any one Web site can obtain in global range The service that provides of Web GIS service device, and WebGIS realizes client can access newest number on different server simultaneously According to be truly realized the popular information sharing of GIS.No matter the software and hardware of client, as long as web browsing can be used Device, so that it may access WebGIS data, to make the professional platform independence of WebGIS to deeper time development, and be WebGIS and other Information service carries out Seamless integration- and provides best platform, to keep the function of WebGIS richer.
In embodiments of the present invention, client is docked with the API of Internet map, with load internet cartographic information, so Internet map information DecryptDecryption stacked data adduction corresponding with oil-gas pipeline data is shown into stack result afterwards, according to the sky of user Between analysis operation determine corresponding spatial analysis result and show.Client can load Oil/Gas Pipe line number according to user's operation According to as long as user selectes coordinate translation type, client can be according to the coordinate translation type automatically to the oil-gas pipeline of load Data carry out coordinate conversion, then by the DecryptDecryption data publication after conversion to network server.
Referring to FIG. 1, being a kind of oil-gas pipeline data processing system based on Internet map provided in an embodiment of the present invention The structural schematic diagram of system, the oil-gas pipeline data processing system include client 01 and the network server that connect with client 01 02.Client 01 includes display interface, and client 01 is for API (the Application Programming with Internet map Interface, application programming interface) connection is established, by the API load internet cartographic information, according to preset rules Coordinate conversion is carried out to the oil-gas pipeline data of load, obtains DecryptDecryption data, and by the DecryptDecryption data publication to network server 02.The Internet map information is overlapped by client 01 with DecryptDecryption data simultaneously, and is shown and obtained on its display interface Stack result, detecting user on its display interface to the stack result carry out spatial analysis operation when, according to this Spatial analysis operation determines corresponding spatial analysis as a result, and showing the spatial analysis result.Spatial analysis operation therein For example it can be and point, line or the inquiry in face are also possible to generate the operation etc. of buffer area on oil-gas pipeline periphery.
Further, client 01 is also used in the behaviour for detecting user on its display interface and inputting oil-gas pipeline data Oil-gas pipeline data are loaded when making, and are obtained the coordinate translation type that user selectes in the display interface, are turned according to selected coordinate It changes type and coordinate conversion is carried out to the oil-gas pipeline data of load, obtain DecryptDecryption data, and by the DecryptDecryption data publication to network Server 02 can realize oil gas under the premise of meeting national security security stipulation by oil-gas pipeline data publication to public network Pipeline data are shared, and application is more convenient.Oil-gas pipeline data therein can be the spatial data of oil-gas pipeline, can also be with It is the image data of oil-gas pipeline, can also be the superposition of spatial data and image data.
Wherein, spatial data refers to point data, line number evidence and/or face data with coordinate information, such as Fig. 2 and Fig. 3 institute Show, is the schematic diagram of point data and face data respectively.Spatial data can project on map, and what is at this moment seen is point, line Or face.The spatial data of oil-gas pipeline is mainly obtained by field operation mapping worker by field survey, the coordinate system of data generally with Based on local coordinate system or Xi'an1980 coordinate system, but show that map datum on the internet is generally wgs84 or big 2000 coordinate system of ground.Image data can generally be detected by satellite remote sensing and be observed acquisition, have many geography information And other information.Because spatial data and image data are all the data with geography information, can also be by two kinds of data It is overlapped, the attribute etc. of two kinds of data can also be extracted simultaneously.The spatial data of oil-gas pipeline (here with line number according to citing) It can be found in Fig. 4 with the Overlay schematic diagram of image data.
Possess identical map projection's mode and identical coordinate system is the premise realizing two parts of data and being used interchangeably, at present Long oil/gas pipe line data mainly use 85 elevation coordinate system of 80 plane coordinate system of Xi'an and the Huanghai Sea, and Internet map is mainly adopted (gcj02 is that all electronic maps of state compulsion requirement do not allow using true coordinate mark to the gcj02 coordinate system encrypted with survey office, state The result of note), therefore, it is necessary to select suitable Internet map.
Current Internet map mainly has Baidu map, Amap and Google Maps, can choose some geographical seats Cursor position (for example choose Tian'anmen Square national flag west side flower nursery northeast corner, Shanghai Lujiazui, west, fast net tennis club tennis court Angle, the western gymnasium Xi Jiao in Angiostrangylus cantonensis sports center, Xi'an Northwest University stadium of track and field southwest corner coordinate) be used as research object, Experimental analysis is carried out to these Internet maps, available conclusion below:
(1) coordinate system that Amap uses is gcj02 Mars coordinate system, and Baidu map is using bd09 and bd09 II Coordinate system, it is international wgs84 coordinate system that Google Maps, which installs version coordinate system,.The wherein coordinate and reality of Google Maps GPS receiver device data is substantially close to error is within several meters.
(2) bd09 and bd09 II is the Encryption Algorithm coordinate system of Baidu company, and specific algorithm is not announced.
(3) Google Maps uses wgs84 coordinate system coordinate, by the calculating knot for the gcj02 that disclosed transfer algorithm obtains Fruit is very identical with Amap, and error rejects the manual errors of sampling site in 5m range, can determine that Amap is exactly Gcj02 coordinate system.And the point distance that the coordinate that Baidu map pick-up picks up then is calculated with Google collection point by algorithm is very remote, Error meter is differed from more than ten meters to tens.
Amap completely can be directly converted Lai or from paddy from the GPS value of actual observation by public algorithm as a result, Song map acquisition converts, and the bd09 algorithm of Baidu map data is without disclosed code, and error is unacceptable. Coordinate conversion API is largely both provided in Internet map, supports the conversion function of coordinate point data, the point, line, surface of vector Coordinate conversion can be completed by API.Since Baidu map data transformation interface limits the number and quantity of change data, for There is the long oil/gas pipe line system of the big feature of data volume to bring big inconvenience in the later period, and reality in summary Conclusion is tested, in embodiments of the present invention, using Amap as Internet map.For DOM (digital orthophoto map) etc. Raster data after then can carrying out secrecy technology processing by China Surveying and Mapping Research Academy is converted into that GIS and oil gas can be used for The data of pipeline data processing system.
Based on the above-mentioned oil-gas pipeline data processing system based on Internet map, the embodiment of the present invention also provides one kind Oil-gas pipeline data processing method based on Internet map, flow chart may include steps of referring to Fig. 5, this method:
Step 101: establishing connection with the API of Internet map.
When carrying out the processing of oil-gas pipeline data, docking interconnection entoilage can be shown on the display interface of client 01 The function items of figure, after user clicks the function, client 01 can introduce internet API in the page using Internet map, It realizes and establishes connection with the API of Internet map.
Step 102: load internet cartographic information.
After the API of client 01 and Internet map is to connecting, client 01 can preload internet by the API Cartographic information, these information can be used as base map and show.
Step 103: coordinate conversion is carried out to the oil-gas pipeline data of load.
Client 01 can carry out coordinate conversion according to oil-gas pipeline data of the preset rules to load, obtain DecryptDecryption number According to.Specifically, client 01 can pass through the Oil/Gas Pipe line number of following step 1031~step 1033 pair load referring to Fig. 6 According to progress coordinate conversion:
Step 1031: load oil-gas pipeline data.
Client 01 detects that user when inputting the operation of oil-gas pipeline data on its display interface, loads local oil Gas pipeline data, the oil-gas pipeline data include the spatial data and/or image data of oil-gas pipeline.
Step 1032: obtaining coordinate translation type.
The selection menu of coordinate translation type is also shown on the display interface of client 01, for selection by the user needed for Coordinate translation type, after user carries out selection operation, client 01 obtains user's selected coordinate conversion in the display interface Type.
Step 1033: coordinate conversion is carried out to oil-gas pipeline data.
After being loaded with oil-gas pipeline data and coordinate translation type has been determined, client 01 turns according to selected coordinate It changes type and coordinate conversion is carried out to the oil-gas pipeline data of load, obtain DecryptDecryption data.
After obtaining DecryptDecryption data, the DecryptDecryption data publication to network server 02 can also be realized number by client 01 According to it is shared.
Step 104: data investigation.
Internet map information is overlapped by client 01 with obtained DecryptDecryption data, and is shown on its display interface Obtained stack result.
Step 105: spatial analysis.
When client 01 detects the spatial analysis operation that user carries out obtained stack result on its display interface When, corresponding spatial analysis result is determined according to the spatial analysis operation.Spatial analysis operation therein such as can be face Inquiry, can be the operation etc. for generating buffer area.
Step 106: display space analyzes result.
Oil-gas pipeline data processing method provided in this embodiment based on Internet map, Internet map is introduced into In the processing of oil-gas pipeline data, Map Services Internet-based can integrate all internet geographical resources, interior Appearance covers wide, and poi is resourceful, it is no longer necessary to buy these image datas, and shared internet data ensure that data Timeliness shorten the update cycle to reduce the update cost of map image.Meanwhile by oil-gas pipeline data The automatic on-line of coordinate is converted, and by the DecryptDecryption data publication after conversion to network server, can be protected meeting national security By oil-gas pipeline data publication to public network under close regulation, application is relatively convenient, and operating process is fairly simple.
On the basis of the above embodiments, the present invention also provides a kind of specifically Oil/Gas Pipe line numbers based on Internet map According to processing method, for this method using Amap as Internet map, oil-gas pipeline data therein include spatial data and shadow As data, the flow chart of this method may include steps of referring to Fig. 7:
Step 201: establishing connection with the API of Internet map.
User registered in advance can become Amap developer, apply for key key after creation application.Carrying out Oil/Gas Pipe The function items of docking Amap can be shown when the processing of line number evidence, on the display interface of client 01, user clicks this After function, client 01 can introduce Amap API in the page using Internet map, and specific program can be such that
< scripttype=" text/javascript " //text is the application name of creation,
Src="http://webapi.amap.com/maps?v=1.3&key=apply forkeyvalue"></script>
After introducing Amap API, program can be passed through<divid="container"></div>create map cases, It can specify size pattern, such as wide 300 pixel, high 180 pixel during creation.
After creating map cases, creation default map, the API Calls the corresponding interface provided according to Amap.
Step 202: load internet cartographic information.
With the API of Amap to connecting after, client 01 can preload Internet map information by the API, These information can be used as base map and show, the Internet map information of preloading such as may include road network figure and/or some Important poi point of interest (such as settlement place, school, fire-fighting facility etc.) etc..
Step 203: load oil-gas pipeline data.
When client 01 detects that user inputs the operation of oil-gas pipeline data in the display interface, Oil/Gas Pipe line number is loaded According to (the present embodiment includes spatial data and image data).
It is a kind of user interface schematic diagram of oil-gas pipeline data processing referring to Fig. 8, user can on the surface defeated Enter the store path for choosing oil-gas pipeline data to be loaded in data drop-down menu, then clicks " input data " button Load the oil-gas pipeline data of respective path.Alternatively, " input data " button can also be clicked directly on, file path selection is opened Window finds the storage file of oil-gas pipeline data according to prompt, loads oil-gas pipeline data after choosing this document.
Step 204: obtaining coordinate translation type.
The selection function item of coordinate translation type is also provided on interface shown in Fig. 8, coordinate translation type such as may be used To include that Xi'an1980 coordinate system is converted to 2000 coordinate systems of the earth (" Xi'an 80- the earth 2000 " i.e. in figure), the earth 2000 is sat Mark system is converted to Xi'an1980 coordinate system (i.e. in figure " Xi'an the earth 2000- 80) and Beijing 54 Coordinate System is converted to Xi'an 80 and sits Mark system (" Xi'an 54-, Beijing 80 " i.e. in figure), user can select as needed.In embodiments of the present invention, selection " west Pacify 80- the earth 2000 ".After user selectes coordinate translation type, the available coordinate conversion class selected to user of client 01 Type.
Step 205: pre-converted processing is carried out to image data.
After loading oil-gas pipeline data and determining coordinate translation type, client 01 is to the image in oil-gas pipeline data Data carry out pre-converted processing, specifically, can realize pre-converted processing by following step 2051~step 2055:
Step 2051: projection transform.
Client 01 projects image data again, do not use original image projection pattern and corresponding coordinate system, Projective parameter and graticules after conversion do not indicate on map.
Step 2052: map sheet transformation.
After client 01 obtains the data after projection transform, affine change first is carried out to the data using mathematics control net method Change processing, by DecryptDecryption in need processing data splicing after generate TIC point, stochastic linear variation then is carried out to the TIC point. The absolute coordinate for changing image data by this method, generates certain systematic error, makes into figure error and is greater than country to open The requirement of 100m as defined in version map.
Step 2053: error random disturbances.
The systematic error generated by map sheet converter technique can be reversed correction and come.Client 01 is from the transformed shadow of map sheet As 100 to 200 points of uniform design are as characteristic point in data, by error random disturbances to these characteristic points into row stochastic Error interference, specifically, characteristic point 10~30m of random offset, the size of displacement and direction can be controlled with shifting circle.It moves Circle of position is using characteristic point as the center of circle, and radius is the circular target of 10~30m, and radius size is according to the attribute of target where characteristic point Grade is adjusted.The first processing data are obtained after the processing of error random disturbances.
Step 2054: the comprehensive shifting processing of element.
Meet although map sheet data carry out DecryptDecryption processing using the method for mathematics in order to avoid divulging a secret for key element " open several regulations of map content representation ", need selectively to use these data.In this way, client 01 obtains at first After managing data, can according to preset filtration parameter the deleting of element carried out to the first processing data, integrate and/or displacement at Reason is deleted the element that cannot be indicated, is integrated and/or shifting processing, obtains second processing data.It can in practical application To be shifted using single node, if cause the stiff variation of figure rule after single node displacement, then carry out linkage circle it is interior its The displacement of his node or the linkage displacement of multiple nodes.
Step 2055: the processing of characteristic point generalization.
Characteristic point is determined that therefore, client 01 obtains at second according to geometry, attribute ratings, distribution After managing data, need successively to carry out the second processing data geometric accuracy reduction, broken line song and spatial topotaxy to repair Benefit processing obtains third processing data.
Specifically, to the second processing data carry out geometric accuracy reduction process may is that by characteristic point deviate 10~ 30m, the size of displacement and direction are controlled with shifting circle, and displacement circle is using characteristic point as the center of circle, and radius is the circle of 10~30m Target.Radius size can be adjusted according to the attribute ratings (such as data precision) of target where characteristic point.
After carrying out geometric accuracy Weakening treatment to second processing data, graphic feature passivation (folding is carried out to obtained data Line song) process may is that broken line segment figure becoming smooth curve, graphic feature is measured from 30 °~150 ° of angle It is transformed into so that radius of curvature is 5~10m and measures.Passivation is generally used in combination with displacement, is mainly used in corner characteristic point Generalization processing, this feature point is first shifted, is then passivated further according to corner graphic characteristics.
The data of broken line Qu Huahou carry out spatial relationship repairing again, the repairing of spatial relationship be after repairing characteristic point displacement with The original topological relation of adjacent target.The displacement of single features point inevitably results in spatial relationship and clashes.For example, for edge The current road in river side, after the characteristic point displacement of road, the correlated characteristic in river must also shift accordingly, in order to avoid produce The mistake of raw road " crossing the river ".Client 01 can be closed according to the topological structure of characteristic point after displacement and the topology of adjacent characteristic point System, repairs characteristic point topological relation, guarantees the continuity of data.
Step 206: scale bar enhanced processing.
Since striograph is usually the topographic map of 1:1 ten thousand and 1:2000, belong to the security classification data of national requirements, therefore It needs to handle its precision.In this way, after client 01 obtains third processing data class can be converted according to selected coordinate Type carries out scale bar enhanced processing to third processing data.Specifically, client 01 reads specified GeoDatabase number automatically According to library copy, then it imported into specified data library, client 01 will carry out precision processing to data in importing process, according to Selected coordinate translation type carries out scale bar enhanced processing to third processing data automatically.In this way, image data can be completed DecryptDecryption.
Step 207: coordinate conversion process is carried out to spatial data.
After user has selected coordinate translation type, client 01 is also according to selected coordinate translation type to needing to reduce The spatial data of coordinate precision carries out coordinate conversion.Specifically, can realize sky according to following step 2071~step 2073 Between data coordinate conversion:
Step 2071: determining segmentation position.
When client 01 carries out coordinate conversion to spatial data, the original coordinates of the oil-gas pipeline data of load are first determined It is segmented position, i.e. regional location of the original coordinates within the scope of preset coordinate identical with the original coordinates type.In this hair In bright embodiment, " the Xi'an 80- the earth 2000 " type selected according to user, the type of original coordinates is just 80 coordinate of Xi'an System.
Step 2072: determining conversion parameter.
Client 01 has determined that fragment bit postpones, and is determined according to the segmentation position and selected coordinate translation type corresponding Conversion parameter can determine corresponding 7 parameters in embodiments of the present invention, be respectively: the translation in three directions of coordinate system Parameter, Δ X, Δ Y and Δ Z, the rotation parameter in three directions of coordinate system, εX、εYAnd εZ, dimensional variation parameter m.
Step 2073: coordinate conversion is carried out to spatial data.
After client 01 determines conversion parameter, according to the conversion parameter and preset coordinate transformation rule to spatial data Carry out coordinate conversion.Specifically, preset coordinate transformation rule can be indicated with following formula:
Wherein, X1、Y1And Z1For the original coordinates of spatial data, X2、Y2And Z2For the coordinate after conversion.In this way, will calculate Obtained coordinate replaces original 80 coordinate of Xi'an, can complete the DecryptDecryption of spatial data.
So far, can obtain DecryptDecryption data (including image data carry out coordinate conversion after data and spatial data into Data after the conversion of row coordinate).
It should be noted that image data carry out can be with spatial data with conversion process and scale bar enhanced processing Coordinate translation process carry out simultaneously.
Step 208: publication data.
After client 01 obtains DecryptDecryption data, by the DecryptDecryption data publication to network server 02.
Specifically, user can be with the save location of setting DecryptDecryption data in the output data option at interface shown in Fig. 8, In After obtaining DecryptDecryption data, which can will be saved as map document (the entitled .mxd of suffix) by client 01, be stored in In the save location of setting.When needing to issue the DecryptDecryption data, client 01 can be called in arcgisserver CreateGISServerConnectionFile method connects network server 02, then will using CreateMapSDDraft Map document is converted to service definition rough draft (format sddraft), then uses arcpy.StageService_server Service definition rough draft (file of sddraft format) is converted to service definition file (file of sd format) by () function, finally Service definition file is uploaded into network server using arcpy.UploadServiceDefinition_server () function 02, complete the publication of DecryptDecryption data.
Step 209: data investigation.
Client 01 simultaneously folds the Internet map information loaded by Amap API and the DecryptDecryption data The stack result for adding, and being shown on its display interface.
Step 210: spatial analysis.
When client 01 detects user in the display interface to the stack result of Internet map information and DecryptDecryption data When the spatial analysis operation of progress, corresponding spatial analysis is determined according to the spatial analysis operation as a result, and showing the space Analyze result.
Specifically, the Esri geometry api that client 01 calls Arcgis to provide realizes the spatial analysis of map, tool Body process is as follows: after client 01 obtains stack result, superposition of data vertex (point) being converted to geometry cluster (section Point), oriented cleavable halfEdge (one side of something) is established to superposition of data path (oriented broken line), with the path of superposition of data (oriented broken line) gives halfEdge (one side of something) assignment, which may include the left side and the right, according to halfEdge (one side of something) original Figure is thoroughly dispersed as the minimum unit chain (ring) in face, empty and real according to halfEdge (one side of something) judgement, determines chain The attribute of (ring) be it is complete real, have in vain it is real or complete empty.When client 01 detects the spatial analysis operation of user, according to tool The spatial analysis operation of body returns to different chain (ring), and overlapping side is eliminated, reconfigures out path (oriented broken line), most Path (oriented broken line) is converted to geometry (point layer, line layer, surface layer) and exports result at last.
For example, spatial analysis operation can be face inquiry, at this moment, user can draw a circle, at this moment, client on map End 01 can find out in this circle have which information according to the operation, then show these information.For another example, space Analysis operation can be the operation for generating buffer area, for example generate one 10 meters of buffer area on oil-gas pipeline periphery, can To be predicted that how wide range can be jeopardized once exploding according to air pressure.
Oil-gas pipeline data processing method provided in this embodiment based on Internet map, Internet map is introduced into In the processing of oil-gas pipeline data, Map Services Internet-based can integrate all internet geographical resources, interior Appearance covers wide, and poi is resourceful, it is no longer necessary to buy these image datas, and shared internet data ensure that data Timeliness shorten the update cycle to reduce the update cost of map image.Meanwhile carrying out oil-gas pipeline data When processing, as long as user inputs oil-gas pipeline data and selected coordinate translation type, client on the display interface of client The coordinate conversion of oil-gas pipeline data can be automatically performed according to selected coordinate translation type, then by the DecryptDecryption number after conversion According to network server is distributed to, operating process is fairly simple, can be under the regulation for meeting national security secrecy by oil-gas pipeline For data publication to public network, application is relatively convenient.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above embodiment The mode of hardware is realized, can also be realized by way of computer program.When function all or part of in above embodiment When being realized by way of computer program, which be can be stored in a computer readable storage medium, and storage medium can To include: read-only memory, random access memory, disk, CD, hard disk etc., it is above-mentioned to realize which is executed by computer Function.For example, program is stored in the memory of equipment, when executing program in memory by processor, can be realized State all or part of function.In addition, when function all or part of in above embodiment is realized by way of computer program When, which also can store in storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disks In, through downloading or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical When crossing the program in processor execution memory, all or part of function in above embodiment can be realized.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple It deduces, deform or replaces.

Claims (10)

1. a kind of oil-gas pipeline data processing method based on Internet map characterized by comprising
Connection is established with the application programming interface API of Internet map;
Pass through the API load internet cartographic information;
Coordinate conversion is carried out according to oil-gas pipeline data of the preset rules to load, obtains DecryptDecryption data;
By the Internet map information and the DecryptDecryption data investigation, and the stack result shown in the display interface;
When detecting user in the display interface to the spatial analysis operation of stack result progress, according to the space point Corresponding spatial analysis result is determined in analysis operation;
Show the spatial analysis result.
2. the method as described in claim 1, which is characterized in that it is described according to preset rules to the oil-gas pipeline data of load into Row coordinate is converted
When detecting that user inputs the operation of oil-gas pipeline data in the display interface, oil-gas pipeline data, the oil gas are loaded Pipeline data include the spatial data and/or image data of oil-gas pipeline;
Obtain the coordinate translation type that user selectes in the display interface;
Coordinate conversion is carried out according to oil-gas pipeline data of the selected coordinate translation type to load.
3. method according to claim 2, which is characterized in that the oil-gas pipeline data include the space number of oil-gas pipeline According to the selected coordinate translation type of the basis carries out coordinate conversion to the oil-gas pipeline data of load and includes:
Determine load oil-gas pipeline data original coordinates segmentation position, the fragment bit be set to the original coordinates class Regional location within the scope of the identical preset coordinate of type;
Conversion parameter is determined according to the segmentation position and selected coordinate translation type;
Coordinate conversion is carried out to the oil-gas pipeline data of load according to the conversion parameter and preset coordinate transformation rule.
4. method as claimed in claim 3, which is characterized in that the preset coordinate transformation rule are as follows:
Wherein, Δ X, Δ Y and Δ Z are the translation parameters in three directions of coordinate system, εX、εYAnd εZFor the rotation in three directions of coordinate system Turn parameter, m is dimensional variation parameter, X1、Y1And Z1For the original coordinates of oil-gas pipeline data, X2、Y2And Z2For the seat after conversion Mark.
5. method according to claim 2, which is characterized in that the oil-gas pipeline data include the image number of oil-gas pipeline According to the selected coordinate translation type of the basis carries out coordinate conversion to the oil-gas pipeline data of load and includes:
Projection transform, map sheet transformation and the processing of error random disturbances are successively carried out to the image data, obtain the first processing number According to;
According to default filtration parameter to it is described first processing data carry out element delete and/or shifting processing, obtain at second Manage data;
Geometric accuracy reduction, broken line song and spatial topotaxy repairing treatment are successively carried out to the second processing data, obtained Data are handled to third;
Scale bar enhanced processing is carried out to third processing data according to selected coordinate translation type.
6. method as claimed in claim 5, which is characterized in that described to include: to image data progress map sheet variation
Affine transformation processing is carried out to the data after projection transform using mathematics control net method, generates TIC point;
Stochastic linear variation is carried out to the TIC point.
7. method according to claim 2, which is characterized in that after obtaining DecryptDecryption data, the method also includes:
By the DecryptDecryption data publication to network server.
8. a kind of oil-gas pipeline data processing system based on Internet map, which is characterized in that including client and with it is described The network server of client connection;
The client is used to establish connection with the application programming interface API of Internet map, is loaded by the API mutual It networks cartographic information, coordinate conversion is carried out to the oil-gas pipeline data of load according to preset rules, obtain DecryptDecryption data, and by institute DecryptDecryption data publication is stated to the network server;The client is by the Internet map information and the DecryptDecryption stacked data The stack result for adding, and showing on its display interface is detecting user on its display interface to superposition knot When the spatial analysis operation that fruit carries out, corresponding spatial analysis is determined according to the spatial analysis operation as a result, and showing institute State spatial analysis result.
9. system as claimed in claim 8, which is characterized in that the client is in the Oil/Gas Pipe according to preset rules to load Line number is according to be specifically used for when coordinate conversion: in the operation for detecting user on its display interface and inputting oil-gas pipeline data When load oil-gas pipeline data, obtain user on the display interface select coordinate translation type, according to selected coordinate Translation type carries out coordinate conversion to the oil-gas pipeline data of load, and the oil-gas pipeline data include the space number of oil-gas pipeline According to and/or image data.
10. a kind of computer readable storage medium, which is characterized in that including program, described program can be executed by processor with Realize the method as described in any one of claims 1 to 7.
CN201910734050.5A 2019-08-09 2019-08-09 Oil-gas pipeline data processing method and system based on Internet map Pending CN110427450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910734050.5A CN110427450A (en) 2019-08-09 2019-08-09 Oil-gas pipeline data processing method and system based on Internet map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910734050.5A CN110427450A (en) 2019-08-09 2019-08-09 Oil-gas pipeline data processing method and system based on Internet map

Publications (1)

Publication Number Publication Date
CN110427450A true CN110427450A (en) 2019-11-08

Family

ID=68415214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910734050.5A Pending CN110427450A (en) 2019-08-09 2019-08-09 Oil-gas pipeline data processing method and system based on Internet map

Country Status (1)

Country Link
CN (1) CN110427450A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274683A (en) * 2020-01-15 2020-06-12 深圳四维集思技术服务有限公司 Oil-gas pipeline data alignment management method
CN111898775A (en) * 2020-07-31 2020-11-06 广东昆仑信息科技有限公司 Operation and maintenance management system and method of network topology structure
CN112084172A (en) * 2020-08-17 2020-12-15 空间信息产业发展股份有限公司 Method for quickly and automatically registering database spatial relationship table

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609148A (en) * 2009-07-08 2009-12-23 北京农业信息技术研究中心 The method that remote sensing image data is handled and issued
CN102096759A (en) * 2010-12-03 2011-06-15 东南大学 Real-time land cluster survey method
CN102222311A (en) * 2011-06-14 2011-10-19 东方电子股份有限公司 Electric distribution network geographic information obtaining method based on Google Earth remote sensing image
CN102332079A (en) * 2011-09-16 2012-01-25 南京师范大学 GIS (geographic information system) vector data disguising and restoring method based on error random interference
CN103389080A (en) * 2013-08-19 2013-11-13 重庆市地理信息中心 Method for obtaining independent city coordinate system parameter based on geographic information application
CN105160197A (en) * 2015-09-23 2015-12-16 湖北省基础地理信息中心 Comprehensive geographical spatial data coordinate conversion method and system
CN106886586A (en) * 2017-02-16 2017-06-23 北京大地图科技有限公司 A kind of Internet map application development platform based on open source projects
CN108038138A (en) * 2017-11-23 2018-05-15 国网浙江省电力有限公司 A kind of method for the WGS84 coordinate systems that Google Maps is transformed into from CAD plane coordinate systems
CN108629190A (en) * 2018-03-23 2018-10-09 国网陕西省电力公司电力科学研究院 Geographic information data DecryptDecryption method
CN109783591A (en) * 2018-12-29 2019-05-21 北京辰安科技股份有限公司 Space data acquisition method and device based on Internet map
CN109801219A (en) * 2019-01-11 2019-05-24 广州时空位置网科学技术研究院有限公司 GIS data bearing calibration and device towards Online Map superposition
CN109885782A (en) * 2019-03-05 2019-06-14 重庆工商大学融智学院 A kind of ecological environment space big data integrated approach

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101609148A (en) * 2009-07-08 2009-12-23 北京农业信息技术研究中心 The method that remote sensing image data is handled and issued
CN102096759A (en) * 2010-12-03 2011-06-15 东南大学 Real-time land cluster survey method
CN102222311A (en) * 2011-06-14 2011-10-19 东方电子股份有限公司 Electric distribution network geographic information obtaining method based on Google Earth remote sensing image
CN102332079A (en) * 2011-09-16 2012-01-25 南京师范大学 GIS (geographic information system) vector data disguising and restoring method based on error random interference
CN103389080A (en) * 2013-08-19 2013-11-13 重庆市地理信息中心 Method for obtaining independent city coordinate system parameter based on geographic information application
CN105160197A (en) * 2015-09-23 2015-12-16 湖北省基础地理信息中心 Comprehensive geographical spatial data coordinate conversion method and system
CN106886586A (en) * 2017-02-16 2017-06-23 北京大地图科技有限公司 A kind of Internet map application development platform based on open source projects
CN108038138A (en) * 2017-11-23 2018-05-15 国网浙江省电力有限公司 A kind of method for the WGS84 coordinate systems that Google Maps is transformed into from CAD plane coordinate systems
CN108629190A (en) * 2018-03-23 2018-10-09 国网陕西省电力公司电力科学研究院 Geographic information data DecryptDecryption method
CN109783591A (en) * 2018-12-29 2019-05-21 北京辰安科技股份有限公司 Space data acquisition method and device based on Internet map
CN109801219A (en) * 2019-01-11 2019-05-24 广州时空位置网科学技术研究院有限公司 GIS data bearing calibration and device towards Online Map superposition
CN109885782A (en) * 2019-03-05 2019-06-14 重庆工商大学融智学院 A kind of ecological environment space big data integrated approach

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274683A (en) * 2020-01-15 2020-06-12 深圳四维集思技术服务有限公司 Oil-gas pipeline data alignment management method
CN111274683B (en) * 2020-01-15 2023-10-03 深圳四维集思技术服务有限公司 Data alignment management method for oil and gas pipeline
CN111898775A (en) * 2020-07-31 2020-11-06 广东昆仑信息科技有限公司 Operation and maintenance management system and method of network topology structure
CN112084172A (en) * 2020-08-17 2020-12-15 空间信息产业发展股份有限公司 Method for quickly and automatically registering database spatial relationship table

Similar Documents

Publication Publication Date Title
Shaitura et al. Geoinformation services in a spatial economy
Chang Introduction to geographic information systems
Kounadi Assessing the quality of OpenStreetMap data
Booth et al. Getting started with ArcGIS
US20060294062A1 (en) Process, system, or method for the determination of the percentage of area of a parcel of land available for development or preservation and the production of a report and map therefor on a fixed tangible medium
US20050034062A1 (en) Methods and systems for encoding geographic coordinates and features in a portable document format file
WO2007005337A2 (en) Process, system or method for the determination of the percentage of area of a parcel of land available for development of preservation and the production of a report and map therefor on a fixed tangible medium
CN105320811A (en) Method for establishing topological connected model of urban underground electricity pipe network
Uggla et al. Geographic capabilities and limitations of Industry Foundation Classes
Benhamu et al. Toward a spatial 3D cadastre in Israel
CN110427450A (en) Oil-gas pipeline data processing method and system based on Internet map
Hao et al. 3D geological modeling and visualization of above-ground and underground integration——taking the Unicorn Island in Tianfu new area as an example
Zandbergen et al. Positional accuracy of TIGER 2000 and 2009 road networks
US7617077B2 (en) Method and apparatus for automatically discovering hierarchical relationships in planar topologies
Hampe et al. Multiple representation databases to support visualization on mobile devices
Droj GIS and remote sensing in environmental management
de Lange Geoinformation Systems
JP3673504B2 (en) Geographic information retrieval system and geographic information retrieval program
Dell GIS analysis for applied economists
Swan et al. Automated schematization for web service applications
JP3702444B2 (en) Map information system based on map symbol generation and topology implied data
Abdurakhmonov et al. Application of GIS technologies in the methods of geodetic work in the mapping of demographic processes
Makinde et al. Facility Mapping of University of Lagos
Koubarakis Geospatial Data Modeling
CN112434393B (en) Marketing water meter positioning method using hundred-degree map API and ArcGIS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191108