CN107609049B - High-efficiency GIS map engine generation method - Google Patents

High-efficiency GIS map engine generation method Download PDF

Info

Publication number
CN107609049B
CN107609049B CN201710714504.3A CN201710714504A CN107609049B CN 107609049 B CN107609049 B CN 107609049B CN 201710714504 A CN201710714504 A CN 201710714504A CN 107609049 B CN107609049 B CN 107609049B
Authority
CN
China
Prior art keywords
map
coordinate system
shadow
gridding
range
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
CN201710714504.3A
Other languages
Chinese (zh)
Other versions
CN107609049A (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.)
Guangzhou Yuefeng Hi Tech Co ltd
Original Assignee
Guangzhou Yuefeng Hi Tech 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 Guangzhou Yuefeng Hi Tech Co ltd filed Critical Guangzhou Yuefeng Hi Tech Co ltd
Priority to CN201710714504.3A priority Critical patent/CN107609049B/en
Publication of CN107609049A publication Critical patent/CN107609049A/en
Application granted granted Critical
Publication of CN107609049B publication Critical patent/CN107609049B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a high-efficiency GIS map engine generation method, which comprises the following steps: s1, initializing a base number for conversion between a map coordinate system and a desktop coordinate system; s2, obtaining map data by adopting gridding algorithm index and memory mapping analysis; s3, using a graphic device interface to perform layer superposition and drawing a map; and S4, calculating the shadow by adopting a gridding shadow algorithm to realize automatic avoidance of the label, and then ending. The invention is convenient for users to more clearly and clearly master the specific position information of things and things. If the labels are newly added in the scenic spot, the layer addition can be directly carried out through the GIS engine, and the map updating is realized. The method has the advantages of high speed, simple operation, easy maintenance, low cost and good compatibility.

Description

