CN102402531A - Method and system for processing geographic information symbol - Google Patents
Method and system for processing geographic information symbol Download PDFInfo
- Publication number
- CN102402531A CN102402531A CN201010280978XA CN201010280978A CN102402531A CN 102402531 A CN102402531 A CN 102402531A CN 201010280978X A CN201010280978X A CN 201010280978XA CN 201010280978 A CN201010280978 A CN 201010280978A CN 102402531 A CN102402531 A CN 102402531A
- Authority
- CN
- China
- Prior art keywords
- information symbol
- geography information
- symbol
- processing method
- pel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a system for processing a geographic information symbol. The method for processing the geographic information symbol comprises the following steps of: adding a graphic element of the geographic information symbol, and editing the graphic element according to a preset style and related attributes to form the geographic information symbol; performing normalized parameter setting on the geographic information symbol; and storing the geographic information symbol, and loading in an electronic map. By the method and the system for processing the geographic information symbol, a management mechanism is updated by a unified symbol library, a set of perfect symbol making process is formed, and the editing and operating functions of different types of symbols such as vectors, grids, Truetype and the like are provided.
Description
Technical field
The present invention relates to a kind of GIS technology, relate in particular to a kind of geography information symbol processing method and system.
Background technology
In each GIS platform software; All each have its various colors notation; Therefore cause the ways of presentation of map datum also different; And alert platform construction and information with GIS-Geographic Information System represents, and needs to form unification, normalized symbolic library administrative mechanism and application model, and the elimination notation is in the diversity that represents and use, limitation.
And existing symbolic library tools in the various GIS platforms can not meet alert symbolic library construction criteria with GIS-Geographic Information System fully.Alert platform construction and information with GIS-Geographic Information System represents, and needs to form unification, normalized symbolic library administrative mechanism and application model, to eliminate symbolic library in the diversity that represents and use, limitation.
The defective that exists in the prior art mainly contains following 2 points:
1, the original symbolic library of dissimilar GIS platforms; All have its independent style and personalized application pattern; Cause the map display effect to have many difference, and can't realize that the cross-platform unification of symbolic library calls, do not meet and can not satisfy alert service application needs with geography information;
2, simultaneously, the stand-alone development of each symbolic library is safeguarded, can produce more repetitive operation, brings unnecessary cost allowance and difficulty for the construction and the application of whole flat.
Summary of the invention
The objective of the invention is to, a kind of geography information symbol processing method and system are provided, adopt.
For realizing above-mentioned purpose, according to an aspect of the present invention, a kind of geography information symbol processing method is provided, comprising:
Add the pel of geography information symbol, said pel is edited, form the geography information symbol according to preset pattern and association attributes;
Said geography information symbol is carried out the normalized parameter setting;
Preserve said geography information symbol, and in electronic chart, load.
Preferably, this method also comprises: adopt " CMYK " four looks that the color of said geography information symbol is provided with.
Wherein, said geography information symbol comprises: point symbol, line symbol and face symbol.
Wherein, the operation of said geography information symbol being carried out the normalized parameter setting specifically comprises: the following Column Properties of designated symbols: classifying and numbering, symbol number or symbol ID, variable live width, variable color, default height, default width and/or designation.
Preferably, this method also comprises: quote the corresponding geographical information symbol according to said symbolic coding or symbol ID.
Preferably, this method also comprised before the pel that adds the geography information symbol: the size and the locating point position of specifying the symbol frame of said geography information symbol.
Preferably, this method also comprises: through api interface, show same geography information symbol for different GIS platforms.
For realizing above-mentioned purpose, according to another aspect of the present invention, a kind of geography information symbol manipulation system is provided, comprising:
Editing device is used to add the pel of geography information symbol, according to preset pattern and association attributes said pel is edited, and forms the geography information symbol;
Setting device is used for said geography information symbol is carried out the normalized parameter setting;
Memory storage is used to store said geography information symbol;
Charger is used for loading said geography information symbol at electronic chart.
Preferably, this system also comprises: quote device, be used for quoting the corresponding geographical information symbol according to said symbolic coding or symbol ID.
Preferably, this system also comprises: api interface is used for showing same geography information symbol to different GIS platforms.
Geography information symbol processing method of the present invention and system upgrade administrative mechanism through adopting unified symbolic library, have formed the comparatively perfect symbol making flow process of a cover, and editor and operating function to dissimilar symbols such as vector, grid, Truetype are provided.In addition, unified symbol display api interface is provided externally, to be implemented in the technique effect of map demonstration basically identical under the different GIS platforms such as ArcGIS, Supermap, MapGIS.Symbolic library construction and the diversity differentiation that represents have been avoided; Avoided the overlapping development and the maintenance of symbol making under the different GIS platforms and symbolic library management tool, reduced alert construction cost, improved work efficiency with geographical information platform.
Description of drawings
Fig. 1 is the process flow diagram of geography information symbol processing method embodiment of the present invention;
Fig. 2 is the process flow diagram of another embodiment of geography information symbol processing method of the present invention;
Fig. 3 is the synoptic diagram that normalized parameter is provided with among the geography information symbol processing method embodiment of the present invention;
Fig. 4 is the process flow diagram of geography information symbol plotting of the present invention;
Fig. 5 is the structural drawing of geography information symbol manipulation system embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is elaborated.
In this programme, map symbol according to its expressed different terrestrial object information types, is divided into point symbol, line symbol, three types of Classification Managements (the suffix name with different is distinguished) of carrying out symbolic library of face symbol.The user can create and define a new symbol in the symbol making instrument, also can edit the pattern and the association attributes of existing symbol.Simultaneously, the map color is carried out unified management with the form of color libraries, adopt the color management mode of " CMYK " four looks, and the editting function to special look is provided, can satisfy the specific demand that some maps are published the user like this.
Method embodiment
As shown in Figure 1, geography information symbol processing method embodiment of the present invention comprises:
Step 108 is preserved said geography information symbol, and in electronic chart, is loaded.
The geography information symbol processing method of present embodiment upgrades administrative mechanism through adopting unified symbolic library, has formed the comparatively perfect symbol making flow process of a cover, and editor and operating function to dissimilar symbols such as vector, grid, Truetype are provided.
Create after the geography information symbolic library, in the upper layer application system, can use notation through following mode:
1, loads the point, line, surface symbolic library under the assigned catalogue through interface
2, enumerate all symbols below the point, line, surface symbolic library through interface
3, select the interface through the interface interchange symbol, show all symbols in the current sign storehouse, and allow the user to select some symbols, and obtain the classification coding and the ID of selected symbol through mouse.
4, can directly quote these symbols through interface, obtain more specifying informations of symbol, comprise according to the classification coding and the ID of symbol:
The symbol main classes is not encoded, symbol ID, symbol acquiescence height, symbol acquiescence width, symbol level interval, symbol vertical interval, the symbol anglec of rotation, face sideline width, symbol color numbering, designation, fill color, face sideline Vehicle;
5, can point of invocation symbol plotting interface, directly import point coordinate into, graphical pointv symbol on the map platform
6, can call line symbol plotting interface, directly import the line coordinates string into, Plotted line symbol along the line on the map platform
7, can call face symbol plotting interface, directly import face boundary coordinate string into, on the map platform with face symbol fill area
As shown in Figure 2, another embodiment of geography information symbol processing method of the present invention specifically comprises:
The following Column Properties of designated symbols: classifying and numbering, symbol number or symbol ID, variable live width, variable color, default height, default width and/or designation;
In order to be provided at the ability of drafting symbol on the different map platforms, need definition one cover abstraction interface, be used to realize the bi-directional conversion ability between map reference and the screen coordinate.The abstraction interface function that the interface class CEzTsClientImpl that client need realize comprises is following:
Map reference converts the screen coordinate abstract function into:
virtual?void?MapToClient(double?mapx,double?mapy,int*clientX,int*clientY)=0;
Screen coordinate converts the map reference abstract function into:
virtual?void?ClientToMap(int?clientX,int?clientY,double*mapx,double*mapy)=0;
Wherein:
Mapx:X direction map reference
Mapy:Y direction map reference
ClientX:X direction screen coordinate
ClientY:Y direction screen coordinate
As shown in Figure 4, the symbol plotting internal mechanism is described below:
1, initialization, the interface class CEzTsClientImpl (this type of has comprised the bi-directional conversion information between map reference and the screen coordinate) that client is realized imports in the symbol plotting function;
2, client is imported symbol plotting information such as symbol coordinate, symbol attribute into, as follows:
The rendering parameter of point symbol:
MainID: symbol chief editor number
SubID: the auxilliary numbering of symbol
Dx, dy: symap coordinate position
Color: symbol RGB color value
Angle: the symbol anglec of rotation is a unit with the degree
DLineWidth: character boundary live width
Width, height: symbol is wide, high
The rendering parameter of line symbol:
MainID: symbol chief editor number
SubID: the auxilliary numbering of symbol
Ptnum: symbolic point number
PCoords: the some array of forming the line symbol
Color: symbol RGB color value
DLineWidth: character boundary live width
Width, height: symbol is wide, high
The rendering parameter of face symbol:
MainID: symbol chief editor number
SubID: the auxilliary numbering of symbol
Loopnum: ring number
PCoords: form polygonal some array
LpPolyCounts: the some number of each ring
The color:RGB color value
Fillclr: Fill Color, if then not carrying out color, negative do not fill
Lc: character boundary color
Lw: character boundary live width
Width, height: symbol is wide, high
Gapx, gapy: character spacing
Bdrawline: whether draw the face border
3, in the symbol plotting interface; Map reference and the screen coordinate transitional information of the interface class CEzTsClientImpl that realizes according to client carry out coordinate conversion; Employing picture handle to the corresponding coordinate of screen, gives full expression to other attribute information of symbol with symbol plotting simultaneously.
4, client screen shows the symbol of drawing.
System embodiment
As shown in Figure 5, geography information symbol manipulation system embodiment of the present invention comprises:
Editing device 52 is used for said pel being edited according to preset pattern and association attributes adding the pel of geography information symbol, forms the geography information symbol;
Setting device 54 is used for said geography information symbol is carried out the normalized parameter setting;
The concrete production method of geography information symbol specifies in said method embodiment, repeats no more at this.
Preferably, present embodiment also comprises: api interface is used for showing same geography information symbol to different GIS platforms.Unified symbol display api interface externally is provided, to be implemented in the technique effect of map demonstration basically identical under the different GIS platforms such as ArcGIS, Supermap, MapGIS.
Present embodiment through adopting unified symbolic library administrative mechanism, has formed the comparatively perfect symbol making flow process of a cover, and editor and operating function to dissimilar symbols such as vector, grid, Truetype are provided.In addition, unified symbol display api interface is provided externally, to be implemented in the technique effect of map demonstration basically identical under the different GIS platforms such as ArcGIS, Supermap, MapGIS.Symbolic library construction and the diversity differentiation that represents have been avoided; Avoided the overlapping development and the maintenance of symbol making under the different GIS platforms and symbolic library management tool, reduced alert construction cost, improved work efficiency with geographical information platform.
What should explain is: above embodiment is only unrestricted in order to explanation the present invention, and the present invention also is not limited in above-mentioned giving an example, and all do not break away from the technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in the claim scope of the present invention.
Claims (10)
1. a geography information symbol processing method is characterized in that, comprising:
Add the pel of geography information symbol, said pel is edited, form the geography information symbol according to preset pattern and association attributes;
Said geography information symbol is carried out the normalized parameter setting;
Preserve said geography information symbol, and in electronic chart, load.
2. geography information symbol processing method according to claim 1 is characterized in that, also comprises:
Adopt " CMYK " four looks that the color of said geography information symbol is provided with.
3. geography information symbol processing method according to claim 1 is characterized in that,
Said geography information symbol comprises: point symbol, line symbol and face symbol.
4. geography information symbol processing method according to claim 1 is characterized in that, said geography information symbol association attributes comprises:
Classifying and numbering, symbol number or symbol ID, variable live width, variable color, default height, default width and/or designation.
5. geography information symbol processing method according to claim 4 is characterized in that, also comprises:
Quote the corresponding geographical information symbol according to said symbolic coding or symbol ID.
6. geography information symbol processing method according to claim 1 is characterized in that, the operation that said geography information symbol is carried out the normalized parameter setting comprises:
The ratio of said geography information symbol is carried out the conversion adjustment.
7. geography information symbol processing method according to claim 1 is characterized in that, also comprises before the pel of said interpolation geography information symbol:
Specify the size and the locating point position of the symbol frame of said geography information symbol.
8. geography information symbol processing method according to claim 1 is characterized in that, also comprises:
Through api interface, show same geography information symbol for different GIS platforms.
9. a geography information symbol manipulation system is characterized in that, comprising:
Editing device is used to add the pel of geography information symbol, according to preset pattern and association attributes said pel is edited, and forms the geography information symbol;
Setting device is used for said geography information symbol is carried out the normalized parameter setting;
Memory storage is used to store said geography information symbol;
Charger is used for loading said geography information symbol at electronic chart.
10. geography information symbol manipulation system according to claim 8 is characterized in that, also comprises:
Api interface is used for showing same geography information symbol to different GIS platforms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010280978XA CN102402531A (en) | 2010-09-13 | 2010-09-13 | Method and system for processing geographic information symbol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010280978XA CN102402531A (en) | 2010-09-13 | 2010-09-13 | Method and system for processing geographic information symbol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102402531A true CN102402531A (en) | 2012-04-04 |
Family
ID=45884746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010280978XA Pending CN102402531A (en) | 2010-09-13 | 2010-09-13 | Method and system for processing geographic information symbol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102402531A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016004738A1 (en) * | 2014-07-07 | 2016-01-14 | 百度在线网络技术(北京)有限公司 | Method, apparatus and device for presenting electronic map, and nonvolatile computer storage medium |
CN108665516A (en) * | 2018-04-20 | 2018-10-16 | 中国人民解放军92859部队 | The conversion method of S-52 lines symbol and SVG symbols in electronic nautical chart |
CN109783088A (en) * | 2018-12-29 | 2019-05-21 | 北京辰安科技股份有限公司 | Based on customization emergency maps sign webgis display methods and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739498A (en) * | 2009-12-10 | 2010-06-16 | 西安煤航信息产业有限公司 | Method for accurately designing and building ArcGIS symbol library |
-
2010
- 2010-09-13 CN CN201010280978XA patent/CN102402531A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739498A (en) * | 2009-12-10 | 2010-06-16 | 西安煤航信息产业有限公司 | Method for accurately designing and building ArcGIS symbol library |
Non-Patent Citations (1)
Title |
---|
车森,等: "高精度地图符号编辑器的设计与实现", 《测绘科学技术学报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016004738A1 (en) * | 2014-07-07 | 2016-01-14 | 百度在线网络技术(北京)有限公司 | Method, apparatus and device for presenting electronic map, and nonvolatile computer storage medium |
CN108665516A (en) * | 2018-04-20 | 2018-10-16 | 中国人民解放军92859部队 | The conversion method of S-52 lines symbol and SVG symbols in electronic nautical chart |
CN109783088A (en) * | 2018-12-29 | 2019-05-21 | 北京辰安科技股份有限公司 | Based on customization emergency maps sign webgis display methods and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7095418B2 (en) | Apparatus and methods for texture mapping | |
JP5336067B2 (en) | Method and apparatus for processing graphics | |
US7999805B2 (en) | System and method of converting edge record based graphics to polygon based graphics | |
CN107423445A (en) | A kind of map data processing method, device and storage medium | |
CN107145655B (en) | Method for establishing power grid equipment vector primitive symbolic model containing topological information | |
US20120189221A1 (en) | Image File Generation Device, Image Processing Device, Image File Generation Method, And Image Processing Method. | |
CN101894386B (en) | Method and system for intuitively displaying interlayer relation of graphic element in multi-level model | |
CN102157001A (en) | Method and system for drawing electronic map | |
CN102789361B (en) | Display style setting method of vector electronic map information | |
CN110335354B (en) | Modularized 3D modeling method and device | |
CN106251322B (en) | Image processing equipment, image processing method and image processing system | |
US8427502B2 (en) | Context-aware non-linear graphic editing | |
CN110851558A (en) | Universal loading method for map of coordinate system in earth | |
CN103903507A (en) | Map road rendering method and system | |
CN102402531A (en) | Method and system for processing geographic information symbol | |
CN107729511B (en) | Customizable geographic information data rectangular framing method | |
CN103207875A (en) | Map data processing method and device | |
CN104346771B (en) | A kind of electronic map tiered management approach | |
CN112215739A (en) | Orthographic projection image file processing method and device for AutoCAD and storage medium | |
CN105474271A (en) | Three-dimensional map display system | |
CN115964455A (en) | Data visualization processing method based on MapVGL open source GIS engine | |
AU739231B2 (en) | Display and navigation method for large data files containing graphic elements, and method for compressing data files containing text and graphic or image data | |
JP3352458B2 (en) | Graphic Coloring Method for Graphic Display System | |
CN111260780B (en) | Real-time terrain modification method based on elevation of altitude map | |
CN113269882A (en) | Terrain rendering scheme and system based on virtual texture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120404 |
|
RJ01 | Rejection of invention patent application after publication |