CN104346771A - Electronic map layering management method - Google Patents

Electronic map layering management method Download PDF

Info

Publication number
CN104346771A
CN104346771A CN201410534705.1A CN201410534705A CN104346771A CN 104346771 A CN104346771 A CN 104346771A CN 201410534705 A CN201410534705 A CN 201410534705A CN 104346771 A CN104346771 A CN 104346771A
Authority
CN
China
Prior art keywords
picture
map
map picture
ground coordinate
layer
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
CN201410534705.1A
Other languages
Chinese (zh)
Other versions
CN104346771B (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)
  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an electronic map layering management method. The method comprises the steps of firstly establishing an electronic map layering model; determining the plane transposition relationship between basic layer map pictures and ground and the offset and proportional relation between frames; when the frames are scaled and translated, respectively finding and displaying the pictures of a new map. By adopting a fuzzy layering management algorithm, parts of the map can be conveniently modified and replaced without special maintenance management tools; the method is suitable for applications of small electronic maps; when some map layer only has local frames to display the contents, the local frames are stored without storing the whole frame; the map creating and maintaining workload is greatly reduced.

Description

A kind of electronic chart tiered management approach
Technical field
The present invention relates to a kind of electronic chart, particularly a kind of electronic chart tiered management approach.
Background technology
Electronic chart is applied in a lot of management system, draws applying electronic map, can with some vector plotting software during drawing, and during Layering manifestation, every layer has different details.
But the nonopen data memory format that some mapping softwares have oneself exclusive, and do not provide resolver, the graphic file of the non-vectored can preserving other general formats is provided only.Commercial mapping software is when depositing figure, due to can not set and display ratio, automatically can not divide block to carry out depositing figure, need to carry out depositing figure by hand, the scope of every width figure and ratio are difficult to accurately control, and the splicing difficulty and the workload that want to realize when amplifying full figure are very large, usually need the special drawing tool software of exploitation and maintenance management software, and the development amount of this type of instrument and maintenance software is also often greater than use software, considerably increase construction cycle and cost.
When certain layer only has the content of partial picture needs display, need to preserve complete picture, the workload of map building and maintenance is very large.
Summary of the invention
The object of the present invention is to provide a kind of part amendment being convenient to map and the electronic chart tiered management approach changed.
The technical scheme realizing the object of the invention is: a kind of electronic chart tiered management approach, comprises the following steps:
Step 1, set up electronic chart Layering manifestation model:
Step 1-1, the N number of layer of the content setting shown as required, N is natural number;
Step 1-2, set basic layer, the displaying ratio setting basic layer is L1, preserve basic layer map picture, the ground coordinate of record map picture angle point, the ground coordinate of one-dimensional plane map record upper left angle point and upper right angle point, the ground coordinate in the imitative three-dimensional 2D map record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set the magnification ratio of other layer relative to basic layer; Setting fuzzy proportional coefficient f, wherein 0 < f < 1;
The map picture of step 1-4, drafting and other layer of intercepting, the observation visual angle of map picture is identical with basic layer map picture, if the magnification ratio of layer is Ln, in map picture, the displaying ratio L of map meets Ln*f < L < Ln/f; Preserve the map picture of other layer, the ground coordinate of 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, the upper left corner according to basic layer map picture, the upper right corner and the location of pixels in the lower left corner and the corresponding relation of corresponding ground coordinate point position determine the plane conversion relation of basic layer map picture and ground coordinate;
The skew of the corresponding relation determination picture of the coordinate points position on step 3, according to the map the picture upper left corner and upper right corner location of pixels and corresponding ground and magnification ratio;
If step 4 carries out map convergent-divergent in picture, perform step 5; If carry out map translation in picture, perform step 6;
In step 5, picture during map convergent-divergent, new map picture search and display comprises the following steps:
Step 5 ?1, determine the map that shows in the current picture zoom in/out ratio relative to basic layer picture map;
Step 5 ?2, in all map pictures, find magnification ratio be less than picture displaying ratio and comprise all map pictures of the coordinate of current mouse point place map;
Step 5 ?3, from step 5 ?determine the maximum value lmax of magnification ratio, the minimal value lmin=lmax*f of magnification ratio 2 map pictures obtained 2, search all map pictures that current picture displaying ratio l meets lmin < l < lmax;
The ground coordinate of the central point of the map picture that step 5 ?4, calculation procedure 5 ?3 obtain, compares the map picture that the coordinate of finding center point ground coordinate distance current picture mouse point place map is nearest;
Step 5-5, by above step, determine whether to find new map picture, if do not find new map picture, show former map picture;
If find new map picture, then recall new map picture, the displaying ratio of the new map picture of convergent-divergent is to current picture displaying ratio, the window display position of moving map picture, the ground coordinate of mouse point in this map picture is overlapped with the ground coordinate in former map picture, shows new map picture;
In step 6, picture during map translation, new map picture search and display comprises the following steps:
Step 6 ?1, judge ground coordinate position corresponding to window center point whether in current map picture, if map picture edge has shifted out central point, in the map picture of same layer, again found suitable new map picture by step 5;
Step 6 ?2, to find in same layer map picture, if can not find new map picture in same layer map picture, continue to find in lower one deck map picture, circulate successively, until find new map picture, show new map picture;
When being circulated to basic layer, determine that base map picture is new map picture; Recall new map picture, according to current displaying ratio and region, adjust the displaying ratio of new map picture and offset, ensure that the ground coordinate of mouse point position is constant, show new map picture.
Compared with prior art, its remarkable advantage is in the present invention: (1) the present invention adopts fuzzy layered management algorithm, is convenient to the part amendment of map and changes, not needing special maintenance management instrument, be applicable to the application of Small-size electronic map; (2) the present invention only needs to preserve partial picture, does not need to preserve complete picture, greatly reduces map building and maintenance workload; (3) drawing instrument of multiple commercial drawing instrument application software the most can be used, raise the efficiency, Speeding up development progress.
Below in conjunction with accompanying drawing, the present invention will be further described.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of electronic chart tiered management approach of the present invention.
Embodiment
Composition graphs 1, a kind of electronic chart tiered management approach, comprises the following steps:
Step 1, set up electronic chart Layering manifestation model:
Step 1-1, the N number of layer of the content setting shown as required, N is natural number;
Step 1-2, set basic layer, the displaying ratio setting basic layer is L1, preserve basic layer map picture, the ground coordinate of record map picture angle point, the ground coordinate of one-dimensional plane map record upper left angle point and upper right angle point, the ground coordinate in the imitative three-dimensional 2D map record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set the magnification ratio of other layer relative to basic layer; Setting fuzzy proportional coefficient f, wherein 0 < f < 1;
The map picture of step 1-4, drafting and other layer of intercepting, the observation visual angle of map picture is identical with basic layer map picture, if the magnification ratio of layer is Ln, in map picture, the displaying ratio L of map meets Ln*f < L < Ln/f; Preserve the map picture of other layer, the ground coordinate of 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, the upper left corner according to basic layer map picture, the upper right corner and the location of pixels in the lower left corner and the corresponding relation of corresponding ground coordinate point position determine the plane conversion relation of basic layer map picture and ground coordinate; The plane conversion of basic layer map picture and ground coordinate is closed and is:
If picture pixel coordinate is [x, y], ground coordinate is [X, Y], and perspective transformation function is F (see the glFrustum () of " OpenGL ", gluPerspective () and glOrtho ()), then:
[x,y]=F([X,Y])
[X,Y]=F T([x,y])
Wherein F tfor the inverse function of F.
The skew of the corresponding relation determination picture of the coordinate points position on step 3, according to the map the picture upper left corner and upper right corner location of pixels and corresponding ground and magnification ratio; 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]=F T([x,y])/s-[bx,by];
If step 4 carries out map convergent-divergent in picture, perform step 5; If carry out map translation in picture, perform step 6;
In step 5, picture during map convergent-divergent, new map picture search and display comprises the following steps:
Step 5 ?1, determine the map that shows in the current picture zoom in/out ratio relative to basic layer picture map;
Step 5 ?2, in all map pictures, find magnification ratio be less than picture displaying ratio and comprise all map pictures of the coordinate of current mouse point place map;
Step 5 ?3, from step 5 ?determine the maximum value lmax of magnification ratio, the minimal value lmin=lmax*f of magnification ratio 2 map pictures obtained 2, search all map pictures that current picture displaying ratio l meets lmin < l < lmax;
The ground coordinate of the central point of the map picture that step 5 ?4, calculation procedure 5 ?3 obtain, compares the map picture that the coordinate of finding center point ground coordinate distance current picture mouse point place map is nearest;
Step 5-5, by above step, determine whether to find new map picture, if do not find new map picture, show former map picture;
If find new map picture, then recall new map picture, the displaying ratio of the new map picture of convergent-divergent is to current picture displaying ratio, the window display position of moving map picture, the ground coordinate of mouse point in this map picture is overlapped with the ground coordinate in former map picture, shows new map picture;
In step 6, picture during map translation, new map picture search and display comprises the following steps:
Step 6-1, judge ground coordinate position corresponding to window center point whether in current map picture, if map picture edge has shifted out central point, in the map picture of same layer, again find suitable new map picture by step 4; The preferred selection order of suitable new map picture is:
First, the map picture comprising current window central point is selected;
Secondly, the map picture comprising current mouse point is selected;
Finally, picture central point and the immediate map picture of window center point is selected;
Step 6 ?2, to find in same layer map picture, if can not find new map picture in same layer map picture, continue to find in lower one deck map picture, circulate successively, until find new map picture, show new map picture;
When being circulated to basic layer, determine that base map picture is new map picture; Recall new map picture, according to current displaying ratio and region, adjust the displaying ratio of new map picture and offset, ensure that the ground coordinate of mouse point position is constant, show new map picture.
In the present invention, fuzzy proportional coefficient, layer magnification ratio, displaying ratio set all as the case may be, and are all greater than 0.
The present invention adopts fuzzy layered management algorithm, is convenient to the part amendment of map and changes, not needing special maintenance management instrument, be applicable to the application of Small-size electronic map; Only have partial picture to have to certain layer simultaneously and need displaying contents, as long as preserve partial picture, do not need to preserve complete picture, greatly reduce map building and maintenance workload.

