CN104346771B - A kind of electronic map tiered management approach - Google Patents

A kind of electronic map tiered management approach Download PDF

Info

Publication number
CN104346771B
CN104346771B CN201410534705.1A CN201410534705A CN104346771B CN 104346771 B CN104346771 B CN 104346771B CN 201410534705 A CN201410534705 A CN 201410534705A CN 104346771 B CN104346771 B CN 104346771B
Authority
CN
China
Prior art keywords
picture
map
map picture
layer
new
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.)
Active
Application number
CN201410534705.1A
Other languages
Chinese (zh)
Other versions
CN104346771A (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.)
SHANGHAI SUNRISE POWER CONTROL SYSTEM CO Ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Lianyungang Power Supply Co of Jiangsu Electric Power Co
Original Assignee
SHANGHAI SUNRISE POWER CONTROL SYSTEM CO Ltd
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Lianyungang Power Supply Co of Jiangsu Electric Power Co
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 SHANGHAI SUNRISE POWER CONTROL SYSTEM CO Ltd, State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Lianyungang Power Supply Co of Jiangsu Electric Power Co filed Critical SHANGHAI SUNRISE POWER CONTROL SYSTEM CO Ltd
Priority to CN201410534705.1A priority Critical patent/CN104346771B/en
Priority to PCT/CN2014/093331 priority patent/WO2016054859A1/en
Publication of CN104346771A publication Critical patent/CN104346771A/en
Application granted granted Critical
Publication of CN104346771B publication Critical patent/CN104346771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/20Linear translation of whole images or parts thereof, e.g. panning

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention discloses a kind of electronic map tiered management approach, initially set up electronic map hierarchical mode, it is determined that basic figure layer map picture and the plane conversion relation on ground and the skew of picture and proportionate relationship, when picture scaling and pan formula, are searched and are shown to new map picture respectively.The present invention uses fuzzy layered management algorithm, is easy to the part of map to change and change, it is not necessary to special maintenance management instrument, it is adaptable to the application of Small-size electronic map;When only having partial picture to need display content some figure layer, as long as preserving partial picture, it is not necessary to preserve complete picture, greatly reduce map building and maintenance workload.

Description

A kind of electronic map tiered management approach
Technical field
The present invention relates to a kind of electronic map, particularly a kind of electronic map tiered management approach.
Background technology
Electronic map is applied in many management systems, draws applying electronic map, can be used during drawing Vector plotting software, during Layering manifestation, every layer has different details.
But there are oneself exclusive nonopen data memory format in some mapping softwares, and do not provide resolver, only carry For the graphic file for the non-vectored that can preserve other general formats.Commercial mapping software is when depositing figure, due to that can not set Displaying ratio, block can not be divided automatically and carries out depositing figure, it is necessary to carry out depositing figure by hand, the scope and ratio of every width figure are difficult essence Really control, wants to realize that the splicing difficulty and workload of full figure are very big in amplification, it usually needs the special drawing instrument of exploitation Software and maintenance management software, and such instrument and safeguard that the development amount of software also tends to be more than and use software, significantly Add construction cycle and cost.
When some figure layer only has partial picture to need the content shown, it is necessary to preserve complete picture, map building and dimension The workload of shield is very big.
The content of the invention
It is an object of the invention to provide a kind of part modification for being easy to map and the electronic map multi-zone supervision side changed Method.
The technical scheme for realizing the object of the invention is:A kind of electronic map tiered management approach, comprises the following steps:
Step 1, set up electronic map Layering manifestation model:
Step 1-1, the N number of figure layer of the content setting shown as needed, N is natural number;
Step 1-2, the basic figure layer of setting, set the displaying ratio of basic figure layer as L1, preserve basic figure layer map picture, The geographical coordinates of the geographical coordinates of map picture angle point, one-dimensional plane map record upper left angle point and upper right angle point is recorded, three are imitated Tie up the geographical coordinates in the 2D maps record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set magnification ratio of other figure layers relative to basic figure layer;Fuzzy proportional coefficient f is set, wherein 0 < f < 1;
Step 1-4, the map picture for drawing and intercepting other figure layers, the observation visual angle of map picture and basic figure layer map Picture is identical, if the magnification ratio of figure layer is Ln, the displaying ratio L of map meets Ln*f < L < Ln/f in map picture;Preserve The geographical coordinates of the map picture of other figure layers, record upper left angle point and upper right angle point;
Wherein, picture refers to display screen, and map picture refers to the map sectional drawing preserved according to given format;
Step 2, according to the upper left corner of basic figure layer map picture, the location of pixels in the upper right corner and the lower left corner and corresponding The corresponding relation of geographical coordinates point position determines the plane conversion relation of basic figure layer map picture and geographical coordinates;
Step 3, according to the map the picture upper left corner and the coordinate points position on upper right corner location of pixels and corresponding ground Corresponding relation determines skew and the magnification ratio of picture;
If map is scaled in step 4, progress picture, step 5 is performed;If carrying out map in picture to translate, step 6 is performed;
When map is scaled in step 5, picture, the lookup and display of new map picture comprise the following steps:
Step 5-1, determine amplification/drawdown ratio of the map relative to basic figure layer picture map that is shown in current picture Example;
Step 5-2, in all map pictures, find magnification ratio and be less than picture displaying ratio and include current mouse point All map pictures of the coordinate of place map;
The maximum lmax of magnification ratio is determined in step 5-3, the map picture obtained from step 5-2, magnification ratio Minimum lmin=lmax*f2, search all map pictures that current picture displaying ratio l meets lmin < l < lmax;
The geographical coordinates of the central point for the map picture that step 5-4, calculation procedure 5-3 are obtained, with comparing finding center point The areal coordinate map picture nearest apart from the coordinate of map where current picture mouse point;
Step 5-5, pass through above step, it is determined whether find new map picture, if not finding new map picture, display Former map picture;
If finding new map picture, new map picture is recalled, scale the displaying ratio of new map picture to current picture Displaying ratio, the window display location of moving map picture so that geographical coordinates of the mouse point in the map picture with original Geographical coordinates in map picture is overlapped, and shows new map picture;
When map is translated in step 6, picture, the lookup and display of new map picture comprise the following steps:
Step 6-1, geographical coordinates position corresponding to window center point is judged whether in current map picture, if map Image edge is found suitable new map picture by step 5 again out of central point in the map picture of same layer;
Step 6-2, the searching in same figure layer map picture, if can not find new map picture in same layer map picture, Continually look for, circulate successively in next layer of map picture, until finding new map picture, show new map picture;
When being recycled to basic figure layer, it is new map picture to determine base map picture;New map picture is recalled, according to current Displaying ratio and region, adjust displaying ratio and the skew of new map picture, it is ensured that the geographical coordinates of mouse point position It is constant, show new map picture.
Compared with prior art, its remarkable advantage is the present invention:(1) present invention uses fuzzy layered management algorithm, is easy to The part modification and replacing of map, it is not necessary to special maintenance management instrument, it is adaptable to the application of Small-size electronic map;(2) originally Invention only needs to preserve partial picture, it is not necessary to preserves complete picture, greatly reduces map building and maintenance workload;(3) The drawing instrument of a variety of commercial drawing instruments application software the most can be borrowed, efficiency, Speeding up development progress is improved.
The present invention will be further described below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the flow chart of the electronic map tiered management approach of the present invention.
Embodiment
With reference to Fig. 1, a kind of electronic map tiered management approach comprises the following steps:
Step 1, set up electronic map Layering manifestation model:
Step 1-1, the N number of figure layer of the content setting shown as needed, N is natural number;
Step 1-2, the basic figure layer of setting, set the displaying ratio of basic figure layer as L1, preserve basic figure layer map picture, The geographical coordinates of the geographical coordinates of map picture angle point, one-dimensional plane map record upper left angle point and upper right angle point is recorded, three are imitated Tie up the geographical coordinates in the 2D maps record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set magnification ratio of other figure layers relative to basic figure layer;Fuzzy proportional coefficient f is set, wherein 0 < f < 1;
Step 1-4, the map picture for drawing and intercepting other figure layers, the observation visual angle of map picture and basic figure layer map Picture is identical, if the magnification ratio of figure layer is Ln, the displaying ratio L of map meets Ln*f < L < Ln/f in map picture;Preserve The geographical coordinates of the map picture of other figure layers, record upper left angle point and upper right angle point;
Wherein, picture refers to display screen, and map picture refers to the map sectional drawing preserved according to given format;
Step 2, according to the upper left corner of basic figure layer map picture, the location of pixels in the upper right corner and the lower left corner and corresponding The corresponding relation of geographical coordinates point position determines the plane conversion relation of basic figure layer map picture and geographical coordinates;Basic figure layer The plane conversion relation of map picture and geographical coordinates is:
If picture pixel coordinate be [x, y], geographical coordinates be [X, Y], perspective transformation function be F (referring to《OpenGL》's GlFrustum (), gluPerspective () and glOrtho ()), then:
[x, y]=F ([X, Y])
[X, Y]=FT([x,y])
Wherein FTFor F inverse function.
Step 3, according to the map the picture upper left corner and the coordinate points position on upper right corner location of pixels and corresponding ground Corresponding relation determines skew and the magnification ratio of picture;The skew of picture and proportionate relationship are:
If the skew of picture is [bx, by], proportionate relationship is s, and the skew of picture and proportionate relationship are:
[x, y]=F ([X, Y]) * s+ [bx, by];
[X, Y]=FT([x,y])/s-[bx,by];
If map is scaled in step 4, progress picture, step 5 is performed;If carrying out map in picture to translate, step 6 is performed;
When map is scaled in step 5, picture, the lookup and display of new map picture comprise the following steps:
Step 5-1, determine amplification/drawdown ratio of the map relative to basic figure layer picture map that is shown in current picture Example;
Step 5-2, in all map pictures, find magnification ratio and be less than picture displaying ratio and include current mouse point All map pictures of the coordinate of place map;
The maximum lmax of magnification ratio is determined in step 5-3, the map picture obtained from step 5-2, magnification ratio Minimum lmin=lmax*f2, search all map pictures that current picture displaying ratio l meets lmin < l < lmax;
The geographical coordinates of the central point for the map picture that step 5-4, calculation procedure 5-3 are obtained, with comparing finding center point The areal coordinate map picture nearest apart from the coordinate of map where current picture mouse point;
Step 5-5, pass through above step, it is determined whether find new map picture, if not finding new map picture, display Former map picture;
If finding new map picture, new map picture is recalled, scale the displaying ratio of new map picture to current picture Displaying ratio, the window display location of moving map picture so that geographical coordinates of the mouse point in the map picture with original Geographical coordinates in map picture is overlapped, and shows new map picture;
When map is translated in step 6, picture, the lookup and display of new map picture comprise the following steps:
Step 6-1, geographical coordinates position corresponding to window center point is judged whether in current map picture, if map Image edge is found suitable new map picture by step 4 again out of central point in the map picture of same layer;Properly The preferred selection order of new map picture be:
First, selection includes the map picture of current window central point;
Secondly, selection includes the map picture of current mouse point;
Finally, selection picture central point and the immediate map picture of window center point;
Step 6-2, the searching in same figure layer map picture, if can not find new map picture in same layer map picture, Continually look for, circulate successively in next layer of map picture, until finding new map picture, show new map picture;
When being recycled to basic figure layer, it is new map picture to determine base map picture;New map picture is recalled, according to current Displaying ratio and region, adjust displaying ratio and the skew of new map picture, it is ensured that the geographical coordinates of mouse point position It is constant, show new map picture.
Fuzzy proportional coefficient, figure layer magnification ratio, displaying ratio are set all in accordance with concrete condition in the present invention, and are all higher than 0。
The present invention uses fuzzy layered management algorithm, is easy to the part of map to change and change, it is not necessary to special maintenance Management tool, it is adaptable to the application of Small-size electronic map;There was only partial picture display content in need to some figure layer simultaneously, only Preserve partial picture, it is not necessary to preserve complete picture, greatly reduce map building and maintenance workload.

Claims (3)

1. a kind of electronic map tiered management approach, it is characterised in that comprise the following steps:
Step 1, set up electronic map Layering manifestation model:
Step 1-1, the N number of figure layer of the content setting shown as needed, N is natural number;
Step 1-2, the basic figure layer of setting, set the displaying ratio of basic figure layer as L1, preserve basic figure layer map picture, record The geographical coordinates of the geographical coordinates of map picture angle point, one-dimensional plane map record upper left angle point and upper right angle point, imitates three-dimensional 2D The geographical coordinates in the map record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set magnification ratio of other figure layers relative to basic figure layer;Fuzzy proportional coefficient f is set, wherein 0<f<1;
Step 1-4, the map picture for drawing and intercepting other figure layers, the observation visual angle of map picture and basic figure layer map picture Identical, if the magnification ratio of figure layer is Ln, the displaying ratio L of map meets Ln*f in map picture<L<Ln/f;Preserve other figures The geographical coordinates of the map picture of layer, record upper left angle point and upper right angle point;
Wherein, picture refers to display screen, and map picture refers to the map sectional drawing preserved according to given format;
Step 2, according to the upper left corner of basic figure layer map picture, the location of pixels in the upper right corner and the lower left corner and corresponding ground The corresponding relation of coordinate points position determines the plane conversion relation of basic figure layer map picture and geographical coordinates;
The correspondence pass of the coordinate points position in step 3, according to the map the picture upper left corner, upper right corner location of pixels and corresponding ground System determines skew and the magnification ratio of picture;
If map is scaled in step 4, progress picture, step 5 is performed;If carrying out map in picture to translate, step 6 is performed;
When map is scaled in step 5, picture, the lookup and display of new map picture comprise the following steps:
Step 5-1, determine amplification/diminution ratio of the map relative to basic figure layer picture map that is shown in current picture;
Step 5-2, in all map pictures, find magnification ratio be less than picture displaying ratio and include current mouse point where All map pictures of the coordinate of map;
In step 5-3, the map picture obtained from step 5-2 determine magnification ratio maximum lmax, magnification ratio it is minimum Value lmin=lmax*f2, search current picture displaying ratio l and meet lmin<l<Lmax all map pictures;
The geographical coordinates of the central point for the map picture that step 5-4, calculation procedure 5-3 are obtained, compares finding center point ground seat The nearest map picture of the coordinate of map where subject distance current picture mouse point;
Step 5-5, pass through above step, it is determined whether find new map picture, if not finding new map picture, show original place Figure picture;
If finding new map picture, new map picture is recalled, displaying ratio to the current picture for scaling new map picture is shown Ratio, the window display location of moving map picture so that geographical coordinates of the mouse point in the map picture and figure in situ Geographical coordinates in picture is overlapped, and shows new map picture;
When map is translated in step 6, picture, the lookup and display of new map picture comprise the following steps:
Step 6-1, geographical coordinates position corresponding to window center point is judged whether in current map picture, if map picture Suitable new map picture is found again in the map picture of same layer by step 5 out of central point in edge;It is wherein suitable The preferred selection order of new map picture be:
First, selection includes the map picture of current window central point;
Secondly, selection includes the map picture of current mouse point;
Finally, selection picture central point and the immediate map picture of window center point;
Step 6-2, the searching in same figure layer map picture, if new map picture is can not find in same layer map picture, under Continually look for, circulate successively in one layer of map picture, until finding new map picture, show new map picture;
When being recycled to basic figure layer, it is new map picture to determine base map picture;New map picture is recalled, is shown according to current Show ratio and region, adjust displaying ratio and the skew of new map picture, it is ensured that the geographical coordinates of mouse point position is constant, Show new map picture.
2. electronic map tiered management approach according to claim 1, it is characterised in that basic figure layer map in step 2 The plane conversion relation of picture and geographical coordinates is:
If picture pixel coordinate is [x, y], geographical coordinates is [X, Y], and perspective transformation function is F, then:
[x, y]=F ([X, Y])
[X, Y]=FT([x,y])
Wherein FTFor F inverse function.
3. electronic map tiered management approach according to claim 2, it is characterised in that in step 3 skew of picture and Proportionate relationship is:
If the skew of picture is [bx, by], proportionate relationship is s, and the skew of picture and proportionate relationship are:
[x, y]=F ([X, Y]) * s+ [bx, by];
[X, Y]=FT([x,y])/s-[bx,by]。
CN201410534705.1A 2014-10-11 2014-10-11 A kind of electronic map tiered management approach Active CN104346771B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410534705.1A CN104346771B (en) 2014-10-11 2014-10-11 A kind of electronic map tiered management approach
PCT/CN2014/093331 WO2016054859A1 (en) 2014-10-11 2014-12-09 Electronic map hierarchical management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410534705.1A CN104346771B (en) 2014-10-11 2014-10-11 A kind of electronic map tiered management approach

Publications (2)

Publication Number Publication Date
CN104346771A CN104346771A (en) 2015-02-11
CN104346771B true CN104346771B (en) 2017-08-04

Family

ID=52502318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410534705.1A Active CN104346771B (en) 2014-10-11 2014-10-11 A kind of electronic map tiered management approach

Country Status (2)

Country Link
CN (1) CN104346771B (en)
WO (1) WO2016054859A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204448B (en) * 2016-07-04 2019-09-13 北京空间飞行器总体设计部 The stepless zooming display methods and display system of the big figure of spacecraft stratification power supply and distribution
CN109829090A (en) * 2018-11-30 2019-05-31 青岛禧泰房地产数据有限公司 A kind of data display method using more maps
CN110473273B (en) * 2019-07-24 2023-05-09 广州视源电子科技股份有限公司 Vector graph drawing method and device, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436669A (en) * 2011-10-13 2012-05-02 中国民用航空总局第二研究所 Two-dimensional vector map drawing method
CN103137009A (en) * 2011-11-30 2013-06-05 上海博泰悦臻电子设备制造有限公司 Display method and device for map and vehicle-mounted system
CN103927169A (en) * 2014-04-10 2014-07-16 南京信息工程大学 Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298812B2 (en) * 2006-03-31 2007-11-20 General Electric Company Image-based material decomposition
US20100122208A1 (en) * 2007-08-07 2010-05-13 Adam Herr Panoramic Mapping Display
CN102346923B (en) * 2010-07-30 2013-10-23 中国科学院遥感应用研究所 Data grading organization method based on longitude and latitude grid
CN102789361B (en) * 2012-06-29 2014-08-06 哈尔滨工程大学 Display style setting method of vector electronic map information
CN103617296A (en) * 2013-12-18 2014-03-05 中国电子科技集团公司第五十四研究所 Optimized display method of place name annotation image layer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436669A (en) * 2011-10-13 2012-05-02 中国民用航空总局第二研究所 Two-dimensional vector map drawing method
CN103137009A (en) * 2011-11-30 2013-06-05 上海博泰悦臻电子设备制造有限公司 Display method and device for map and vehicle-mounted system
CN103927169A (en) * 2014-04-10 2014-07-16 南京信息工程大学 Method for realizing scaling of electronic map drawn by GDI (graphic device interface)+

Also Published As

Publication number Publication date
WO2016054859A1 (en) 2016-04-14
CN104346771A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN109934914B (en) Embedded city design scene simulation method and system
US10878599B2 (en) Soft-occlusion for computer graphics rendering
EP2409291A1 (en) 3d building generalization for digital map applications
CN102722349B (en) A kind of image processing method based on Geographic Information System and system
Liang et al. Embedding user-generated content into oblique airborne photogrammetry-based 3D city model
CN110516015B (en) Method for manufacturing geographical PDF map based on map graphic data and DLG
CN108765567A (en) A kind of system for building urban design digitlization sand table
CN103606188A (en) Geographical information on-demand acquisition method based on image point cloud
KR101591427B1 (en) Method for Adaptive LOD Rendering in 3-D Terrain Visualization System
Brooks et al. Multilayer hybrid visualizations to support 3D GIS
CN106383828A (en) Drawing method and electronic equipment
CN104346771B (en) A kind of electronic map tiered management approach
CN110689598A (en) Three-dimensional modeling method and system for multilayer road
CN113393554A (en) Map generation method and map generation device
She et al. An efficient method for rendering linear symbols on 3D terrain using a shader language
CN115859414A (en) Cross-coordinate system use method for global scale geographic information base map
JP2021033899A (en) Composite image generation device, composite image generation program and composite image generation method
CN105474268A (en) Image display system
CN114140593B (en) Digital earth and panorama fusion display method and device
CN115482152A (en) Grid map import design software method and device and computer equipment
CN114996374A (en) Online data visualization implementation method, system, device and medium
CN115409962A (en) Method for constructing coordinate system in illusion engine, electronic equipment and storage medium
Glander et al. Concepts for automatic generalization of virtual 3D landscape models
CN102402531A (en) Method and system for processing geographic information symbol
CN112445951A (en) Ocean data visualization method compatible with various maps and capable of being switched quickly and flexibly

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