High-efficiency GIS map engine generation method
Technical Field
The invention relates to a high-efficiency GIS map engine generation method.
Background
The similar products at present comprise a Baidu map API and an ArcGis map engine, the two map engines are the most representative similar products, the Baidu map engine is most widely applied and basically visible in four places on a computer and a mobile phone, but the Baidu provided API depends on a network and cannot be used offline, the speed depends on the network speed, and even the map cannot be opened under the condition of poor network speed; and the service of the slice map is adopted in hundreds of degrees, which occupies storage resources very much.
The ArcGIS engine provides localized and offline services and is mainly applied to government level command center platforms, but the ArcGIS is complex in installation and debugging, high in operation and maintenance difficulty, simple in maintenance and high in requirement on the operation environment of the ArcGIS, high in computer configuration, low in operation speed and large in map amplification and reduction delay.
Disclosure of Invention
The invention aims to overcome the defects and provide a high-efficiency GIS map engine generation method.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a high-efficiency GIS map engine generating method comprises the following steps:
s1, initializing a base number for conversion between a map coordinate system and a desktop coordinate system;
s2, obtaining map data by adopting gridding algorithm index and memory mapping analysis;
s3, using a graphic device interface to perform layer superposition and drawing a map;
and S4, calculating the shadow by adopting a gridding shadow algorithm to realize automatic avoidance of the label, and then ending.
Specifically, in step S2, the process of acquiring the map data includes:
s201, calibrating a desktop coordinate system and acquiring a screen display coordinate range;
s202, converting screen coordinates into a terrestrial coordinate system to display the range of grids;
and S203, rapidly retrieving and loading map big data in a gridding range.
Specifically, in step S3, the map drawing process includes:
dividing the map into a surface map layer, a line map layer and a point map layer, and drawing according to the sequence of surface-line-point.
Specifically, in step S4, the implementation procedure of calculating the shadow by using the gridding shadow algorithm includes:
s401, converting the range of a desktop coordinate system display grid by a terrestrial coordinate system;
s402, expanding grids and increasing shadow areas;
and S403, converting a desktop coordinate system into a terrestrial coordinate system to confirm the coverage range of the gridding shadow.
Further, the realization process of marking automatic avoidance comprises the following steps:
s404, shielding superposition display among map labels in a grid range, wherein the labels are names of map elements;
s405, when the labels conflict, avoidance is automatically identified.
Further, the specific implementation procedure in step S405 is as follows:
when the new mark appears in the gridding shadow range of the existing mark, the new mark is translated in the range of the original position, and the proper position is automatically searched.
MAPINFO adopts data index mode;
the network maps of Baidu, Google, Goodand the like adopt a slicing type.
Compared with the prior art, the invention has the following beneficial effects:
the invention is convenient for users to more clearly and clearly master the specific position information of things and things. If the labels are newly added in the scenic spot, the layer addition can be directly carried out through the GIS engine, and the map updating is realized. The method has the advantages of high speed, simple operation, easy maintenance, low cost and good compatibility.
Drawings
FIG. 1 is a flow chart of the present invention.
FIG. 2 is a flow chart of map data acquisition according to the present invention.
FIG. 3 is a flow chart of the shadow calculation of the present invention.
Detailed Description
The present invention is further illustrated by the following figures and examples, which include, but are not limited to, the following examples.
Examples
As shown in fig. 1-3, a method for generating a high-efficiency GIS map engine includes the steps of:
s1, initializing a base number for conversion between a map coordinate system and a desktop coordinate system;
s2, obtaining map data by adopting gridding algorithm index and memory mapping analysis;
s3, using a graphic device interface to perform layer superposition and drawing a map;
and S4, calculating the shadow by adopting a gridding shadow algorithm to realize automatic avoidance of the label, and then ending.
As shown in fig. 2, in step S2, the flow of acquiring map data is:
s201, calibrating a desktop coordinate system and acquiring a screen display coordinate range;
s202, converting screen coordinates into a terrestrial coordinate system to display the range of grids;
and S203, rapidly retrieving and loading map big data in a gridding range.
In step S3, the map drawing process includes:
the map is divided into a surface map layer, a line map layer and a point map layer, the surface map layer, the line map layer and the point map layer are drawn according to the sequence of surface-line-point to avoid mutual shielding, the surface map layer is divided into regions, water areas, greening and the like, the line map layer is displayed through different colors, the line map layer is divided into high-speed, national roads, provincial roads, railways, county and county roads and the like, the line map layer is displayed through different colors and widths, the point map layer is divided into mansion, catering, schools, villages and the like, the customizable marks are displayed, the layered overlapping drawing is adopted, the access speed, the application and maintenance efficiency of the map are improved, the map display effect can be enriched, the display, the hiding and the table style of the map layer can be flexibly adjusted in the application process, the map is more humanized, corresponding objects can be displayed under different proportions, the map cannot, hiding content that is not needed to be seen.
As shown in fig. 3, in step S4, the process of calculating the shadow by using the gridding shadow algorithm includes:
s401, converting the range of a desktop coordinate system display grid by a terrestrial coordinate system;
s402, expanding grids and increasing shadow areas;
and S403, converting a desktop coordinate system into a terrestrial coordinate system to confirm the coverage range of the gridding shadow.
Further, the realization process of marking automatic avoidance comprises the following steps:
s404, shielding superposition display among map labels in a grid range, wherein the labels are names of map elements, for example, G4 is a high-speed name;
s405, when the labels conflict, avoidance is automatically identified, when a new label appears in the range of the gridded shadow of the existing label, translation is carried out in the range at the original position, and a proper position is automatically searched.
The invention is well implemented in accordance with the above-described embodiments. It should be noted that, based on the above design principle, even if some insubstantial modifications or modifications are made on the basis of the disclosed structure, the adopted technical solution is still the same as the present invention, and therefore, the technical solution is also within the protection scope of the present invention.

Claims (2)

1. A high-efficiency GIS map engine generation method is characterized by comprising the following steps:
s1, initializing a base number for conversion between a map coordinate system and a desktop coordinate system;
s2, obtaining map data by adopting gridding algorithm index and memory mapping analysis;
s3, using a graphic device interface to perform layer superposition and drawing a map;
s4, calculating a shadow by adopting a gridding shadow algorithm to realize automatic avoidance of the label, and then ending;
in step S4, the process of calculating the shadow by using the gridding shadow algorithm includes:
s401, converting the range of a desktop coordinate system display grid by a terrestrial coordinate system;
s402, expanding grids and increasing shadow areas;
s403, converting a desktop coordinate system into a terrestrial coordinate system to confirm the coverage range of the gridding shadow;
the realization process of marking automatic avoidance comprises the following steps:
s404, shielding superposition display among map labels in a grid range, wherein the labels are names of map elements;
s405, when the labels conflict, automatic identification and avoidance are carried out;
in step S2, the process of acquiring map data includes:
s201, calibrating a desktop coordinate system and acquiring a screen display coordinate range;
s202, converting screen coordinates into a terrestrial coordinate system to display the range of grids;
s203, rapidly retrieving and loading map big data in a gridding range;
in step S3, the map drawing process includes:
dividing the map into a surface map layer, a line map layer and a point map layer, and drawing according to the sequence of surface-line-point.
2. The method for generating the GIS map engine with high efficiency as claimed in claim 1, wherein the specific implementation procedure in the step S405 is as follows:
when the new mark appears in the gridding shadow range of the existing mark, the new mark is translated in the range of the original position, and the proper position is automatically searched.
CN201710714504.3A 2017-08-18 2017-08-18 High-efficiency GIS map engine generation method Active CN107609049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710714504.3A CN107609049B (en) 2017-08-18 2017-08-18 High-efficiency GIS map engine generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710714504.3A CN107609049B (en) 2017-08-18 2017-08-18 High-efficiency GIS map engine generation method