Claims (4)

1. an electronic chart tiered management approach, is characterized in that, comprises the following steps:
Step 1, set up electronic chart Layering manifestation model:
Step 1-1, the N number of layer of the content setting shown as required, N is natural number;
Step 1-2, set basic layer, the displaying ratio setting basic layer is L1, preserve basic layer map picture, the ground coordinate of record map picture angle point, the ground coordinate of one-dimensional plane map record upper left angle point and upper right angle point, the ground coordinate in the imitative three-dimensional 2D map record upper left corner, the upper right corner and the lower left corner;
Step 1-3, set the magnification ratio of other layer relative to basic layer; Setting fuzzy proportional coefficient f, wherein 0 < f < 1;
The map picture of step 1-4, drafting and other layer of intercepting, the observation visual angle of map picture is identical with basic layer map picture, if the magnification ratio of layer is Ln, in map picture, the displaying ratio L of map meets Ln*f < L < Ln/f; Preserve the map picture of other layer, the ground coordinate of 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, the upper left corner according to basic layer map picture, the upper right corner and the location of pixels in the lower left corner and the corresponding relation of corresponding ground coordinate point position determine the plane conversion relation of basic layer map picture and ground coordinate;
The skew of the corresponding relation determination picture of the coordinate points position on step 3, according to the map the picture upper left corner, upper right corner location of pixels and corresponding ground and magnification ratio;
If step 4 carries out map convergent-divergent in picture, perform step 5; If carry out map translation in picture, perform step 6;
In step 5, picture during map convergent-divergent, new map picture search and display comprises the following steps:
Step 5 ?1, determine the map that shows in the current picture zoom in/out ratio relative to basic layer picture map;
Step 5 ?2, in all map pictures, find magnification ratio be less than picture displaying ratio and comprise all map pictures of the coordinate of current mouse point place map;
Step 5 ?3, from step 5 ?determine the maximum value lmax of magnification ratio, the minimal value lmin=lmax*f of magnification ratio 2 map pictures obtained 2, search all map pictures that current picture displaying ratio l meets lmin < l < lmax;
The ground coordinate of the central point of the map picture that step 5 ?4, calculation procedure 5 ?3 obtain, compares the map picture that the coordinate of finding center point ground coordinate distance current picture mouse point place map is nearest;
Step 5-5, by above step, determine whether to find new map picture, if do not find new map picture, show former map picture;
If find new map picture, then recall new map picture, the displaying ratio of the new map picture of convergent-divergent is to current picture displaying ratio, the window display position of moving map picture, the ground coordinate of mouse point in this map picture is overlapped with the ground coordinate in former map picture, shows new map picture;
In step 6, picture during map translation, new map picture search and display comprises the following steps:
Step 6 ?1, judge ground coordinate position corresponding to window center point whether in current map picture, if map picture edge has shifted out central point, in the map picture of same layer, again found suitable new map picture by step 5;
Step 6 ?2, to find in same layer map picture, if can not find new map picture in same layer map picture, continue to find in lower one deck map picture, circulate successively, until find new map picture, show new map picture;
When being circulated to basic layer, determine that base map picture is new map picture; Recall new map picture, according to current displaying ratio and region, adjust the displaying ratio of new map picture and offset, ensure that the ground coordinate of mouse point position is constant, show new map picture.
2. electronic chart tiered management approach according to claim 1, is characterized in that, in step 2, the plane conversion of basic layer map picture and ground coordinate is closed and is:
If picture pixel coordinate is [x, y], ground coordinate is [X, Y], and perspective transformation function is F, then:
[x,y]=F([X,Y])
[X,Y]=F T([x,y])
Wherein F tfor the inverse function of F.
3. electronic chart tiered management approach according to claim 2, is characterized in that, in step 3, 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]=F T([x,y])/s-[bx,by]。
4. electronic chart tiered management approach according to claim 1, is characterized in that, the preferred selection order of new map picture suitable in step 6-1 is:
First, the map picture comprising current window central point is selected;
Secondly, the map picture comprising current mouse point is selected;
Finally, picture central point and the immediate map picture of window center point is selected.
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 true CN104346771A (en) 2015-02-11
CN104346771B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204448A (en) * 2016-07-04 2016-12-07 北京空间飞行器总体设计部 Spacecraft stratification supplies stepless zooming display packing and the display system of the big figure of distribution
CN109829090A (en) * 2018-11-30 2019-05-31 青岛禧泰房地产数据有限公司 A kind of data display method using more maps
CN110473273A (en) * 2019-07-24 2019-11-19 广州视源电子科技股份有限公司 Method for drafting, device, storage medium and the terminal of vector graphics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100122208A1 (en) * 2007-08-07 2010-05-13 Adam Herr Panoramic Mapping Display
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 (4)

