资源简介
GPS纠偏算法,能将真实的坐标转换成谷歌、高德、微软、腾讯地图坐标。GPS到地图能转换,反的你们还不会吗? 里面是C#写的demo,其他开发语言自己翻译吧!

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GPS纠偏算法
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnStart_Click(object sender EventArgs e)
{
double lon = double.Parse(txtLon.Text);
double lat = double.Parse(txtLat.Text);
double[] lonlat = new double[2];
GpsCorrect.transform(lat lon lonlat);
rTxt.AppendText(“输出经度:“ + lonlat[1] + “,输出纬度:“ + lonlat[0]);
rTxt.AppendText(“经差:“ + (lonlat[1] - lon) + “,纬差:“ + (lonlat[0] - lat));
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-01-19 10:01 GPS纠偏算法\
目录 0 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\
文件 4552 2015-01-19 10:40 GPS纠偏算法\GPS纠偏算法\Form1.Designer.cs
文件 873 2015-01-19 10:42 GPS纠偏算法\GPS纠偏算法\Form1.cs
文件 5817 2015-01-19 10:40 GPS纠偏算法\GPS纠偏算法\Form1.resx
文件 3623 2015-01-19 10:21 GPS纠偏算法\GPS纠偏算法\GPS纠偏算法.csproj
文件 2263 2015-01-19 10:23 GPS纠偏算法\GPS纠偏算法\GpsCorrect.cs
文件 496 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Program.cs
目录 0 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\
文件 1362 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\AssemblyInfo.cs
文件 2882 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\Resources.Designer.cs
文件 5612 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\Resources.resx
文件 1102 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\Settings.Designer.cs
文件 249 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\Properties\Settings.settings
目录 0 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\bin\
目录 0 2015-01-19 10:23 GPS纠偏算法\GPS纠偏算法\bin\Debug\
文件 10752 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\bin\Debug\GPS纠偏算法.exe
文件 28160 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\bin\Debug\GPS纠偏算法.pdb
文件 11608 2015-01-29 10:59 GPS纠偏算法\GPS纠偏算法\bin\Debug\GPS纠偏算法.vshost.exe
文件 490 2012-06-02 22:34 GPS纠偏算法\GPS纠偏算法\bin\Debug\GPS纠偏算法.vshost.exe.manifest
目录 0 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\obj\
目录 0 2015-01-19 10:01 GPS纠偏算法\GPS纠偏算法\obj\x86\
目录 0 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\
文件 1229 2015-01-20 09:48 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6176 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 180 2015-01-19 10:40 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.Form1.resources
文件 180 2015-01-19 10:21 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.Properties.Resources.resources
文件 906 2015-01-29 10:59 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.csproj.FileListAbsolute.txt
文件 847 2015-01-19 10:40 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.csproj.GenerateResource.Cache
文件 1757 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.csprojResolveAssemblyReference.cache
文件 10752 2015-01-29 10:58 GPS纠偏算法\GPS纠偏算法\obj\x86\Debug\GPS纠偏算法.exe
............此处省略4个文件信息
评论
共有 条评论