Publications (2)

Publication Number Publication Date
CN107609049A CN107609049A (en) 2018-01-19
CN107609049B true CN107609049B (en) 2020-12-01

Family

ID=61065089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710714504.3A Active CN107609049B (en) 2017-08-18 2017-08-18 High-efficiency GIS map engine generation method

Country Status (1)

Country Link
CN (1) CN107609049B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492007A (en) * 2018-11-09 2019-03-19 南京天辰礼达电子科技有限公司 A kind of compacting construction quality fining picture Fast Generation
CN109701271A (en) * 2018-12-24 2019-05-03 网易(杭州)网络有限公司 Show the methods, devices and systems of icon
CN109977190B (en) * 2019-04-01 2021-03-12 中国测绘科学研究院 Large-scale vector map data-oriented area query processing method and device
CN110049499A (en) * 2019-04-12 2019-07-23 杭州海兴泽科信息技术有限公司 Grid partition method based on base station radio signal cover
CN110992813B (en) * 2019-12-25 2021-07-09 江苏徐工工程机械研究院有限公司 Map creation method and system for unmanned surface mine system
CN111080749B (en) * 2019-12-31 2023-08-15 广州供电局有限公司 Multi-source measurement labeling method and device in power distribution network wide-area measurement control system
CN114138868B (en) * 2021-12-03 2022-09-30 中科三清科技有限公司 Method and device for drawing air quality statistical distribution map

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123314A (en) * 2013-04-28 2014-10-29 北京百度网讯科技有限公司 Labeling avoidance method and device
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602006010025D1 (en) * 2006-03-31 2009-12-10 Research In Motion Ltd Method and apparatus for the dynamic identification of map objects in visually displayed maps of mobile communication devices
CN103021262B (en) * 2012-12-05 2015-07-08 广东威创视讯科技股份有限公司 Method and system for processing drawing of map labels
CN103914334B (en) * 2012-12-31 2017-06-20 北京百度网讯科技有限公司 The mask method and system of map
CN103902788B (en) * 2014-04-15 2017-08-08 北京百度网讯科技有限公司 Electronic map figure layer method for drafting and device
CN104268145B (en) * 2014-08-21 2019-07-26 中国科学院遥感与数字地球研究所 A kind of map fast drawing method of complexity vector data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123314A (en) * 2013-04-28 2014-10-29 北京百度网讯科技有限公司 Labeling avoidance method and device
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system

Also Published As

Publication number Publication date
CN107609049A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107609049B (en) High-efficiency GIS map engine generation method
CN103955566A (en) Electric transmission line three-dimensional design method based on Google Earth and electric transmission line three-dimensional design system based on Google Earth
CN105975619A (en) Power grid graph drawing method based on mobile GIS platform
CN104599069B (en) A kind of transmission line of electricity paths planning method based on envirment factor and geographical feature
CN106484693A (en) Map-indication method, picture block storage method and picture display terminal
CN103455634A (en) Electric power GIS (geographic information system) data collecting system and method based on mobile equipment
CN106528762B (en) Electronic map processing method and processing system for identifying interest points
CN104765857A (en) Background picture changing method and device
CN107741982B (en) Coordinate and administrative region matching system and method
CN105718481A (en) Massive topographic data organization and release method
CN108038138A (en) A kind of method for the WGS84 coordinate systems that Google Maps is transformed into from CAD plane coordinate systems
CN108038249A (en) A kind of one diagram data storage organization method in whole world and call method
CN105005580B (en) A kind of method for showing reservoir landform and device thereof
CN108595613A (en) GIS local maps edit methods and device
CN104392388A (en) Automatic imaging method and automatic imaging method for contact diagram of transformer substation of power grid GIS
CN110688756B (en) Collection and drawing integrated completion drawing manufacturing method
CN107729511B (en) Customizable geographic information data rectangular framing method
CN110887495B (en) Method for applying real-time road conditions of cloud platform to urban emergency GIS platform
CN107918623B (en) Pipeline digital map display method and device
CN111540046B (en) Virtual reality-based power transmission channel simulation method
CN103441988B (en) Across GIS platform data migration method
CN103778564A (en) Lightweight geographical analysis method for facility agriculture meteorology early warning
CN206117732U (en) Cartographic data server system
CN105282751B (en) A kind of method and apparatus showing wireless network planning result
CN110888954A (en) Plotting method based on electronic chart system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant