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 PDF

Info

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.)
Pending
Application number
CN202110371350.9A
Other languages
Chinese (zh)
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.)
Colorful Guizhou Impression Network Media Co ltd
Original Assignee
Colorful Guizhou Impression Network Media 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 Colorful Guizhou Impression Network Media Co ltd filed Critical Colorful Guizhou Impression Network Media Co ltd
Priority to CN202110371350.9A priority Critical patent/CN113064187A/en
Publication of CN113064187A publication Critical patent/CN113064187A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining 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/40Correcting position, velocity or attitude
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining 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/42Determining 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)

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

Original GPS data-based longitude and latitude deviation rectifying capability algorithm
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;
Figure BDA0003009425840000021
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
Figure BDA0003009425840000022
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
Figure BDA0003009425840000023
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
Figure BDA0003009425840000024
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;
Figure BDA0003009425840000041
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
Figure BDA0003009425840000042
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
Figure BDA0003009425840000043
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
Figure BDA0003009425840000044
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;
Figure FDA0003009425830000011
secondly, calculating the plane coordinate offset of the original GPS longitude relative to the domestic map longitude;
Figure FDA0003009425830000021
thirdly, calculating the plane coordinate offset of the original GPS dimension relative to the domestic map dimension;
Figure FDA0003009425830000022
fourthly, calculating the offset of the longitude and latitude in the earth coordinate according to the eccentricity;
Figure FDA0003009425830000023
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.
CN202110371350.9A 2021-04-07 2021-04-07 Original GPS data-based longitude and latitude deviation rectifying capability algorithm Pending CN113064187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110371350.9A CN113064187A (en) 2021-04-07 2021-04-07 Original GPS data-based longitude and latitude deviation rectifying capability algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110371350.9A CN113064187A (en) 2021-04-07 2021-04-07 Original GPS data-based longitude and latitude deviation rectifying capability algorithm

Publications (1)

Publication Number Publication Date
CN113064187A true CN113064187A (en) 2021-07-02

Family

ID=76565869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110371350.9A Pending CN113064187A (en) 2021-04-07 2021-04-07 Original GPS data-based longitude and latitude deviation rectifying capability algorithm

Country Status (1)

Country Link
CN (1) CN113064187A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
徐庆安;: "高斯―克吕格投影坐标转换成地理坐标的一种方法", 安徽地质, vol. 22, no. 04, pages 314 - 317 *
徐建刚等: "MapInfo中的坐标系与地图数据的转换", 《现代测绘》, vol. 26, no. 3, pages 36 - 38 *

Cited By (1)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
CN108446281B (en) Method, device and storage medium for determining user intimacy
CN105509743A (en) A positioning processing method, a business platform and a network system
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
CN112312301B (en) User terminal positioning method, device, equipment and computer storage medium
CN102938075A (en) RVM (relevant vector machine) method for maximum wind radius and typhoon eye dimension modeling
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
CN111770436A (en) Indoor Wi-Fi positioning method and device based on CSI and storage medium
CN103177189B (en) Register Data Quality Analysis method in a kind of many source positions
CN113064187A (en) Original GPS data-based longitude and latitude deviation rectifying capability algorithm
CN109725287B (en) Positioning method, positioning device, wearable device and storage medium
KR20140056828A (en) Apparatus, method and computer readable recording medium for analyzing a floating population using a user terminal
CN116528282B (en) Coverage scene recognition method, device, electronic equipment and readable storage medium
CN110909804B (en) Method, device, server and storage medium for detecting abnormal data of 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
CN112105047B (en) Flow heat geographic method, device, equipment and computer storage medium
CN110809277B (en) Base station optimization method and equipment
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
CN109890042B (en) Method, device and equipment for judging antenna feedback and readable storage medium

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