CN106202233A - A kind of method and system realizing industry dynamics figure layer self-adapting superposition slice map - Google Patents

A kind of method and system realizing industry dynamics figure layer self-adapting superposition slice map Download PDF

Info

Publication number
CN106202233A
CN106202233A CN201610495217.3A CN201610495217A CN106202233A CN 106202233 A CN106202233 A CN 106202233A CN 201610495217 A CN201610495217 A CN 201610495217A CN 106202233 A CN106202233 A CN 106202233A
Authority
CN
China
Prior art keywords
map
resolution
unit
coordinate system
scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610495217.3A
Other languages
Chinese (zh)
Other versions
CN106202233B (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.)
Taihua Wisdom Industry Group Co Ltd
Original Assignee
Taihua Wisdom Industry 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 Taihua Wisdom Industry Group Co Ltd filed Critical Taihua Wisdom Industry Group Co Ltd
Priority to CN201610495217.3A priority Critical patent/CN106202233B/en
Publication of CN106202233A publication Critical patent/CN106202233A/en
Application granted granted Critical
Publication of CN106202233B publication Critical patent/CN106202233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention discloses a kind of method and system realizing industry dynamics figure layer self-adapting superposition slice map, obtain the dpi of the equipment that system is run as algorithm parameter;Obtain the coordinate system of map;Coordinate system according to the map obtains the ultimate unit of map, if projected coordinate system, that unit is exactly rice;If geographic coordinate system, unit is spent exactly;Ultimate unit according to the map selects corresponding scale and resolution reduction formula, calculates the resolution of corresponding proportion chi;Reconfigure the scale structure of map after the resolution of scales at different levels being calculated, then reload superposition map.Present invention can apply to all GIS-Geographic Information System, avoid the problem that map layer data do not show, reduce rework rate, thus improve development efficiency, also system reliability is improved, it is to avoid because map datum show the serious bug of some functional module entirely not caused.

Description

