CN101510375A - Method for processing electronic map data file - Google Patents
Method for processing electronic map data file Download PDFInfo
- Publication number
- CN101510375A CN101510375A CNA2009103011863A CN200910301186A CN101510375A CN 101510375 A CN101510375 A CN 101510375A CN A2009103011863 A CNA2009103011863 A CN A2009103011863A CN 200910301186 A CN200910301186 A CN 200910301186A CN 101510375 A CN101510375 A CN 101510375A
- Authority
- CN
- China
- Prior art keywords
- data
- electronic map
- screen coordinate
- map data
- screen
- 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
Links
Landscapes
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the field of the embedded technology, in particular to a processing method of electronic map data files. Aiming at the deficiencies of large data file stored in the electronic map and low display efficiency in the prior art, the invention discloses a processing method of electronic map data files, which can reduce the data files and improve the display efficiency. The technical proposal is characterized in that a. initial electronic map data is obtained; b. the initial electronic map data is converted into orthogonal coordinate data according to WG 84 latitude and longitude standard; c. the orthogonal coordinate data is converted into screen coordinate data on a computer according to the requirement for displaying scale and the size of an embedded terminal screen window, and the screen coordinate data is stored to generate screen coordinate files based on a maximum enlarged scale; and d. the screen coordinate files are imported into an embedded terminal. The method has the advantages that the screen coordinate file can be directly stored, not only the data file is small, but also the real-time floating point operation is avoided, the display efficiency is improved, and the method is applicable to embedded terminal products.
Description
Technical field
The present invention relates to field of embedded technology, relate in particular to a kind of processing method of electronic map data files.
Background technology
In recent years, along with the fast development of infotech, be widely used in every field at the GPS of developed country (GPS).Chinese GPS is in developing stage at present, and navigation terminal more and more has been applied to vehicle electric field, and the mobile phone navigation terminal also begins progressively to rise.Now, the application of navigation terminal has become trend of the times.Simultaneously, people are also more and more higher to the requirement of the demonstration of the electronic chart in these terminals.Traditional electronic chart is a spatial information of representing key element with the floating-point latitude and longitude coordinates, form with floating-point rectangular coordinate file is preserved, so not only data file is big, and when carrying out convergent-divergent roaming demonstration, needing in real time rectangular coordinate to be converted to screen coordinate shows, need carry out floating-point operation, just very low for the common built-in terminal operation efficiency that does not have floating point calculator, it is exactly that electronic map data file roaming convergent-divergent shows very slow that visualize is come out.
Summary of the invention
Technical matters to be solved by this invention is: the data file of preserving at electronic chart in the prior art reaches the low deficiency of display efficiency greatly, proposes a kind of processing method of electronic map data files that reduces data file and improve display efficiency.
The technical scheme that the present invention solves the problems of the technologies described above employing is: processing method of electronic map data files may further comprise the steps:
A. obtain the original electron map datum;
B. convert the original electron map datum to the rectangular coordinate data according to the WG84 latitude and longitude standard;
C. on computers, become the screen coordinate data, and the screen coordinate data are preserved generation screen coordinate file based on maximum magnification ratio according to the requirement of displaying ratio chi and the size conversion of built-in terminal screen window;
D. the screen coordinate file is imported built-in terminal.
The invention has the beneficial effects as follows: directly preserve the screen coordinate file, not only data file is little, and has avoided real-time floating-point operation, improves display efficiency.
Description of drawings
Fig. 1 is processing method of electronic map data files process flow diagram among the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
The present invention is with respect to prior art, improved the mode of in the prior art electronic map data being preserved with the rectangular coordinate document form, but on computers the rectangular coordinate data conversion is become the screen coordinate of shaping, form with screen coordinate is saved to built-in terminal at last, not only reduced the size of data file, also avoid real-time floating-point operation, improved display efficiency.
As shown in Figure 1, processing method of electronic map data files among the present invention adopts following measure to realize: at first obtain the original electron map datum, it is the original electron map datum that is provided by electronic chart manufacturer, as MapInfo form etc., the essential factors space information that it comprises is with the record of latitude and longitude coordinates form, and the coordinate data type all is a floating point type.Then produce the rectangular coordinate data, it is after reading the spatial information of key element one by one from the original electron map data file by the gdal/ogr instrument, converting the rectangular coordinate data to according to the WG84 latitude and longitude standard then, the rectangular coordinate data also are the floating point type data.Produce and preserve the screen coordinate data file then on computers, it also is key core of the present invention, it is the rectangular coordinate data by floating point type, become the screen coordinate data according to the requirement of displaying ratio chi and the size conversion of built-in terminal screen window, and the screen coordinate data are preserved into file based on maximum magnification ratio, as the data basis of later application layer.As rectangular coordinate 8.356, engineer's scale gets 2, and 8.356000*2=17.712000 rounds then and just become screen coordinate value 17.At last the screen coordinate data file is imported built-in terminal.As can be seen, through after changing into screen coordinate, its data volume is little more a lot of than former rectangular coordinate, therefore can save the storage space of built-in terminal, and when showing, do not need to carry out in real time floating-point operation, carry out the shaping computing and directly call the shaping data, improved arithmetic speed and then improved display efficiency.
The rectangular coordinate data will like this, just can not cause the key element display distortion in the time of convergent-divergent according to maximum magnification ratio when converting the screen coordinate data to.As: floating-point is put and is twice 3.500000*2=7.000000, and integer is put and is twice 3*2=6, and difference is just very big as a result, causes display distortion.And come by maximum magnification ratio conversion from the rectangular coordinate data because of the screen coordinate data, just do not have this problem, as: maximized back coordinate figure is 19.356000 to certain key element at the right angle, floating-point dwindles one times of 19.356000/2=9.678, round is 9, with rounding 19.356000 is 19, dwindles one times of 19/2=9 again; Therefore in terminal, these two unanimities as a result.Whenever all just can not distortion what dwindle.Therefore having guaranteed can distortion in the whole convergent-divergent procedure for displaying.
Roaming layer, the inquiry layer, scaling layer all is based on the application layer of key element screen coordinate data in the built-in terminal.Roaming according to rationally choosing the key element that will show according to the screen coordinate scope, is determined new demonstration starting point during convergent-divergent, then according to the key element coordinate figure calculation window coordinate in the screen coordinate data file, shows then.When the longitude and latitude of query elements, according to the screen coordinate value, real-time converts rectangular coordinate to from screen coordinate, and then converts the latitude and longitude coordinates value to.
Claims (1)
- [claim 1] processing method of electronic map data files is characterized in that: may further comprise the steps:A. obtain the original electron map datum;B. convert the original electron map datum to the rectangular coordinate data according to the WG84 latitude and longitude standard;C. on computers, become the screen coordinate data, and the screen coordinate data are preserved generation screen coordinate file based on maximum magnification ratio according to the requirement of displaying ratio chi and the size conversion of built-in terminal screen window;D. the screen coordinate file is imported built-in terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910301186 CN101510375B (en) | 2009-03-27 | 2009-03-27 | Method for processing electronic map data file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910301186 CN101510375B (en) | 2009-03-27 | 2009-03-27 | Method for processing electronic map data file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101510375A true CN101510375A (en) | 2009-08-19 |
CN101510375B CN101510375B (en) | 2013-06-05 |
Family
ID=41002764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910301186 Expired - Fee Related CN101510375B (en) | 2009-03-27 | 2009-03-27 | Method for processing electronic map data file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101510375B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012924A (en) * | 2010-11-29 | 2011-04-13 | 深圳市融创天下科技发展有限公司 | Map display method and system and mobile terminal |
CN102446203A (en) * | 2010-10-13 | 2012-05-09 | 北京高维信诚资讯有限公司 | Method and device for obtaining map |
CN111857626A (en) * | 2020-07-16 | 2020-10-30 | 北京奇虎科技有限公司 | Picture display method, device and equipment based on screen coordinates and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1353393A (en) * | 2001-12-18 | 2002-06-12 | 中国科学院测量与地球物理研究所 | Scenery data acquiring system for obtaining time information and coordinate information at same time |
CN1595067A (en) * | 2004-06-23 | 2005-03-16 | 武汉虹信通信技术有限责任公司 | Method for rapid transformation of geographical coordinate projection in navigational system |
CN101021560A (en) * | 2006-11-22 | 2007-08-22 | 北京林业大学 | Hand-held GPS receiver direct-measuring arbitrary coordinate system plane orthogonal coordinating method |
-
2009
- 2009-03-27 CN CN 200910301186 patent/CN101510375B/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446203A (en) * | 2010-10-13 | 2012-05-09 | 北京高维信诚资讯有限公司 | Method and device for obtaining map |
CN102012924A (en) * | 2010-11-29 | 2011-04-13 | 深圳市融创天下科技发展有限公司 | Map display method and system and mobile terminal |
WO2012071886A1 (en) * | 2010-11-29 | 2012-06-07 | 深圳市融创天下科技股份有限公司 | Method, system and mobile terminal for displaying maps |
CN102012924B (en) * | 2010-11-29 | 2013-07-03 | 深圳市融创天下科技股份有限公司 | Map display method and system and mobile terminal |
CN111857626A (en) * | 2020-07-16 | 2020-10-30 | 北京奇虎科技有限公司 | Picture display method, device and equipment based on screen coordinates and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101510375B (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4006844A1 (en) | Image rendering method and related device | |
CN101719335B (en) | Grid picture electronic map for geographic information system | |
CN101908060B (en) | Manufacturing method, display method and system of vector numerical map | |
CN103164516A (en) | Electronic chart data conversion device and electronic chart data conversion method | |
CN104680421B (en) | A kind of saleable vector graphics SVG display methods and device | |
CN102855648A (en) | Method and device for processing image | |
CN103186510A (en) | Document format transforming method and device | |
CN104756150A (en) | Depth buffering | |
CN101510375B (en) | Method for processing electronic map data file | |
CN104978045A (en) | Chinese character input method and device | |
CN114820972A (en) | Contour line and/or contour surface generation method, system, device and storage medium | |
CN111045732A (en) | Data processing method, chip, device and storage medium | |
CN108280154B (en) | Method and device for displaying map annotation information, terminal and readable storage medium | |
CN204287489U (en) | A kind of big dipper multi-mode navigation vehicle networked terminals based on SOC | |
CN105719335A (en) | Map image rendering method and device, and vehicle-mounted terminal | |
CN103390369B (en) | A kind of map rendering intent and system | |
CN103294760A (en) | Apparatus and method for searching for resources of e-book | |
CN103500223A (en) | Vector map data compression method for mobile users | |
CN103915035A (en) | Data conversion method and data conversion apparatus | |
CN103488380A (en) | Method and device for displaying information | |
CN205228473U (en) | Miniature navigational computer based on field programmable gate array | |
CN100380296C (en) | Text entry for electronic device | |
CN114610911A (en) | Multi-mode knowledge intrinsic representation learning method, device, equipment and storage medium | |
CN103440118A (en) | Paging multi-level displaying method based on three-dimensional digital city system model | |
CN101060680A (en) | A method and device for querying the world times on the mobile communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130605 |
|
CF01 | Termination of patent right due to non-payment of annual fee |