* 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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100122208A1 (en) * 2007-08-07 2010-05-13 Adam Herr Panoramic Mapping Display
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)+

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204448A (en) * 2016-07-04 2016-12-07 北京空间飞行器总体设计部 Spacecraft stratification supplies stepless zooming display packing and the display system of the big figure of distribution
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
CN110473273A (en) * 2019-07-24 2019-11-19 广州视源电子科技股份有限公司 Method for drafting, device, storage medium and the terminal of vector graphics

Also Published As

Publication number Publication date
WO2016054859A1 (en) 2016-04-14
CN104346771B (en) 2017-08-04

Similar Documents

Publication Publication Date Title
US11222465B2 (en) Embedded urban design scene emulation method and system
US20230053462A1 (en) Image rendering method and apparatus, device, medium, and computer program product
US9275493B2 (en) Rendering vector maps in a geographic information system
US20190087980A1 (en) Diffusion coloring using weighted color points
CN110516015B (en) Method for manufacturing geographical PDF map based on map graphic data and DLG
WO2018205493A1 (en) Graphic drawing method, apparatus and device
WO2020068073A1 (en) Soft-occlusion for computer graphics rendering
Trapp et al. 3D generalization lenses for interactive focus+ context visualization of virtual city models
KR20150124112A (en) Method for Adaptive LOD Rendering in 3-D Terrain Visualization System
CN102722349A (en) Image data processing method and system based on geographic information system (GIS)
CN104346771A (en) Electronic map layering management method
Song et al. Mosaicking UAV orthoimages using bounded Voronoi diagrams and watersheds
US11645793B2 (en) Curve antialiasing based on curve-pixel intersection
Müller Arisona et al. Increasing detail of 3D models through combined photogrammetric and procedural modelling
CN114663324A (en) Fusion display method of BIM (building information modeling) model and GIS (geographic information system) information and related components
CN108830794B (en) Cross-map seamless splicing display method for PDF map of Gaussian projection
CN117274527B (en) Method for constructing three-dimensional visualization model data set of generator equipment
CN103700362B (en) Multi signal window display method and device
CN105474268A (en) Image display system
EP2372659B1 (en) Method and system for rapidly vectorizing image by gradient meshes based on parameterization
Li et al. Fast content-aware resizing of multi-layer information visualization via adaptive triangulation
JPH04149681A (en) Simplified generation system for three-dimensional data from two-dimensional data
JP2000011208A (en) Device and method for image display
CN112445951A (en) Ocean data visualization method compatible with various maps and capable of being switched quickly and flexibly
Wu et al. Editable texture map generation and optimization technique for 3D visualization presentation

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