CN103093040A - Engineering application method for network map image - Google Patents

Engineering application method for network map image Download PDF

Info

Publication number
CN103093040A
CN103093040A CN2012105947850A CN201210594785A CN103093040A CN 103093040 A CN103093040 A CN 103093040A CN 2012105947850 A CN2012105947850 A CN 2012105947850A CN 201210594785 A CN201210594785 A CN 201210594785A CN 103093040 A CN103093040 A CN 103093040A
Authority
CN
China
Prior art keywords
segment
engineering
file
image
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
CN2012105947850A
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.)
China Railway Siyuan Survey and Design Group Co Ltd
Original Assignee
China Railway Siyuan Survey and Design Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Siyuan Survey and Design Group Co Ltd filed Critical China Railway Siyuan Survey and Design Group Co Ltd
Priority to CN2012105947850A priority Critical patent/CN103093040A/en
Publication of CN103093040A publication Critical patent/CN103093040A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to an engineering application method for a network map image. A data framework of the network map image is parsed by utilization of the network map service protocol, image blocks of a designated area are downloaded automatically and cocurrently from a data server to a network server, and an efficient storage, retrieval and updating mechanism is established in allusion to mass image block image data. Therefore, the automatic splicing of the image blocks and engineering drawing generation in any engineering plane coordinate are achieved. The engineering application method for the network map image has the advantages that the spatial data server is applied to the field of engineering design, and the engineering application of basic geographic data is achieved; the problem of data sources of the engineering application is solved, and an efficient and automatic data acquisition processing process is achieved; the map downloading in various scales and from various map data sources and various map types and engineering application services are provided; and a keyhole markup language (KML) area is drawn on Google Earth, and used as an area needing to be input and downloaded, and the data input is simple and feasible.

Description

The through engineering approaches application process of network map image
Technical field
The invention belongs to a kind of engineering design method, particularly a kind of spatial data infrastructure and computer software technology of using provides the through engineering approaches application process of the network map image of Data support and service for engineering.
Background technology
What engineering (railway, highway, electric power, plumbing, communication etc.) design needed most is exactly to have base map data abundant, the visual information amount, as topomap etc.But often can lack the data of this respect at the project initial stage because of Cost Problems, also there are simultaneously the problems such as real-time property is not strong, coordinate-system disunity, data type is dull, ratio scale is unique, in order to address these problems, take full advantage of the electronic chart resource (as: Google Map, day map, Bing Map etc.) that extensively exists on network, the electronic chart resource that can provide all kinds, various yardstick to upgrade in time for engineering design efficiently, making the network map image is mapped in independent engineering plane space becomes possibility as the design base map.
Summary of the invention
The purpose of this invention is to provide a kind of through engineering approaches application process that the network map image can be mapped to the network map image in road engineering design, thereby solve in prior art that real-time property is strong, the defectives such as coordinate-system disunity and data type dullness.
To achieve these goals, the technical solution adopted in the present invention is:
A kind of through engineering approaches application process of network map image comprises the following steps:
step 1: by analyzing the http address of diverse network Map Service, organizational capacity and Interface design according to WMS, thereby resolve the unified resource reference address URL that its segment construction system obtains segment, KML zone by given download, select source of map data and download map style, after becoming the figure needs to establish the rank yardstick of downloading data, can start the segment of the Parallel download that downloads in should the zone, after each segment is downloaded and completed, tile data is stored in data server or the local directory of appointment, generate simultaneously a segment and download successful listing file on mission computer,
Step 2: after all given KML zone segment downloads are completed, the segment columns list file that generates is loaded in automatic picture mosaic, folded figure program as input goes, a large amount of little figure block file on the webserver is merged automatically according to its locus generate local large picture file picture library, each width that also has that generates simultaneously generates the space terrestrial coordinate config files of figure, with convenient, it is managed and embeds application;
Step 3: thus carry out obtaining the position of this width figure on the engineering plane by the space to the conversion on engineering plane according to coordinate config files separately to being created on local figure library file, then figure is written to one by one by its engineering planimetric position in the DWG engineering drawing file of AUTUCAD of new establishment and goes, thereby complete by the application of network electronic map to electronic engineering figure.
The present invention has following beneficial effect:
First the spatial data server is used for engineering design field, has realized that the through engineering approaches of geo-spatial data is used; Solve the Data Source that engineering is used, and realized automatic data acquisition process process efficiently; Provide the map of the multiple yardstick of a plurality of source of map data, multiple map style to download and the through engineering approaches application service; Be used on Google Earth and draw the KML zone and need the zone of given download as the input of task, data input simple possible.
Description of drawings
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is Parallel download data flowchart of the present invention.
Fig. 3 is the structural drawing of figure block file storage and retrieval system of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
Network electronic map service WMS network data is in order to adapt to flexible expression and equalising network traffic load, the capital is divided into many undersized segments with a view picture plane projection world map, be of a size of 256Pixel * 256Pixel as most of segments, the segment of such width figure is cut apart and is formed basic individual layer figure block system, and the segment coding is carried out in ranks residing according to it positions.When cutting apart for the figure of a plurality of different scales, just formed layer, the row, column heap formula storage organization structure of segment.In the time will accessing a certain segment, use Map Service of Network agreement (Web Map Service, WMS) like this, layer index, ranks index that only need to be corresponding according to it just can be retrieved and obtain.
The through engineering approaches application process of network map image provided by the present invention comprises the following steps (Fig. 1):
step 1: by analyzing the http address of diverse network Map Service, organizational capacity and Interface design according to WMS, thereby resolve the unified resource reference address URL that its segment construction system obtains segment, KML zone by given download, select source of map data and download map style, after becoming the figure needs to establish the rank yardstick of downloading data, can start the segment of the Parallel download that downloads in should the zone, after each segment is downloaded and completed, tile data is stored in shared disk array data server or the local directory of appointment, generate simultaneously a segment and download successful listing file on mission computer,
Step 2: after all given KML zone segment downloads are completed, the segment columns list file that generates is loaded in automatic picture mosaic, folded figure program as input goes, a large amount of little figure block file on the webserver is merged automatically according to its locus generate local large picture file picture library, each width that also has that generates simultaneously generates the space terrestrial coordinate config files of figure, with convenient, it is managed and embeds application;
Step 3: thus carry out obtaining the position of this width figure on the engineering plane by the space to the conversion on engineering plane according to coordinate config files separately to being created on local figure library file, then figure is written to one by one by its engineering planimetric position in the DWG engineering drawing file of new establishment and goes, thereby complete by the application of network electronic map to electronic engineering figure.
The concrete grammar of described step 1 is (Fig. 2):
Step 101: the given KML polygonal region file of downloading the zone, described polygonal region file can obtain by following several modes:
A) directly draw the KML file that polygon is derived this key element on Google Earth or other platform;
B) generate the KML file by DWG zone, plane by the DWG2KML converse routine;
C) direct band according to several kilometers of generation left and right, engineering line position fills regional DE Polygon File;
Step 102: extract the indexed coordinates polygon that polygon form point obtains segment, be specially:
Extract the space and geographical coordinate from the KML file after, in Global Regional according to WMS data source agreement, these segments are carried out ranks authorized index in an orderly manner, thereby to the planar pixel coordinate, again to the mapping one by one of segment indexed coordinates, the segment indexed coordinates that obtains polygonal region forms the index polygon of segment by geographic coordinate in realization;
Step 103: generate segment indexed coordinates polygon mapping graph, be specially:
For fear of the efficient load that brings during a large amount of how much polygons are sentenced, by the index polygon of segment is asked for its minimum area-encasing rectangle, it is plotted to mapped bitmap, and filled polygon zone formation to be downloaded the zone directly perceived reflection of segment;
Step 104: the filling point on the search domain map one by one, obtain its corresponding segment indexed coordinates, search this segment according to its map image data source and whether exist in data server, if exist, do not need to download; If there is no, generate its WMS network map resource URL according to image data source, set up downloading task;
Step 105: downloading task is joined in the downloading process formation, if downloading process queue full, enter circular wait, until process queue has vacant process number, add again process queue, carry out formation and kept by downloading task managing process independently, downloading task is managed and is safeguarded by downloading process equally;
Step 106: until all filling segments join the downloading process formation, and all downloading process downloads are complete, and downloading process is just completed, and output has been retrieved and had or download successful segment columns list file.
The figure block file that said process is downloaded, can select local storage, also can set up the network storage and share system, directly download on the webserver, the figure block file is stored on shared network storage server, and the benefit of doing like this is if others or the tile data oneself downloaded just can not downloaded again again, effectively alleviates offered load, improves data acquisition efficient, form simultaneously data accumulation mechanism, conveniently carry out the expanded application of other side.
Because the quantity of figure block file is huge, how to carry out effective tissue and locate to ensure orderly storage quick-searching, need to set up efficient memory scan organizational framework, as shown in Figure 3.
This storage system, set up respectively storage directory according to the WMS image data source, then the map datum type md that provides according to each data source, set up second-level directory according to the layer index of segment afterwards, it is under hierarchical directory, then to set up the one-level sub-directory that the technology of most critical realizes, can avoid like this because under single file, the magnanimity group of data files becomes system access inefficiency and the search disk problem cause, thus under level according to 2 n* 2 n, n=5 wherein, 6,7,8, carry out the figure block array and set up sub-folder and realize depositing and retrieving of corresponding figures block file, and sub-folder can format according to the ranks index of array name conveniently to search retrieval.
In described step 2, the thumbnail of One's name is legion is unfavorable for using expression and management, thereby thereby is necessary that very little segment merging is spliced into fairly large image forms regional pattern matrix.The present invention is except realizing the splicing of segment according to downloading the segment columns list file, also possess other transparent print layer (as vector label figure layer) is stacked in the ability that has now on segment, thereby realize strengthening the quantity of information of image such as the same function of stack vector traffic road and place name mark on satellite photo.This stage will generate large pattern matrix, and the scale of each image might not be identical, and each the width image in the figure battle array all can generate a geographical config files and identify the terrestrial coordinate position of this image with terrestrial coordinate simultaneously.Realize relatively simply about the picture mosaic of segment, folded figure idiographic flow, mode can be varied, and what the present invention will protect is this operation thinking and processing links, and does not limit its specific implementation, realizes explanation therefore do not make sample here.
The concrete grammar of described step 3 is:
According to the terrestrial coordinate position in each width image registration file in the figure battle array, according to its planimetric coordinates of given engineering plane projection calculation of parameter position, and corresponding image resource being embedded the respective planes position of DWG file, all images write complete rear preservation DWG file namely can obtain the engineering drawing file that image embeds.
Its realization flow can be described below:
1) the engineering projection plane parameter is set, consistent with the coordinate-system of engineering proposal for guaranteeing the engineering drawing that generates, the projection conversion parameter of engineering proposal can here be set, comprise the parameters such as coordinate system selection, map projection's mode, projection central meridian, projection height;
2) create the engineering DWG document of new spacing, so that subsequent processes can be to the content of interpolation embedded images resource in this document;
3) retrieval is merged synthetic image config files in file one by one, read the geodesic latitude and longitude coordinates value of four corner points of its corresponding image, successively it is converted to the engineering plane, according to the planimetric coordinates of four new points, the image resource of correspondence is joined in the DWG document;
4) retrieval process is complete one by one, preserves the DWG document, withdraws from.
The above is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent program or equivalence techniques realization that utilizes instructions of the present invention and accompanying drawing content thereof to do; directly or indirectly be used in other relevant technical field, all in like manner be included in scope of patent protection of the present invention.

Claims (5)

1. the through engineering approaches application process of a network map image comprises the following steps:
step 1: by analyzing the http address of diverse network Map Service, organizational capacity and Interface design according to WMS, thereby resolve the unified resource reference address URL that its segment construction system obtains segment, KML zone by given download, select source of map data and download map style, after becoming the figure needs to establish the rank yardstick of downloading data, can start the segment of the Parallel download that downloads in should the zone, after each segment is downloaded and completed, tile data is stored in data server or the local directory of appointment, generate simultaneously a segment and download successful listing file on mission computer,
Step 2: after all given KML zone segment downloads are completed, the segment columns list file that generates is loaded in automatic picture mosaic, folded figure program as input goes, a large amount of little figure block file on the webserver is merged automatically according to its locus generate local large picture file picture library, each width that also has that generates simultaneously generates the space terrestrial coordinate config files of figure, with convenient, it is managed and embeds application;
Step 3: thus carry out obtaining the position of this width figure on the engineering plane by the space to the conversion on engineering plane according to coordinate config files separately to being created on local figure library file, then figure is written to one by one by its engineering planimetric position in the DWG engineering drawing file of AUTUCAD of new establishment and goes, thereby complete by the application of network electronic map to electronic engineering figure.
2. the through engineering approaches application process of network map image as claimed in claim 1, it is characterized in that: the concrete grammar of described step 1 is:
Step 101: the given KML polygonal region file of downloading the zone, described polygonal region file can obtain by following several modes:
A) directly draw the KML file that polygon is derived this key element on Google Earth or other platform;
B) generate the KML file by DWG zone, plane by the DWG2KML converse routine;
C) direct band according to several kilometers of generation left and right, engineering line position fills regional DE Polygon File;
Step 102: extract the indexed coordinates polygon that polygon form point obtains segment, be specially:
Extract the space and geographical coordinate from the KML file after, in Global Regional according to WMS data source agreement, these segments are carried out ranks authorized index in an orderly manner, thereby to the planar pixel coordinate, again to the mapping one by one of segment indexed coordinates, the segment indexed coordinates that obtains polygonal region forms the index polygon of segment by geographic coordinate in realization;
Step 103: generate segment indexed coordinates polygon mapping graph, be specially:
By the index polygon of segment is asked for its minimum area-encasing rectangle, it is plotted to mapped bitmap, and filled polygon zone formation to be downloaded the zone directly perceived reflection of segment;
Step 104: the filling point on the search domain map one by one, obtain its corresponding segment indexed coordinates, search this segment according to its map image data source and whether exist in data server, if exist, do not need to download; If there is no, generate its WMS network map resource URL according to image data source, set up downloading task;
Step 105: downloading task is joined in the downloading process formation, if downloading process queue full, enter circular wait, until process queue has vacant process number, add again process queue, carry out formation and kept by downloading task managing process independently, downloading task is managed and is safeguarded by downloading process equally;
Step 106: until all filling segments join the downloading process formation, and all downloading process downloads are complete, and downloading process is just completed, and output has been retrieved and had or download successful segment columns list file.
3. the through engineering approaches application process of network map image as claimed in claim 1, it is characterized in that: after in described step 1, each segment is downloaded and completed, tile data is stored in the data server of appointment or the storage means of local directory is: set up respectively storage directory according to the WMS image data source, then the map datum type md that provides according to each data source, set up second-level directory according to the layer index of segment afterwards, under hierarchical directory, set up again the one-level sub-directory, thus under level according to 2 n* 2 nCarry out the figure block array and set up sub-folder and realize depositing and retrieving of corresponding figures block file, n=5 wherein, 6,7,8, and sub-folder formats name conveniently to search retrieval according to the ranks index of array.
4. the through engineering approaches application process of network map image as claimed in claim 1, it is characterized in that: the concrete grammar of described step 3 is: according to the terrestrial coordinate position in each width image registration file in the figure battle array, according to its planimetric coordinates of given engineering plane projection calculation of parameter position, and corresponding image resource being embedded the respective planes position of DWG file, all images write complete rear preservation DWG file namely can obtain the engineering drawing file that image embeds.
5. the through engineering approaches application process of network map image as described in claim 1 or 4, it is characterized in that: the realization flow of described step 3 is as follows:
1) the engineering projection plane parameter is set, described plane parameter comprises coordinate system selection parameter, map projection's mode parameter, projection central meridian parameter and projection high parameter;
2) create the engineering DWG document of new spacing, so that subsequent processes can be to the content of interpolation embedded images resource in this document;
3) retrieval is merged synthetic image config files in file one by one, read the geodesic latitude and longitude coordinates value of four corner points of its corresponding image, successively it is converted to the engineering plane, according to the planimetric coordinates of four new points, the image resource of correspondence is joined in the DWG document;
4) retrieval process is complete one by one, preserves the DWG document, withdraws from.
CN2012105947850A 2012-12-31 2012-12-31 Engineering application method for network map image Pending CN103093040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105947850A CN103093040A (en) 2012-12-31 2012-12-31 Engineering application method for network map image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105947850A CN103093040A (en) 2012-12-31 2012-12-31 Engineering application method for network map image

Publications (1)

Publication Number Publication Date
CN103093040A true CN103093040A (en) 2013-05-08

Family

ID=48205600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105947850A Pending CN103093040A (en) 2012-12-31 2012-12-31 Engineering application method for network map image

Country Status (1)

Country Link
CN (1) CN103093040A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390273A (en) * 2013-07-19 2013-11-13 哈尔滨工程大学 Multi-beam side-scan sonar image registration method based on GPS (global positioning system) positioning assistance
CN107403014A (en) * 2017-08-04 2017-11-28 光典信息发展有限公司 The display methods of image file, apparatus and system
CN107885867A (en) * 2017-11-22 2018-04-06 苏州联讯图创软件有限责任公司 The synthetic method and synthesis system of map slice of data
CN108710666A (en) * 2018-05-15 2018-10-26 孝感科先电力工程咨询设计有限责任公司 A kind of method and system that kml files are mutually converted with dxf files
CN111222064A (en) * 2019-12-25 2020-06-02 宁波市科技园区明天医网科技有限公司 Cloud storage method for digital pathological section

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (en) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 Method of generating and organizing source data of grid electron map and method of generating target data
CN101339570A (en) * 2008-08-12 2009-01-07 北京航空航天大学 Efficient distributed organization and management method for mass remote sensing data
CN101388043A (en) * 2008-09-26 2009-03-18 北京航空航天大学 OGC high performance remote sensing image map service method based on small picture
US20100321399A1 (en) * 2009-06-18 2010-12-23 Patrik Ellren Maps from Sparse Geospatial Data Tiles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (en) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 Method of generating and organizing source data of grid electron map and method of generating target data
CN101339570A (en) * 2008-08-12 2009-01-07 北京航空航天大学 Efficient distributed organization and management method for mass remote sensing data
CN101388043A (en) * 2008-09-26 2009-03-18 北京航空航天大学 OGC high performance remote sensing image map service method based on small picture
US20100321399A1 (en) * 2009-06-18 2010-12-23 Patrik Ellren Maps from Sparse Geospatial Data Tiles

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
韩元利,等: "大型工程中的WMS数据获取与集成应用方法", 《武汉大学学报 信息科学版》, vol. 37, no. 6, 30 June 2012 (2012-06-30) *
韩元利,等: "网络影像服务在铁路选线中的应用", 《铁道科学与工程学报》, vol. 8, no. 4, 31 August 2011 (2011-08-31), pages 1 *
韩元利: "基于GIS的数字铁路选线在工程设计中的应用", 《铁道工程学报》, no. 8, 31 August 2010 (2010-08-31), pages 29 - 33 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390273A (en) * 2013-07-19 2013-11-13 哈尔滨工程大学 Multi-beam side-scan sonar image registration method based on GPS (global positioning system) positioning assistance
CN103390273B (en) * 2013-07-19 2015-12-02 哈尔滨工程大学 A kind of multi-beam side-scan sonar image registration method auxiliary based on GPS location
CN107403014A (en) * 2017-08-04 2017-11-28 光典信息发展有限公司 The display methods of image file, apparatus and system
CN107885867A (en) * 2017-11-22 2018-04-06 苏州联讯图创软件有限责任公司 The synthetic method and synthesis system of map slice of data
CN108710666A (en) * 2018-05-15 2018-10-26 孝感科先电力工程咨询设计有限责任公司 A kind of method and system that kml files are mutually converted with dxf files
CN111222064A (en) * 2019-12-25 2020-06-02 宁波市科技园区明天医网科技有限公司 Cloud storage method for digital pathological section

Similar Documents

Publication Publication Date Title
US10922339B2 (en) Portable globe creation for a geographical information system
CN101963996B (en) Global raster data storing method
CN112559667B (en) Map editor, map engine, map editing system, map editing method, and storage medium
CN102376160A (en) Method and system for updating real-time traffic information
CN104933057A (en) Map service providing method and apparatus
CN102819530A (en) Method and device for displaying electronic map
CN102902745B (en) A kind of web service integration method of geographic information
CN104252489A (en) Method for fast obtaining position character description information according to latitude and longitude data
CN113626550B (en) Image tile map service method based on triple bidirectional index and optimized cache
CN103093040A (en) Engineering application method for network map image
CA2849992A1 (en) Managing map elements using aggregate feature identifiers
WO2011106415A2 (en) Portable globe creation for a geographical information system
CN101370025A (en) Storing method, scheduling method and management system for geographic information data
WO2017206484A1 (en) Geographic data presentation method and apparatus
CN104539681A (en) Distributed GIS accelerating system and GIS service processing method
CN105574102A (en) Electronic map data loading method and device
CN108038249A (en) A kind of one diagram data storage organization method in whole world and call method
CN110069556B (en) DWG format vector map service publishing method and device
CN112085826A (en) Efficient three-dimensional space grid rendering method and device
CN107566474A (en) The multi-source heterogeneous data of the three-dimensional earth based on mobile platform are downloaded and integrated approach
CN104301354A (en) Space type business data GIS service realization method and system based on cloud calculation
CN104391947B (en) Magnanimity GIS data real-time processing method and system
Rechichi Chimera: a BIM+ GIS system for cultural heritage
CN101582068B (en) Method and system for organizing geographic data
CN103685380A (en) Geographic information data distribution service method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20130508