A kind of method and system realizing industry dynamics figure layer self-adapting superposition slice map
Technical field
The present invention relates to map superimposing technique field, be specifically related to one and realize industry dynamics figure layer self-adapting superposition section The method and system of map.
Background technology
Map, is according to certain Mathematical rule, uses graphics language, by cartographic generaliztion on certain carrier, expresses The figure that on the earth, the spatial distribution of various things, contact and the development and change state in the time are drawn.Along with the progress of science and technology, The concept of map is development change, as map regarded as " reflection nature and the image of social phenomenon, sign mould ", Map is " carrier of spatial information ", " transmission channels of spatial information " etc..
The carrier of traditional map mostly is paper, along with the development of science and technology occurs in that the variety carrier such as electronic chart.And it is geographical Information system stores geography information in computer exactly, makes electronic chart, makes people pass through computer and inquire rapidly Target.Such as applying this technology can make electronic urban map, we only need to input when inquiring about bus line Point and the title of terminal, it is possible to inquire relevant train number, and obtain the geography information such as road and transfer station of process on the way. GIS-Geographic Information System practical value is huge, can be widely applied to urban land_use plan, traffic rules, natural resources protection, water Feed channel and the field such as disaster monitoring and prevention, be increasingly becoming the important component part of information industry.
Most important in GIS-Geographic Information System is exactly map datum, the different factor data of each map overlay display.Map The accuracy of data is the guarantee of GIS-Geographic Information System value dimension.Transfer in system is the Map Services of gis platform issue.
So-called Map Services, it is simply that utilize the data creating map with geospatial location information, wherein that map is fixed Justice is the performance that geodata is visual, and map itself is not data.Map is generally expressed with picture format, such as PNG, GIF Or JPEG, the most also it is expressed as based on vector graphics, such as scalable vector graphics (SVG) or network computer graphic elements Deng form (W and not CGM).
According to OGC specification, Map Services is the special service providing and sharing map datum, is responsible for asking according to CLIENT PROGRAM Ask, it is provided that the element information of map image, specified coordinate point and the function declaration information of Map Services.
In order to improve Map Services response speed, the most all the figure the layer longer update cycle is issued section service.Section Service is that the map section of the strategy using map datum section to issue, i.e. pre-generatmg certain specification is buffered in server, is used for The such map requests of customer in response end, can improve map denotation speed.But the data layer of some real-time update Dynamic Graph to be used Layer service.So-called dynamic Service is then to be required for server when asking and provide map each time to render a map, has more High motility.This most inevitably has the situation that dynamic Service superposes with section service.
Existing technology is all direct superposition, but there is following defect:
1. dynamic layer superposes with slice map service, and the scale of dynamic layer can be limited by slice map scale, Thus it is easily lost scale grade, cause figure layer data to show the most complete.
2., under the screen of different resolution, such as computer and flat board and mobile phone, DPI is different, can cause scale display by mistake Difference, causes figure layer data to show the most complete.So-called DPI, it is simply that per inch pixel count, can reflect the definition of screen.
Summary of the invention
For solving the deficiency that prior art exists, the invention discloses one and realize industry dynamics figure layer self-adapting superposition and cut The method and system of sheet map, the present invention uses concrete algorithm that map is cut at superposition homology slice map or non-homology Do not limited by section scale during sheet map, automatically adapted to scale grade, it is ensured that All Layers data can be on map Display.
For achieving the above object, the concrete scheme of the present invention is as follows:
A kind of method realizing industry dynamics figure layer self-adapting superposition slice map, comprises the following steps:
The dpi of the equipment that acquisition system is run is as algorithm parameter;
Obtain the coordinate system of map;
Coordinate system according to the map obtains the ultimate unit of map, if projected coordinate system, then unit is exactly rice;If Be geographic coordinate system, then unit is spent exactly;
The corresponding different resolution reduction formula of different ground map units.If unit is rice, reduction formula is resolution Resolution=scale * 0.0254000508/dpi.If unit degree of being, reduction formula is resolution resolution= Scale * 0.0254000508/dpi/111194.872221777.Ultimate unit according to the map select corresponding scale with Resolution reduction formula, calculates the resolution of corresponding proportion chi;
Reconfigure the scale structure of map after the resolution of scales at different levels being calculated, then reload superposition ground Figure.
Further, the dpi of the equipment of operation is and screen resolution and the parameter of the reduction formula of map scale.
Further, the coordinate system of map is to obtain according to control gis javascriptAPI to transfer ground from Map Services The coordinate system of figure.Gis javascriptAPI, refers to the one group of foot calling service interface realized according to javascript technology This.Each gis platform all has the javascriptAPI of oneself, the development language work of the person that is available to GIS Development Tool bag.
Further, according to the georeferencing parameter of control gis javascriptAPI, it is judged that coordinate system type.
Further, if unit is rice, according to scale and resolution reduction formula, calculate the resolution of corresponding proportion chi Rate, reduction formula is: resolution resolution=scale * 0.0254000508/dpi.
Further, if unit degree of being, according to scale and resolution reduction formula, the resolution of corresponding proportion chi is calculated Rate, reduction formula is: resolution resolution=scale * 0.0254000508/dpi/111194.872221777.
A kind of system realizing industry dynamics figure layer self-adapting superposition slice map, including:
Dpi acquiring unit, obtains the dpi of the equipment that system is run as algorithm parameter;
The coordinate system acquiring unit of map, obtains the coordinate system of map;
The ultimate unit judging unit of map, coordinate system according to the map obtains the ultimate unit of map, if projection Coordinate system, that unit is exactly rice;If geographic coordinate system, unit is spent exactly;
Resolution computing unit, ultimate unit according to the map selects corresponding scale and resolution reduction formula, calculates Go out the resolution of corresponding proportion chi;
Scale structure reconfigures unit, reconfigures the ratio of map after the resolution of scales at different levels being calculated Chi structure, then reloads superposition map.
Further, in the coordinate system acquiring unit of map, the coordinate system of map is according to control gis JavascriptAPI obtains the coordinate system transferring map from Map Services.
Further, in the ultimate unit judging unit of map, according to the georeferencing of control gis javascriptAPI Parameter, it is judged that coordinate system type.
Further, in resolution computing unit, if unit is rice, according to scale and resolution reduction formula, calculate Going out the resolution of corresponding proportion chi, reduction formula is: resolution resolution=scale * 0.0254000508/dpi.
Further, in resolution computing unit, if unit degree of being, according to scale and resolution reduction formula, calculate Going out the resolution of corresponding proportion chi, reduction formula is:
Resolution resolution=scale * 0.0254000508/dpi/111194.872221777.
Beneficial effects of the present invention:
Present invention can apply to all GIS-Geographic Information System, it is to avoid the problem that map layer data do not show, reduce Rework rate, thus improve development efficiency, also improves system reliability, it is to avoid entirely do not cause because map datum show The serious bug of some functional module.Because the map very important part that is GIS-Geographic Information System, map datum accurately with The no value being directly connected to system, therefore the present invention is a kind of technology ensureing that map datum rationally shows, thus also carries Rise the important technology of system reliability.
Accompanying drawing explanation
The flow chart of Fig. 1 present invention.
Detailed description of the invention:
The present invention is described in detail below in conjunction with the accompanying drawings:
It is exactly that tool-class method realizes that the present invention embodies in GIS-Geographic Information System.
Because DPI has conversion relation with resolution and map scale.If unit is rice, reduction formula is Resolution=scale * 0.0254000508/dpi.If unit degree of being, reduction formula is resolution=ratio Chi * 0.0254000508/dpi/111194.872221777.The suitable displaying ratio chi etc. of the map that different DPI is corresponding Level is different, so the setting of map scale dynamically to set according to different DPI, and guarantee map datum Bug is not produced showing when.
As it is shown in figure 1, first pass through programmed algorithm, utilize program technic that windowAPI provides (if mobile terminal, Then utilize the method that mobile end system api interface provides), the dpi obtaining the equipment (computer or mobile terminal) that system is run makees For dpi and screen resolution and the parameter of the reduction formula of map scale.Then obtain according to gis javascriptAPI Transfer the coordinate system of map from Map Services, and obtain ground map unit according to coordinate system.Sky according to gis javascriptAPI Between reference parameter, it is judged that coordinate system type, if projected coordinate system, that unit is exactly rice;If geographic coordinate system, unit Degree of being exactly.Then according to scale and resolution reduction formula, the resolution of corresponding proportion chi is calculated.If unit is rice, change Calculating formula is resolution=scale * 0.0254000508/dpi.If unit degree of being, reduction formula is resolution =scale * 0.0254000508/dpi/111194.872221777.Then the resolution of scales at different levels is calculated After reconfigure the scale structure of map, the when of utilizing the map class of gis javascriptAPI to initialize map, ratio Chi grade is as the parameter of map so that the scale progression of setting followed by the map after loading.Then superposition map is reloaded, The situation that just map scale can be avoided not mate and to cause figure layer data not show.
The invention still further relates to a kind of system realizing industry dynamics figure layer self-adapting superposition slice map, including:
Dpi acquiring unit, obtains the dpi of the equipment that system is run as algorithm parameter;
The coordinate system acquiring unit of map, obtains the coordinate system of map;
The ultimate unit judging unit of map, coordinate system according to the map obtains the ultimate unit of map, if projection Coordinate system, that unit is exactly rice;If geographic coordinate system, unit is spent exactly;
Resolution computing unit, ultimate unit according to the map selects corresponding scale and resolution reduction formula, calculates Go out the resolution of corresponding proportion chi;
Scale structure reconfigures unit, reconfigures the ratio of map after the resolution of scales at different levels being calculated Chi structure, then reloads superposition map.
Although the detailed description of the invention of the present invention is described by the above-mentioned accompanying drawing that combines, but not the present invention is protected model The restriction enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme, and those skilled in the art are not Need to pay various amendments or deformation that creative work can make still within protection scope of the present invention.

