CN113064187A - Original GPS data-based longitude and latitude deviation rectifying capability algorithm - Google Patents
Original GPS data-based longitude and latitude deviation rectifying capability algorithm Download PDFInfo
- Publication number
- CN113064187A CN113064187A CN202110371350.9A CN202110371350A CN113064187A CN 113064187 A CN113064187 A CN 113064187A CN 202110371350 A CN202110371350 A CN 202110371350A CN 113064187 A CN113064187 A CN 113064187A
- Authority
- CN
- China
- Prior art keywords
- map
- longitude
- latitude
- gps data
- calculating
- 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
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 238000004364 calculation method Methods 0.000 claims abstract description 8
- 238000012937 correction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 2
- 230000004044 response Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241001330002 Bambuseae Species 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002054 transplantation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/40—Correcting position, velocity or attitude
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Navigation (AREA)
Abstract
The invention discloses an algorithm based on original GPS data longitude and latitude deviation rectifying capacity, which is combined with the research on the longitude and latitude of the earth, calculates the latitude coordinate of the earth, calculates the original GPS data reported by equipment, realizes the accurate position of the GPS data on a mainstream map, calculates the longitude and latitude of the earth by using strict mathematical and physical calculation modes, and carries out corresponding conversion according to the protocol of a related map, and has the advantages of high program calculation efficiency, high conversion precision, low fault tolerance rate and the like in the conversion process, and has less occupied memory and quick request response during the operation.
Description
Technical Field
The invention belongs to the field of analysis of GPS positioning information of electronic information software, and particularly relates to a longitude and latitude deviation rectifying capability algorithm based on original GPS data.
Background
In recent years, in the fields of domestic intelligent vehicle management, vehicle positioning, vehicle track recording, electronic fences and the like, the vehicle-mounted electronic GPS equipment develops rapidly in succession after the rain bamboo contests for terrorism, the software also meets severe challenges, not only is the combination of hardware and software realized, but also the software is ensured to be capable of accurately analyzing the information of the hardware and analyzing the vehicle information by combining big data, and the driving safety of the vehicle is ensured. The software needs to perform functions such as vehicle cost statistics, vehicle positioning, vehicle mileage, electronic fence and the like. However, at present, a Baidu and Goods map is needed to be used for positioning a vehicle in China, original GPS positioning information is fed back by equipment at present, and a Baidu or Goods rectification technology is needed to be used for realizing accurate positioning on the map, and a large amount of cost is needed for supporting the technology. This brings inconvenience to development and cost.
Disclosure of Invention
The invention aims to solve the technical problem of providing an algorithm based on original GPS data longitude and latitude deviation correction capability, which has high conversion precision, low fault tolerance rate, less occupied memory during operation and quick request response.
The technical scheme of the invention is as follows: a longitude and latitude deviation rectifying capability algorithm based on original GPS data is characterized in that: calculating the latitude coordinate of the earth, calculating the original GPS data reported by the equipment, and realizing the accurate positioning of the GPS data on a mainstream map;
calculating the longitude and latitude of the earth, and performing corresponding conversion according to the protocol of a relevant map;
specifically, the original GPS data deviation correction calculation step:
the first step is as follows: acquiring original GPS positioning information, judging whether the positioning is domestic or foreign by a system, wherein the judgment basis is that whether the positioning is in the longitude and latitude of the domestic south-north boundary and the east-west boundary, the internal words belong to the domestic words, and the external words are input to the foreign words;
the second step is that: carrying out corresponding processing according to the classified data, if the classified data is domestic, converting the system into a hundred-degree map coordinate or a Gaode map coordinate according to the requirement, if the classified data is foreign, defaulting to use a Google map without coordinate conversion;
the third step: GIS map projection, the basic scale topographic map of our country: 1: 5000,1: 10000,1: 25000,1: 50000,1: 100000,1: 250000,1: 500000,1: 1000000, the projection of more than or equal to 500000 is Gauss-Kluger projection, also called horizontal axis Mercator projection, and the projection of topographic map less than 500000 is positive axis isogonic conic projection, also called Labert projection; china basic scale topographic map; WGS84 ellipsoid, the system primarily uses its parameters, with the major half axis: 6378137, minor half axis: 6356752.3142, bias ratio: 298.257224, respectively; next, the GPS satellite ellipsoid coordinates are projected onto a planar map coordinate system with the long semi-axis of WGS84 as a projection factor.
More specifically, the elliptical eccentricity of the earth is: 0.00669342162296594323, the calculation is disclosed as follows:
sqrt: and calculating the root number to obtain the first eccentricity of the earth ellipse.
The first step is as follows: calculating the elliptical eccentricity of the earth;
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
and fifthly, adding the offset to the original GPS data to obtain the corrected GPS data, placing the GPS data into a Gade map for testing, and judging according to the current position, wherein the positioning is accurate, and the error is within 5 meters.
Compared with the prior art, the invention has the beneficial effects that:
1. the method supports linux, macos, ios, android and windows code transplantation, occupies less internal memory for operation, has high operation efficiency and accurate operation result, and supports the longitude and latitude conversion of the mainstream map.
2. By adopting the independently researched and developed GPS positioning algorithm, the algorithm mode is optimized, the calculation running time is greatly shortened, and the GPS positioning information conversion can be carried out for an unlimited time.
3. Efficient GPS conversion provides better experience for a user to open a map to check vehicle positioning information, and the map is opened quickly and accurately.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A longitude and latitude deviation rectifying capability algorithm based on original GPS data is characterized in that: calculating the latitude coordinate of the earth, calculating the original GPS data reported by the equipment, and realizing the accurate positioning of the GPS data on a mainstream map;
calculating the longitude and latitude of the earth, and performing corresponding conversion according to the protocol of a relevant map;
the original GPS data deviation rectifying calculation step comprises:
the first step is as follows: acquiring original GPS positioning information, judging whether the positioning is domestic or foreign by a system, wherein the judgment basis is that whether the positioning is in the longitude and latitude of the domestic south-north boundary and the east-west boundary, the internal words belong to the domestic words, and the external words are input to the foreign words;
the second step is that: carrying out corresponding processing according to the classified data, if the classified data is domestic, converting the system into a hundred-degree map coordinate or a Gaode map coordinate according to the requirement, if the classified data is foreign, defaulting to use a Google map without coordinate conversion;
the third step: GIS map projection, the basic scale topographic map of our country: 1: 5000,1: 10000,1: 25000,1: 50000,1: 100000,1: 250000,1: 500000,1: 1000000, the projection of more than or equal to 500000 is Gauss-Kluger projection, also called horizontal axis Mercator projection, and the projection of topographic map less than 500000 is positive axis isogonic conic projection, also called Labert projection; china basic scale topographic map; WGS84 ellipsoid, the system primarily uses its parameters, with the major half axis: 6378137, minor half axis: 6356752.3142, bias ratio: 298.257224, respectively; next, the GPS satellite ellipsoid coordinates are projected onto the plane map coordinate system, with the WGS84 major axis as the projection factor and the eccentricity of the ellipse of the earth as: 0.00669342162296594323, the calculation is disclosed as follows:
sqrt: and calculating the root number to obtain the first eccentricity of the earth ellipse.
The first step is as follows: calculating the elliptical eccentricity of the earth;
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
and fifthly, adding the offset to the original GPS data to obtain the corrected GPS data, placing the GPS data into a Gade map for testing, and judging according to the current position, wherein the positioning is accurate, and the error is within 5 meters.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention.
Claims (3)
1. A longitude and latitude deviation rectifying capability algorithm based on original GPS data is characterized in that: calculating the latitude coordinate of the earth, calculating the original GPS data reported by the equipment, and realizing the accurate positioning of the GPS data on a mainstream map;
and calculating the longitude and latitude of the earth, and performing corresponding conversion according to the protocol of the relevant map.
2. The algorithm of claim 1, wherein the algorithm comprises a latitude and longitude correction capability algorithm based on original GPS data, and is characterized in that: the original GPS data deviation rectifying calculation steps are as follows:
the first step is as follows: acquiring original GPS positioning information, judging whether the positioning is domestic or foreign by a system, wherein the judgment basis is that whether the positioning is in the longitude and latitude of the domestic south-north boundary and the east-west boundary, the internal words belong to the domestic words, and the external words are input to the foreign words;
the second step is that: carrying out corresponding processing according to the classified data, if the classified data is domestic, converting the system into a hundred-degree map coordinate or a Gaode map coordinate according to the requirement, if the classified data is foreign, defaulting to use a Google map without coordinate conversion;
the third step: GIS map projection, the basic scale topographic map of our country: 1: 5000,1: 10000,1: 25000,1: 50000,1: 100000,1: 250000,1: 500000,1: 1000000, the projection of more than or equal to 500000 is Gauss-Kluger projection, also called horizontal axis Mercator projection, and the projection of topographic map less than 500000 is positive axis isogonic conic projection, also called Labert projection; china basic scale topographic map; WGS84 ellipsoid, the system primarily uses its parameters, with the major half axis: 6378137, minor half axis: 6356752.3142, bias ratio: 298.257224, respectively; next, the GPS satellite ellipsoid coordinates are projected onto a planar map coordinate system with the long semi-axis of WGS84 as a projection factor.
3. The algorithm of claim 2, wherein the algorithm comprises a latitude and longitude correction capability algorithm based on original GPS data, and is characterized in that: the elliptical eccentricity of the earth in the third step is as follows: 0.00669342162296594323, the calculation is disclosed as follows:
sqrt: and calculating the root number to obtain the first eccentricity of the earth ellipse.
The first step is as follows: calculating the elliptical eccentricity of the earth;
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
and fifthly, adding the offset to the original GPS data to obtain the corrected GPS data, placing the GPS data into a Gade map for testing, and judging according to the current position, wherein the positioning is accurate, and the error is within 5 meters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110371350.9A CN113064187B (en) | 2021-04-07 | 2021-04-07 | Longitude and latitude deviation correcting capability algorithm based on original GPS data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110371350.9A CN113064187B (en) | 2021-04-07 | 2021-04-07 | Longitude and latitude deviation correcting capability algorithm based on original GPS data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113064187A true CN113064187A (en) | 2021-07-02 |
CN113064187B CN113064187B (en) | 2024-08-27 |
Family
ID=76565869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110371350.9A Active CN113064187B (en) | 2021-04-07 | 2021-04-07 | Longitude and latitude deviation correcting capability algorithm based on original GPS data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113064187B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114282033A (en) * | 2022-03-02 | 2022-04-05 | 成都智达万应科技有限公司 | Deviation correction and intelligent road disease reporting system based on GPS |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05164557A (en) * | 1991-12-11 | 1993-06-29 | Fujita Corp | System for calculating coordinates of two-dimensional position of object to be measured |
KR19980065456A (en) * | 1997-01-10 | 1998-10-15 | 이준 | How to convert coordinate system for Geographic Information System (GIS) |
KR20010027754A (en) * | 1999-09-15 | 2001-04-06 | 강인준 | Navigation voice system and method based on the precise coordinate interpretation of gps receiver |
CN101532834A (en) * | 2008-12-12 | 2009-09-16 | 北京理工大学 | Method for switching coordinates of WGS84 ellipsoid and Clarke 80 ellipsoid |
CN103034737A (en) * | 2012-12-27 | 2013-04-10 | 天津市通卡公用网络系统有限公司 | Deviation rectifying method of electronic map |
CN104048659A (en) * | 2014-06-16 | 2014-09-17 | 广州杰赛科技股份有限公司 | Method and system for transforming map coordinate system |
CN110426723A (en) * | 2019-07-25 | 2019-11-08 | 武汉星源云意科技有限公司 | A kind of method of the acquisition and map publishing of satellite positioning GGA data |
CN111780772A (en) * | 2020-07-10 | 2020-10-16 | 重庆长安车联科技有限公司 | Positioning and deviation rectifying method for vehicle in map blind area |
-
2021
- 2021-04-07 CN CN202110371350.9A patent/CN113064187B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05164557A (en) * | 1991-12-11 | 1993-06-29 | Fujita Corp | System for calculating coordinates of two-dimensional position of object to be measured |
KR19980065456A (en) * | 1997-01-10 | 1998-10-15 | 이준 | How to convert coordinate system for Geographic Information System (GIS) |
KR20010027754A (en) * | 1999-09-15 | 2001-04-06 | 강인준 | Navigation voice system and method based on the precise coordinate interpretation of gps receiver |
CN101532834A (en) * | 2008-12-12 | 2009-09-16 | 北京理工大学 | Method for switching coordinates of WGS84 ellipsoid and Clarke 80 ellipsoid |
CN103034737A (en) * | 2012-12-27 | 2013-04-10 | 天津市通卡公用网络系统有限公司 | Deviation rectifying method of electronic map |
CN104048659A (en) * | 2014-06-16 | 2014-09-17 | 广州杰赛科技股份有限公司 | Method and system for transforming map coordinate system |
CN110426723A (en) * | 2019-07-25 | 2019-11-08 | 武汉星源云意科技有限公司 | A kind of method of the acquisition and map publishing of satellite positioning GGA data |
CN111780772A (en) * | 2020-07-10 | 2020-10-16 | 重庆长安车联科技有限公司 | Positioning and deviation rectifying method for vehicle in map blind area |
Non-Patent Citations (2)
Title |
---|
徐庆安;: "高斯―克吕格投影坐标转换成地理坐标的一种方法", 安徽地质, vol. 22, no. 04, pages 314 - 317 * |
徐建刚等: "MapInfo中的坐标系与地图数据的转换", 《现代测绘》, vol. 26, no. 3, pages 36 - 38 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114282033A (en) * | 2022-03-02 | 2022-04-05 | 成都智达万应科技有限公司 | Deviation correction and intelligent road disease reporting system based on GPS |
Also Published As
Publication number | Publication date |
---|---|
CN113064187B (en) | 2024-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446281B (en) | Method, device and storage medium for determining user intimacy | |
CN105898713A (en) | WiFi fingerprint indoor positioning method based on weighted cosine similarity | |
CN106993299A (en) | The localization method and device at antenna optimum orientation angle | |
CN109916413A (en) | Road matching method, system, device and storage medium based on grid dividing | |
CN104793224A (en) | GPS positioning rectification method and device | |
CN112312301B (en) | User terminal positioning method, device, equipment and computer storage medium | |
CN107995682B (en) | Wireless access independent positioning method, device, electronic equipment and storage medium | |
CN110881191A (en) | Method, device and system for acquiring longitude and latitude of cell and storage medium | |
CN108731649B (en) | 2000 mapping reference frame unifying method, device and computer readable storage medium | |
CN110826454A (en) | Remote sensing image change detection method and device | |
CN110909804B (en) | Method, device, server and storage medium for detecting abnormal data of base station | |
CN113064187A (en) | Original GPS data-based longitude and latitude deviation rectifying capability algorithm | |
CN109725287B (en) | Positioning method, positioning device, wearable device and storage medium | |
CN114266984B (en) | Method for calculating carbon reduction amount of photovoltaic reformable area on roof of building by using high-resolution remote sensing image | |
KR20140056828A (en) | Apparatus, method and computer readable recording medium for analyzing a floating population using a user terminal | |
CN110809277B (en) | Base station optimization method and equipment | |
CN109600762A (en) | The Optimum distribution method and device of antenna for base station | |
CN103207402B (en) | Navigation trail estimation system and estimation method thereof | |
CN115190587A (en) | WIFI position determination method and device, electronic equipment and storage medium | |
CN103186528A (en) | Method, device and mobile terminal for screening geographical information | |
CN107133295B (en) | Accelerated inverse address resolution method and device based on recorder management platform | |
CN110456398A (en) | Geographic position determination method, device, storage medium and equipment | |
CN107066606B (en) | KEY value calculation method and device based on recorder management platform | |
CN113990066B (en) | Road information matching and intersection identification method and device | |
CN104596501A (en) | Dynamic map location correction method based on mobile geographic information platform |
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 |