CN105718498B - The method and apparatus of network map mix-loaded - Google Patents

The method and apparatus of network map mix-loaded Download PDF

Info

Publication number
CN105718498B
CN105718498B CN201510919425.7A CN201510919425A CN105718498B CN 105718498 B CN105718498 B CN 105718498B CN 201510919425 A CN201510919425 A CN 201510919425A CN 105718498 B CN105718498 B CN 105718498B
Authority
CN
China
Prior art keywords
segment
map
processed
loaded
conversion
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.)
Expired - Fee Related
Application number
CN201510919425.7A
Other languages
Chinese (zh)
Other versions
CN105718498A (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.)
DEVELOPMENT AND Research CENTER GEOLOGIC SURVEY BUREAU OF CHINA
Original Assignee
DEVELOPMENT AND Research CENTER GEOLOGIC SURVEY BUREAU OF CHINA
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 DEVELOPMENT AND Research CENTER GEOLOGIC SURVEY BUREAU OF CHINA filed Critical DEVELOPMENT AND Research CENTER GEOLOGIC SURVEY BUREAU OF CHINA
Priority to CN201510919425.7A priority Critical patent/CN105718498B/en
Publication of CN105718498A publication Critical patent/CN105718498A/en
Application granted granted Critical
Publication of CN105718498B publication Critical patent/CN105718498B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The present invention relates to a kind of method and apparatus of network map mix-loaded, wherein requesting this method comprises: receiving network map mix-loaded, each service type of location information, scale bar and request of loading in the request of network map mix-loaded including request;According to each service type from obtaining the location information corresponding each segment to be processed under the scale bar in corresponding map server;It is converted respectively according to resolution ratio of the scale bar of each segment to be processed to each segment to be processed, obtains each conversion segment;Each conversion segment same display interface is loaded into according to the resolution ratio after conversion to show.The present invention can obtain segment to be processed from the map server of different a variety of GIS platforms, and unified conversion is carried out to the resolution ratio of each segment to be processed, the map segment mix-loaded of a variety of GIS platforms after conversion is shown to same display interface, realizes the compatibility of the network map of a variety of GIS platforms.

Description

The method and apparatus of network map mix-loaded
Technical field
The present invention relates to the fields GIS-Geographic Information System (Geographic Information System, GIS), especially relate to And a kind of method and apparatus of network map mix-loaded.
Background technique
Mode is available there are many servicing at present in client load Online Map, such as international mainstream GIS platform ArcGIS, for another example domestic mainstream GIS platform hypergraph (Supermap), middle ground number, Baidu map etc..The above GIS platform is usual The network for meeting open geospatial information alliance (Open Geospatial Consortium, OGC) standard can only be loaded Figure tile service (OpenGIS Web Map Tile Service, WMTS), can not the other producer's Map Services of mix-loaded.
GIS platform can only load the Map Services or a few Map Services of our factory oneself both at home and abroad at present, without one The general solution that can load a variety of manufacturer's Map Services simultaneously of kind.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved by the present invention is to, how the network of mix-loaded a variety of GIS platforms publication Figure.
Solution
In order to solve the above-mentioned technical problem, an embodiment according to the present invention provides a kind of network map mix-loaded Method, comprising:
The request of network map mix-loaded is received, includes the position of request in the network map mix-loaded request Each service type of information, scale bar and request of loading;
According to each service type from obtaining the location information in corresponding map server under the scale bar Corresponding each segment to be processed;
It is converted, is obtained respectively according to resolution ratio of the scale bar of each segment to be processed to each segment to be processed To each conversion segment;
Each conversion segment same display interface is loaded into according to the resolution ratio after conversion to show.
For above-mentioned method, in one possible implementation, also wrapped in the network map mix-loaded request The frame of reference is included, the location information is obtained in the ratio from corresponding map server according to each service type Corresponding each segment to be processed under ruler, comprising:
Under the frame of reference, according to scale bar, resolution ratio, picture precision and the conversion of each segment to be processed Parameter converts the resolution ratio of each segment to be processed respectively.
For above-mentioned method, in one possible implementation, under the frame of reference, according to it is each it is described to Scale bar, resolution ratio, picture precision and the conversion parameter for handling segment, carry out the resolution ratio of each segment to be processed respectively Conversion, comprising:
It is converted respectively using the resolution ratio that following formula 1 calculates each segment to be processed;
Formula 1,
Wherein, Scale is the scale bar of the segment to be processed;
Resolution is the resolution ratio of the segment to be processed;
DPI is the picture precision of the segment to be processed;
0.0254 is the conversion parameter.
For above-mentioned method, in one possible implementation, the frame of reference is 2000 coordinate systems of the earth Or Mercator's coordinate system, each service type include a day map, ArcGIS, hypergraph map, at least two in middle ground map.
For above-mentioned method, in one possible implementation, according to the resolution ratio after conversion by each conversion Segment is loaded into same display interface and is shown, comprising:
According to the resolution ratio after conversion, according to the starting point and body of a map or chart of each conversion segment, by each conversion Segment is loaded under the frame of reference in same display interface and is shown.
In order to solve the above-mentioned technical problem, according to another embodiment of the present invention, provide a kind of mixing of network map plus The device of load, comprising:
Request receiving module is requested for receiving network map mix-loaded, in the network map mix-loaded request Each service type of location information, scale bar and request of loading including request;
Segment obtains module, believes for obtaining the position from corresponding map server according to each service type Breath corresponding each segment to be processed under the scale bar;
Resolution converting block, for being divided according to the scale bar of each segment to be processed each segment to be processed Resolution is converted respectively, obtains each conversion segment;
Loading module is carried out for each conversion segment to be loaded into same display interface according to the resolution ratio after conversion Display.
For above-mentioned device, in one possible implementation, resolution converting block is also used to, in the network In the case where further including the frame of reference in the request of map mix-loaded, under the frame of reference, according to each described wait locate Scale bar, resolution ratio, picture precision and the conversion parameter for managing segment, turn the resolution ratio of each segment to be processed respectively It changes.
For above-mentioned device, in one possible implementation, resolution converting block is also used to count using following formula 1 The resolution ratio for calculating each segment to be processed is converted respectively;
Formula 1,
Wherein, Scale is the scale bar of the segment to be processed;
Resolution is the resolution ratio of the segment to be processed;
DPI is the picture precision of the segment to be processed;
0.0254 is the conversion parameter.
For above-mentioned device, in one possible implementation, the frame of reference is 2000 coordinate systems of the earth Or Mercator's coordinate system, each service type include a day map, ArcGIS, hypergraph map, at least two in middle ground map.
For above-mentioned device, in one possible implementation, the loading module is also used to according to after conversion Each conversion segment is loaded into same display circle according to the starting point and body of a map or chart of each conversion segment by resolution ratio It is shown under the frame of reference in face.
Beneficial effect
The embodiment of the present invention can obtain segment to be processed from the map server of different a variety of GIS platforms, and to respectively to The resolution ratio of processing segment carries out unified conversion, so as to the map segment mix-loaded of a variety of GIS platforms after converting It is shown to same display interface, realizes the compatibility of the network map of a variety of GIS platforms.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect It is clear.
Detailed description of the invention
Comprising in the description and constitute the attached drawing of part of specification and specification together illustrate it is of the invention Exemplary embodiment, feature and aspect, and principle for explaining the present invention.
Fig. 1 shows the flow chart of the method for network map mix-loaded according to an embodiment of the invention;
Fig. 2 is to access day map using the WMTS interface of ArcGIS the schematic diagram of deviation occur;
Fig. 3 is the part screenshot of the WMTS metadata of day map;
Fig. 4 is the effect picture of the mix-loaded by ArcGIS Yu day map;
Fig. 5 is the effect picture for loading the Iserver of a day map, the Arcserver of ArcGIS and middle ground simultaneously;
Fig. 6 shows the structural block diagram of the device of network map mix-loaded according to an embodiment of the invention.
Specific embodiment
Below with reference to attached drawing various exemplary embodiments, feature and the aspect that the present invention will be described in detail.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below. It will be appreciated by those skilled in the art that without certain details, the present invention equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight purport of the invention.
At present both at home and abroad mainstream GIS do not have can load simultaneously a day map, ArcServer, Supermap iServer, in The map loading scheme of ground Iserver etc., the main purpose of the embodiment of the present invention be solve it is compatible simultaneously including the above manufacturer with And the network map loading method and device of the WMTS map of other GIS platforms publication.
Embodiment 1
Fig. 1 shows the flow chart of the method for network map mix-loaded according to an embodiment of the invention.As shown in Figure 1, The method of the network map mix-loaded mainly may include:
Step 101 receives the request of network map mix-loaded, includes that request obtains in the network map mix-loaded request Each service type of the location information, scale bar and the request of loading that take.
Step 102 obtains the location information described according to each service type from corresponding map server Corresponding each segment to be processed under scale bar.
Step 103, according to the scale bar of each segment to be processed to the resolution ratio of each segment to be processed respectively into Row conversion, obtains each conversion segment.
Each conversion segment is loaded into same display interface according to the resolution ratio after conversion and shows by step 104.
Specifically, local server receives the net of the transmissions such as the user terminal such as PC machine, smart phone, tablet computer After the request of network map mix-loaded, network map mix-loaded can be requested to parse, therefrom obtain the position of user's request The information such as confidence breath, scale bar, service type, the frame of reference.Wherein, the frame of reference can for the earth 2000 coordinate systems, The coordinate system of the types such as Mercator's coordinate system, each service type may include a day map, ArcGIS, hypergraph map, middle ground map In at least two.Above only example to the frame of reference and enumerating for service type, it is also possible to have other coordinate systems and Service type, it is not limited by the embodiments of the present invention.
For example, user's request sits Beijing's map of day map and arcGIS with the scale bar of 1:20 ten thousand in the earth 2000 Mix-loaded under mark system (i.e. national 2000 coordinate systems).Location information is 115.7 ° -117.4 ° of east longitude in the request, north latitude 39.4 ° -41.6 ° (i.e. " Beijing "), scale bar is " 1:20 ten thousand ", and service type is " day map " and " arcGIS ", and benchmark is sat Mark system is " 2000 coordinate systems of the earth ".
Local server can obtain the location information in the ratio from the corresponding map server of each service type Corresponding each segment to be processed under example ruler.Example is connected, ten thousand ratio of 1:20 of Beijing can be obtained from the server of day map The day map tile (map segment) of ruler, the arcGIS of ten thousand scale bar of 1:20 of Beijing is obtained from the server of arcGIS Figure tile.Tile is obtained in this example from two kinds of map server, it can be from three or more in practical application Tile is obtained in the map server of type, acquired tile is the segment to be processed for needing subsequent processing.
In one possible implementation, it under the frame of reference, according to the scale bar of each segment to be processed, differentiates Rate, picture precision and conversion parameter convert the resolution ratio of each segment to be processed respectively.
Specifically, the resolution ratio that can be calculated each segment to be processed using following formula 1 is converted respectively;
Formula 1,
Wherein, Scale is the scale bar of the segment to be processed;Resolution is the resolution of the segment to be processed Rate;DPI (Dots Per Inch, the points that per inch is printed) is the picture precision of the segment to be processed;0.0254 is institute State conversion parameter.
Since Scale is datum, and the DPI of the map segment of each type is also known, therefore, according to formula 1 can be calculated the resolution ratio Resolution of the map segment of each service type.
After being converted according to resolution ratio of the equation 1 above to the map segment of each service type, can be according to conversion after Resolution ratio each conversion segment is loaded into same show according to the starting point and the parameters such as body of a map or chart of each conversion segment Show and is shown under the frame of reference in interface.
The method of the network map mix-loaded of the present embodiment can be obtained from the map server of different a variety of GIS platforms Segment to be processed is taken, and unified conversion is carried out to the resolution ratio of each segment to be processed, so as to put down a variety of GIS after conversion The map segment mix-loaded of platform is shown to same display interface, realizes the compatibility of the network map of a variety of GIS platforms Property.
Embodiment 2
The embodiment of the present invention solves the scheme of the incompatibility between the WMTS map of the GIS platform publication of each manufacturer, can To be realized using software code, development language can choose java, C#, php, Python, JavaScript etc..The present invention is real The feasibility for illustrating this method in example by taking Java as an example is applied, although not writing specific code exactly in embodiments of the present invention, this Field technical staff thought according to an embodiment of the present invention can also be realized using other language.In code realization, this hair Bright embodiment uses for reference the open source scheme of such as openlayers based on customized code.
Firstly, introducing Map Service of Network (Web Map Service, WMS), the web feature service (Web in the field GIS Feature Service, WFS), network grid service (Web Coverage Service.) and the concrete meaning of WMTS WCS.
WMS utilizes the data creating map with geospatial location information.Map is wherein defined as geodata can Depending on performance.This specification defines three operations: GetCapabilities returns to seeervice level metadata, it is believed service Breath content and a kind of description for requiring parameter;GetMap returns to a map image, and geospatial reference and size parameter are It is clearly defined;(optional) information for returning to the certain special elements being shown on map of GetFeatureInfo.
What WMS was returned is the map image of figure layer grade, and what WFS (also referred to as Web vector service) was returned is vector grade GML coding, and provide to transaction operations such as the increases, modification, deletion of vector, it is further to go deep into web map service. The Web vector service of OGC standard allows client acquirement from the service of multiple Web vectors to use geographical markup language The geographical spatial data of (Geography MarkupLanguage, GML) coding, five operations of this service definition: GetCapabilites returns to Web vector service performance and describes document (being described with XML);DescribeFeatureType is returned Description can provide the XML document of any vector structure of service;GetFeature is that the request of an acquisition vector example mentions For service;Transaction provides service for transactions requests;LockFeature processing is during an affairs to one or more The request of a vector type example locking.
The space-oriented WCS image data, it is using the geographical spatial data comprising geographical location value as " grid (Coverage) " it is exchanged with each other on the net.WCS is made of three kinds of operations: GetCapabilities, GetCoverage and DescribeCoverageType.GetCapabilities operation returns to the XML document of description service and data set.In WCS GetCoverage operation is to determine that inquiry can execute, which type of data can obtain for which type of in GetCapabilities It is executed after taking, it returns to the value or attribute in geographical location using general grid format.DescribeCoverageType Any coating that operation allows client request to be provided by specific WCS server is fully described.
WMTS standard defines some operations, these operations allow user to access slice map.WMTS provides one kind and adopts With the standardized solution of predefined segment method publication numerical map service.WMTS compensates for WMS with cannot providing piecemeal The deficiency of figure.WMS is that a dynamic data or user customize map and (need join style for the service of customizable maps is provided Change figure layer describer (Styled Layer Descriptor, SLD) standard) ideal solution.It is fixed that WMTS sacrifices offer The flexibility of map processed, instead by offer static data (basic map) Lai Zengqiang retractility, the model of these static datas Peripheral frame and scale bar are limited in each segment.These segment collection fixed make the realization serviced WMTS can be used one A only simple Web server for returning to existing file, while allowing to such as distributed caching using some standards Network mechanism realize retractility.
It is based primarily upon WMTS service in the embodiment of the present invention and obtains segment to be processed from various GIS platforms, to acquired Segment to be processed carries out the unified conversion of resolution ratio, then by the segment mix-loaded after conversion.In addition to by the WMTS of different platform It, can also be by the map serviced of the WMTS after conversion resolution and WMS, WFS, WCS etc. except the map mix-loaded of service The map mix-loaded of service.
It is flat that the difference GIS such as a day map, ArcGIS Server, middle ground IServer, Supermap iServer are described below The characteristics of map server of platform.
" day map " is the Research on Geographical Information Generalization site for service of mapping geography information office, country construction.It is " Digital CHINA " Important component, be national geographic information public service platform the public version.The purpose of " day map " is to promote geographical Information resources share and efficiently utilize, improve mapping geography information ability of public service and level, improve mapping geography information at The method of service of fruit preferably meets the needs of national information construction, provides conveniently for the work and life of the public.
ArcGIS Server is one for constructing the platform of centralized management, the enterprise GIS application for supporting multi-user. ArcGIS Server provides GIS function abundant, such as map, locator and the software in central server application Object.
Middle ground Iserver is that a GIS server software is researched and developed by Wuhan Zondy Cyber Co., Ltd., can be provided The GIS online service of various modes.
SuperMap iServer 8C is the cloud GIS application server based on high-performance GIS kernel, is divided into standard at present Three version, professional version, advanced version versions, service publication, management and polymerizable functional with two three-dimensional integratedization, and multilayer is provided Secondary expands and develops ability, by providing the exploitation such as a variety of mobile terminals, the end Web, the end PC Software Development Kit (Software Development Kit, SDK), can be used for constructing Enterprise SOA (Service-Oriented Architecture, SOA) application system and the proprietary cloud system of GIS.
Then, the map mix-loaded of world Fig. 2 .0 and ArcGIS platform is illustrated as example in the present embodiment.
The basic condition of world Fig. 2 .0 is as follows:
1) the WMTS 1.0.0 version based on OGC;
2) map vector, photomap and topographic map are provided;
3) two kinds of coordinate systems are provided: national 2000 earth coordinates and Web Mercator projected coordinate system (i.e. Mercator Coordinate system);
4) map and labeled data separate, and map vector and photomap provide Chinese and English mark, during topographic map only provides Text mark.
In the embodiment of the present invention, the map server of each GIS platform is accessed by WMTS interface in local server.Its In, ArcGIS product both provides the support to WMTS including Desktop Product, Web APIs, Native SDKs, Supermap, It services middlely similar with ArcGIS product.In the embodiment of the present invention by taking ArcGIS as an example, day can be accessed by these interfaces The WMTS of map is serviced.But actual conditions want more complex, find by test, access day using the WMTS interface of ArcGIS Map, it may appear that deviation is illustrated in fig. 2 shown below.Find after study, the basic reason for generating deviation is: ArcGIS WMTS connects DPI used in mouthful and the DPI that day map uses are inconsistent.
It is provided in OGC WMTS standard, the metadata of WMTS can be obtained by getcapatilities request.Fig. 3 is The part screenshot (XML format) of world Fig. 2 .0 WMTS metadata.Scale number in metadata comprising each rank is according to (as schemed Content shown in 3 centers).When accessing WMTS, need through these metadata using formula 1 Calculate resolution ratio.
DPI (uses physical width of the 0.028mm as a pixel) using 90.71 in OGC WMTS specification, and day The DPI that map uses uses 96 (see " electronic map specifications ") of national Specification.Since ArcGIS WMTS interface is realized OGC WMTS standard is followed, 90.71 is used as DPI and carrys out calculating resolution, ArcGIS is caused to access the world by WMTS interface When figure, picture physical size becomes larger, and deviates to the right so that map seems.
According to above-mentioned analysis, since DPI does not generate the main of offset using ArcGIS WMTS interface access day map simultaneously Reason can targetedly be extended ArcGIS interface, to realize the access to day map.
Specifically, ArcGIS interface can extend.By taking ArcGIS Runtime SDK for Android as an example, provide TiledServiceLayer class.This is the foundation class of access slice service, by extending this class, so that it may access the world The WMTS of figure is serviced.Before extension, it is to be understood that some parameters of day Map Services once, comprising:
(1) scale bar
The scale bar of day map is consistent under two kinds of coordinate systems (Mercator's coordinate system with national 2000 coordinate systems), with 18 grades For scale bar, the specific value of each scale bar is as follows.
Private static final double [] SCALES=2.958293554545656E8, 1.479146777272828E8,7.39573388636414E7,3.69786694318207E7, 1.848933471591035E7,9244667.357955175,4622333.678977588,2311166.839488794, 1155583.419744397,577791.7098721985,288895.85493609926,144447.92746804963, 72223.96373402482,36111.98186701241,18055.990933506204,9027.995466753102, 4513.997733376551,2256.998866688275};
(2) resolution ratio
Under two kinds of coordinate systems, the resolution ratio of day map is different.Wherein, the resolution ratio under Mercator's coordinate system is as follows:
Private static final double [] RESOLUTIONS_MERCATOR= {78271.51696402048,39135.75848201024,19567.87924100512,9783.93962050256, 4891.96981025128,2445.98490512564,1222.99245256282,611.49622628141, 305.748113140705,152.8740565703525,76.43702828517625,38.21851414258813, 19.109257071294063,9.554628535647032,4.777314267823516,2.388657133911758, 1.194328566955879,0.5971642834779395};
Resolution ratio under national 2000 coordinate systems is as follows:
Private static final double [] RESOLUTIONS_2000=0.7031249999891485, 0.35156249999999994,0.17578124999999997,0.08789062500000014, 0.04394531250000007,0.021972656250000007,0.01098632812500002, 0.00549316406250001,0.0027465820312500017,0.0013732910156250009, 0.000686645507812499,0.0003433227539062495,0.00017166137695312503, 0.00008583068847656251,0.000042915344238281406,0.000021457672119140645, 0.000010728836059570307,0.000005364418029785169};
(3) starting point
Starting point under national 2000 coordinate systems is as follows:
Private static final Point ORIGIN_2000=new Point (- 180,90);
Starting point under Mercator's coordinate system is as follows:
Private static final Point ORIGIN_MERCATOR=new Point (- 20037508.3427892,20037508.3427892);
(4) body of a map or chart
Body of a map or chart under national 2000 coordinate systems is as follows:
Private static final double X_MIN_2000=-180;
Private static final double Y_MIN_2000=-90;
Private static final double X_MAX_2000=180;
Private static final double Y_MAX_2000=90;
Body of a map or chart under Mercator's coordinate system is as follows:
Private static final double X_MIN_MERCATOR=-20037508.3427892;
Private static final double Y_MIN_MERCATOR=-20037508.3427892;
Private static final double X_MAX_MERCATOR=20037508.3427892;
Private static final double Y_MAX_MERCATOR=20037508.3427892;
Wherein, according to the information such as above-mentioned scale bar, resolution ratio, starting point and the body of a map or chart of day map, extension TiledServiceLayer is converted to realize by resolution ratio of the equation 1 above to the tile of day map, is passed through with realizing ArcGIS accesses day map, and core code is as follows:
Finally, the TianDiTuLayer after extension can be used using following code to show a day Map Services.
MapMercator=(MapView) this.findViewById (R.id.mapMercator);
Layer mapLayer
=new TianDiTuLayer (TianDiTuLayerTypes.TIANDITU_VECTOR_MERCATOR);
this.mapMercator.addLayer(mapLayer);
Layer annotationLayer=new TianDiTuLayer (
TianDiTuLayerTypes.TIANDITU_VECTOR_ANNOTATION_CHINESE_MERCATOR);
this.mapMercator.addLayer(annotationLayer);
Day map is loaded using the TianDiTuLayer after extension, the business datum of ArcGIS and day map can be folded Add, the mix-loaded effect realized after superposition is as shown in figure 4, white base map is a day map in figure, and (actual screen can be shown grey Show colored such as purple) map of China be ArcGIS.Fig. 5 is to load a day map, the Arcserver of ArcGIS and middle simultaneously Iserver effect picture, can show the map of China of the multiple color of mix-loaded.
The embodiment of the present invention can break through incompatible as caused by the difference of Map Services type between different vendor Problem, realize and load the gradient maps service such as day map in a variety of GIS platforms.More and more international data nets now It stands, domestic government data website discloses a large amount of geodata service, on the basis of realizing the load of a variety of Map Services, The load and displaying of multi-source Spatial Data service can be well realized, provides the solution of technical feasibility for scientific research, industrial application Scheme.
Embodiment 3
Fig. 6 shows the structural block diagram of the device of network map mix-loaded according to an embodiment of the invention.Such as Fig. 6 institute Show, the device of the network map mix-loaded mainly may include:
Request receiving module 61, for receiving the request of network map mix-loaded, the network map mix-loaded request In include the location information of request, scale bar and request of loading each service type;
Segment obtains module 63, connect with request receiving module 61, is used for according to each service type from correspondingly The location information corresponding each segment to be processed under the scale bar is obtained in figure server;
Resolution converting block 65 obtains module 63 with segment and connect, for the ratio according to each segment to be processed Ruler converts the resolution ratio of each segment to be processed respectively, obtains each conversion segment;
Loading module 67 is connect with resolution converting block 65, for according to the resolution ratio after conversion by each conversion Segment is loaded into same display interface and is shown.
In one possible implementation, resolution converting block 65 is also used to, in the network map mix-loaded In the case where further including the frame of reference in request, under the frame of reference, according to the ratio of each segment to be processed Ruler, resolution ratio, picture precision and conversion parameter convert the resolution ratio of each segment to be processed respectively.
In one possible implementation, resolution converting block 65 is also used to calculate using following formula 1 each described wait locate The resolution ratio of reason segment is converted respectively;
Formula 1,
Wherein, Scale is the scale bar of the segment to be processed;
Resolution is the resolution ratio of the segment to be processed;
DPI is the picture precision of the segment to be processed;
0.0254 is the conversion parameter.
In one possible implementation, the frame of reference is the earth 2000 coordinate systems or Mercator's coordinate system, Each service type includes a day map, ArcGIS, hypergraph map, at least two in middle ground map.
In one possible implementation, the loading module 67 is also used to according to the resolution ratio after conversion, according to each The starting point and body of a map or chart of the conversion segment, are loaded into the benchmark in same display interface for each conversion segment It is shown under coordinate system.
Specifically, each module of the device of the network map mix-loaded of the present embodiment is able to carry out in above-described embodiment Network map mix-loaded method, concrete principle retouches to the related of method that example may refer to network map mix-loaded It states.
The device of the network map mix-loaded of the present embodiment can be obtained from the map server of different a variety of GIS platforms Segment to be processed is taken, and unified conversion is carried out to the resolution ratio of each segment to be processed, so as to put down a variety of GIS after conversion The map segment mix-loaded of platform is shown to same display interface, realizes the compatibility of the network map of a variety of GIS platforms Property.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of network map mix-loaded characterized by comprising
The request of network map mix-loaded is received, includes the position letter of request in the network map mix-loaded request Each service type of breath, scale bar and request of loading;
Each service type includes a day map, ArcGIS, hypergraph map, at least two in middle ground map;
It is corresponding under the scale bar from the location information is obtained in corresponding map server according to each service type Each segment to be processed;
It is converted, is obtained each respectively according to resolution ratio of the scale bar of each segment to be processed to each segment to be processed Convert segment;
Each conversion segment same display interface is loaded into according to the resolution ratio after conversion to show.
2. the method according to claim 1, wherein further including benchmark in network map mix-loaded request Coordinate system, it is right under the scale bar from the location information is obtained in corresponding map server according to each service type Each segment to be processed answered, comprising:
Under the frame of reference, joined according to the scale bar of each segment to be processed, resolution ratio, picture precision and conversion Number, converts the resolution ratio of each segment to be processed respectively.
3. according to the method described in claim 2, it is characterized in that, under the frame of reference, according to each described to be processed Scale bar, resolution ratio, picture precision and the conversion parameter of segment turn the resolution ratio of each segment to be processed respectively It changes, comprising:
It is converted respectively using the resolution ratio that following formula 1 calculates each segment to be processed;
Wherein, Scale is the scale bar of the segment to be processed;
Resolution is the resolution ratio of the segment to be processed;
DPI is the picture precision of the segment to be processed;
0.0254 is the conversion parameter.
4. according to the method described in claim 3, it is characterized in that, the frame of reference is 2000 coordinate systems of the earth or ink card Hold in the palm coordinate system.
5. method according to any one of claim 2 to 4, which is characterized in that according to the resolution ratio after conversion by each institute Conversion segment is stated to be loaded into same display interface and shown, comprising:
According to the resolution ratio after conversion, according to the starting point and body of a map or chart of each conversion segment, by each conversion segment It is loaded under the frame of reference in same display interface and is shown.
6. a kind of device of network map mix-loaded characterized by comprising
Request receiving module is requested for receiving network map mix-loaded, includes in the network map mix-loaded request Each service type of the location information of request, scale bar and request of loading;
Each service type includes a day map, ArcGIS, hypergraph map, at least two in middle ground map;
Segment obtains module, exists for obtaining the location information from corresponding map server according to each service type Corresponding each segment to be processed under the scale bar;
Resolution converting block, for the resolution ratio according to the scale bar of each segment to be processed to each segment to be processed It is converted respectively, obtains each conversion segment;
Loading module is shown for each conversion segment to be loaded into same display interface according to the resolution ratio after conversion Show.
7. device according to claim 6, which is characterized in that resolution converting block is also used to, in the network map In the case where further including the frame of reference in mix-loaded request, under the frame of reference, according to each figure to be processed Scale bar, resolution ratio, picture precision and the conversion parameter of block convert the resolution ratio of each segment to be processed respectively.
8. device according to claim 7, which is characterized in that resolution converting block is also used to calculate respectively using following formula 1 The resolution ratio of the segment to be processed is converted respectively;
Wherein, Scale is the scale bar of the segment to be processed;
Resolution is the resolution ratio of the segment to be processed;
DPI is the picture precision of the segment to be processed;
0.0254 is the conversion parameter.
9. device according to claim 8, which is characterized in that the frame of reference is 2000 coordinate systems of the earth or ink card Hold in the palm coordinate system.
10. device according to any one of claims 7 to 9, which is characterized in that the loading module is also used to basis and turns Each conversion segment is loaded into same by the resolution ratio after changing according to the starting point and body of a map or chart of each conversion segment It is shown under the frame of reference in display interface.
CN201510919425.7A 2015-12-11 2015-12-11 The method and apparatus of network map mix-loaded Expired - Fee Related CN105718498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510919425.7A CN105718498B (en) 2015-12-11 2015-12-11 The method and apparatus of network map mix-loaded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510919425.7A CN105718498B (en) 2015-12-11 2015-12-11 The method and apparatus of network map mix-loaded

Publications (2)

Publication Number Publication Date
CN105718498A CN105718498A (en) 2016-06-29
CN105718498B true CN105718498B (en) 2019-02-26

Family

ID=56146906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510919425.7A Expired - Fee Related CN105718498B (en) 2015-12-11 2015-12-11 The method and apparatus of network map mix-loaded

Country Status (1)

Country Link
CN (1) CN105718498B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777063B (en) * 2016-12-12 2020-06-05 湖北金拓维信息技术有限公司 Layer grading drawing method
CN111552893A (en) * 2020-04-26 2020-08-18 中国电建集团中南勘测设计研究院有限公司 Method, plug-in and system for realizing online loading of multi-source geographic information data in AutoCAD
CN111857626A (en) * 2020-07-16 2020-10-30 北京奇虎科技有限公司 Picture display method, device and equipment based on screen coordinates and storage medium
CN115022033B (en) * 2022-06-01 2023-05-30 浙江省测绘科学技术研究院 Non-invasive space-time information service precision dynamic adjustment method and system
CN116975186B (en) * 2023-09-22 2024-02-09 广东泰一高新技术发展有限公司 GIS-based digital village and town map loading management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757445B1 (en) * 2000-10-04 2004-06-29 Pixxures, Inc. Method and apparatus for producing digital orthophotos using sparse stereo configurations and external models
CN103544247A (en) * 2013-10-10 2014-01-29 广东电网公司电力科学研究院 GIS display method and system
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services
CN103744995A (en) * 2014-01-23 2014-04-23 广东中科遥感技术有限公司 Thematic map building method and mobile terminal applying same
CN103984513A (en) * 2014-05-27 2014-08-13 广东粤铁瀚阳科技有限公司 Massive geographic information system (GIS) information ultrahigh resolution displaying method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060146719A1 (en) * 2004-11-08 2006-07-06 Sobek Adam D Web-based navigational system for the disabled community

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757445B1 (en) * 2000-10-04 2004-06-29 Pixxures, Inc. Method and apparatus for producing digital orthophotos using sparse stereo configurations and external models
CN103544247A (en) * 2013-10-10 2014-01-29 广东电网公司电力科学研究院 GIS display method and system
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services
CN103744995A (en) * 2014-01-23 2014-04-23 广东中科遥感技术有限公司 Thematic map building method and mobile terminal applying same
CN103984513A (en) * 2014-05-27 2014-08-13 广东粤铁瀚阳科技有限公司 Massive geographic information system (GIS) information ultrahigh resolution displaying method

Also Published As

Publication number Publication date
CN105718498A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105718498B (en) The method and apparatus of network map mix-loaded
JP2010504560A (en) Method and system for displaying graphic objects on a digital map
CN105447101B (en) Map engine implementation method and device
US20140351284A1 (en) System for performing a personalized information search
CN103942338A (en) Mapping method, server and terminal
CN106777302B (en) Method and device for converting space geographic coordinates
US20130167049A1 (en) Geographic information service system
Lu et al. The research on the webgis application based on the j2ee framework and arcgis server
Fitzke et al. Building SDIs with Free Software-the deegree project
Zhang et al. Design and Application Development of the Camps Navigation System Based on ArcGIS Runtime SDK for Android:——Taking the Yunnan Normal University as an example
Lautenschläger Design and implementation of a campus navigation application with augmented reality for smartphones
Sha et al. Design of service-oriented architecture for spatial data integration and its application in building web-based GIS systems
Reed The open geospatial consortium and web services standards
CN111324682A (en) Method and device for loading CAD (computer-aided design) data without geographic coordinate information based on GMap (Gaussian mixture map)
CN109542996A (en) Novel movable map application service system based on GeoPDF technology
Manikanta et al. LSIVIEWER 2.0–A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECTOR DATA
Neteler et al. Advances in free software geographic information systems
Stopper et al. Open Geospatial Consortium (OGC) and Web Services (WMS, WFS)
Pham Thi et al. Exploring spatial business data: a ROA based ecampus application
Li On generalised and specialised spatial information grids: are geo-services ready?
RU127967U1 (en) REFERENCE AND INFORMATION SYSTEM
Nan et al. Design of ship monitoring system based on WebGIS
Deng et al. Utilization of latest geospatial web service technologies for remote sensing education through GeoBrain sysem
de Paiva et al. Web-Based GIS
Tiwari et al. Geo-Spatial InformationStorage: A Survey

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190226

Termination date: 20211211

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