Claims (10)

1. the method realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, comprise the following steps:
The dpi of the equipment that acquisition system is run is as algorithm parameter;
Obtain the coordinate system of map;
Coordinate system according to the map obtains the ultimate unit of map, if projected coordinate system, then unit is exactly rice;If ground Reason coordinate system, then unit is spent exactly;
Ultimate unit according to the map selects corresponding scale and resolution reduction formula, calculates the resolution of corresponding proportion chi Rate;
Reconfigure the scale structure of map after the resolution of scales at different levels being calculated, then reload superposition map.
A kind of method realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, The coordinate system of map is the coordinate system obtaining according to control gis javascriptAPI and transferring map from Map Services.
A kind of method realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, Georeferencing parameter according to control gis javascriptAPI, it is judged that coordinate system type.
A kind of method realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, If unit is rice, according to scale and resolution reduction formula, calculating the resolution of corresponding proportion chi, reduction formula is: point Resolution resolution=scale * 0.0254000508/dpi.
A kind of method realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, If unit degree of being, according to scale and resolution reduction formula, calculating the resolution of corresponding proportion chi, reduction formula is: point Resolution resolution=scale * 0.0254000508/dpi/111194.872221777.
6. realize a system for industry dynamics figure layer self-adapting superposition slice map, it is characterized in that, including:
Dpi acquiring unit, obtains the dpi of the equipment that system is run as algorithm parameter;
The coordinate system acquiring unit of map, obtains the coordinate system of map;
The ultimate unit judging unit of map, coordinate system according to the map obtains the ultimate unit of map, if projection coordinate System, that unit is exactly rice;If geographic coordinate system, unit is spent exactly;
Resolution computing unit, ultimate unit according to the map selects corresponding scale and resolution reduction formula, calculates phase Answer the resolution of scale;
Scale structure reconfigures unit, reconfigures the scale knot of map after the resolution of scales at different levels being calculated Structure, then reloads superposition map.
A kind of system realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, In the coordinate system acquiring unit of map, the coordinate system of map is to obtain from Map Services according to control gis javascriptAPI Transfer the coordinate system of map.
A kind of system realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, In the ultimate unit judging unit of map, according to the georeferencing parameter of control gis javascriptAPI, it is judged that coordinate system class Type.
A kind of system realizing industry dynamics figure layer self-adapting superposition slice map, is characterized in that, In resolution computing unit, if unit is rice, according to scale and resolution reduction formula, calculate the resolution of corresponding proportion chi Rate, reduction formula is: resolution resolution=scale * 0.0254000508/dpi.
A kind of system realizing industry dynamics figure layer self-adapting superposition slice map, its feature It is, in resolution computing unit, if unit degree of being, according to scale and resolution reduction formula, to calculate corresponding proportion chi Resolution, reduction formula is:
Resolution resolution=scale * 0.0254000508/dpi/111194.872221777.
CN201610495217.3A 2016-06-29 2016-06-29 Method and system for realizing self-adaptive superposition of sliced maps of industrial dynamic image layers Active CN106202233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610495217.3A CN106202233B (en) 2016-06-29 2016-06-29 Method and system for realizing self-adaptive superposition of sliced maps of industrial dynamic image layers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610495217.3A CN106202233B (en) 2016-06-29 2016-06-29 Method and system for realizing self-adaptive superposition of sliced maps of industrial dynamic image layers

Publications (2)

Publication Number Publication Date
CN106202233A true CN106202233A (en) 2016-12-07
CN106202233B CN106202233B (en) 2020-04-07

Family

ID=57461528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610495217.3A Active CN106202233B (en) 2016-06-29 2016-06-29 Method and system for realizing self-adaptive superposition of sliced maps of industrial dynamic image layers

Country Status (1)

Country Link
CN (1) CN106202233B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120130510A1 (en) * 2010-11-23 2012-05-24 Aisin Aw Co., Ltd. Control device, control method of control device, and computer program
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services
CN103927933A (en) * 2013-01-14 2014-07-16 北京中交兴路信息科技有限公司 Method and device for rendering mass moving targets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120130510A1 (en) * 2010-11-23 2012-05-24 Aisin Aw Co., Ltd. Control device, control method of control device, and computer program
CN103927933A (en) * 2013-01-14 2014-07-16 北京中交兴路信息科技有限公司 Method and device for rendering mass moving targets
CN103699641A (en) * 2013-12-24 2014-04-02 北京易华录信息技术股份有限公司 Method for accessing different raster map services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴侃等: "异构GIS瓦片地图转换共享模式研究", 《地理信息世界》 *

Also Published As

Publication number Publication date
CN106202233B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
AU2017251816B2 (en) Rendering map images using modifications of non-raster map data
EP3304945B1 (en) System, method, and apparatus for data processing and display
CN108052642A (en) Electronic Chart Display method based on tile technology
US10319062B2 (en) Rendering map data using descriptions of raster differences
US9286712B2 (en) System and method for approximating cartographic projections by linear transformation
CN105574102B (en) A kind of method and device of electronic map data load
CN103984513A (en) Massive geographic information system (GIS) information ultrahigh resolution displaying method
WO2014123839A1 (en) Providing indoor facility information on a digital map
CN107564098A (en) A kind of Fast rendering method of big Local Area Network three-dimensional noise map
CN112102489B (en) Navigation interface display method and device, computing equipment and storage medium
CN113014824B (en) Video picture processing method and device and electronic equipment
CN110597940A (en) WeChat-based natural resource field check method and system, server and medium
WO2023138199A1 (en) Route drawing method and apparatus, computer device, storage medium and program product
JP7086180B2 (en) Dynamic styling of digital maps
CN113538468B (en) Method and device for constructing high-definition satellite map vector slice based on svg format
CN104346771B (en) A kind of electronic map tiered management approach
CN106202233A (en) A kind of method and system realizing industry dynamics figure layer self-adapting superposition slice map
US11112264B2 (en) System and method for rendering an overpass object using map and link data
CN114996374A (en) Online data visualization implementation method, system, device and medium
CN117115382B (en) Map road drawing method, device, computer equipment and storage medium
CN115774896B (en) Data simulation method, device, equipment and storage medium
CN118037940A (en) Method for realizing unmanned scene display
CN118092751A (en) Data presentation method, device, equipment and storage medium
CN116448127A (en) Position locating method and device, storage medium and electronic device
CN114387418A (en) Grid data visualization method and system based on three-dimensional earth model

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