简体   繁体   English

无法在Google地图上映射坐标

[英]Unable to map coordinates on Google Maps

I have a list of coordinates that I want to plot on Google Maps, but I can't figure out how to do that. 我有一个要在Google Maps上绘制的坐标列表,但是我不知道该怎么做。 The coordinates, depending on how I plot them, appear to be all around the globe, while they should be placed in Trondheim, Norway. 坐标(取决于我如何绘制)似乎在全球范围内,而应将其放置在挪威的特隆赫姆。 (And the application I have extracted them from successfully places them in Trondheim, so I know they are correct.) (而且我从成功提取它们的应用程序中将它们放置在特隆赫姆,所以我知道它们是正确的。)

A normal Google Maps coordinate from Trondheim looks like this: 特隆赫姆市的正常Google地图坐标如下所示:

63.4304, 10.395069

My coordinates, however, look like this: 但是,我的坐标如下所示:

long,    lat
1154262, 9182277
1143762, 9184473
1157168, 9194133
1157375, 9200167
1164505, 9209786

I believe that these are in some kind of WGS84 format, but as I am a complete novice on this field, I am not completely sure. 我相信它们采用某种WGS84格式,但是由于我是该领域的新手,所以我不确定。 I think so because of the headers in the XML I have extracted them from: 我认为是因为XML中的标头,所以我从中提取了它们:

<rss version="2.0" 
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" 
xmlns:georss="http://www.georss.org/georss" 
xmlns:gml="http://www.opengis.net/gml" 
xmlns:mappoint="http://virtualearth.msn.com/apis/annotate#">

When I try to use this coordinate converter , it returns coordinates in Kazakhstan. 当我尝试使用此坐标转换器时 ,它将返回哈萨克斯坦的坐标。 I am utterly confused. 我完全感到困惑。 All other converters I have tried either returns locations in strange countries or in the middle of the oceans, or they fail to convert my data at all. 我尝试过的所有其他转换器都返回了陌生国家或大洋中的位置,或者根本无法转换我的数据。

Does anybody here know what kind of coordinates I have, and how I can convert them to normal latitude and longitude degrees? 这里有人知道我具有哪种坐标,以及如何将其转换为正常的纬度和经度吗?

A formula is enough, but if there exists any libraries for this, I am using C# as development language. 一个公式就足够了,但是如果有用于此的任何库,我将使用C#作为开发语言。 Any other languages would suffice, however, as I am probably able to convert them to my own anyway. 但是,任何其他语言都足够,因为无论如何我都可以将它们转换为我自己的语言。

WGS-84 is Spherical Mercator, the projection system used by Google, so the coordinates you have provided are obviously not. WGS-84是Spherical Mercator,是Google使用的投影系统,因此您提供的坐标显然不是。 Unfortunately for any formula to work you will need to find out the projection that your points are in. 不幸的是,对于任何有效的公式,您都需要找出点所在的投影。

Some more detailed information on projection is available here: http://courses.washington.edu/gis250/lessons/projection/ 有关投影的一些详细信息,请参见: http : //courses.washington.edu/gis250/lessons/projection/

And a library to convert between common coordinate systems in .net is available at: http://www.doogal.co.uk/dotnetcoords.php . 可以在http://www.doogal.co.uk/dotnetcoords.php上找到在.net中常用坐标系之间进行转换的库。

Would it be possible for you to open the map layer in an GIS program such as: http://www.qgis.org/en/site/ and use the options available to determine the projection of the layer? 您是否可以在GIS程序(例如http://www.qgis.org/en/site/)中打开地图图层,并使用可用的选项来确定该图层的投影?

Some tips for identifying the coordinate system (written for ARCGIS but the programs are similar): http://resources.arcgis.com/en/help/main/10.1/index.html#//003r00000004000000 https://gis.stackexchange.com/questions/7839/best-practices-for-identifying-the-unknown-coordinate-system-of-a-shapefile 识别坐标系的一些技巧(为ARCGIS编写,但程序相似): http ://resources.arcgis.com/en/help/main/10.1/index.html#//003r00000004000000 https://gis.stackexchange .com / questions / 7839 /用于识别Shapefile未知坐标系的最佳实践

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM