Google Maps 选择的地图数据格式是KML,但它们确实支持许多其他格式,包括GPX。
GPX,通常也称为GPS eXchange 格式,是一种开放标准XML类型,在附加地图数据之上包含全球定位系统(Global Positioning System)( GPS ) 坐标。(GPS)该格式的增长速度越来越快,许多制造商都将其用作首选的原生格式,无论使用何种设备。
以您对JPG(JPG)或PNG等图像文件格式的方式来考虑GPX。图像文件没有单一的通用标准,但大多数人更喜欢使用JPG或PNG ,而不是任何其他可用格式。它们最容易使用并且在几乎所有平台上都易于接受。
GPX本质上是地图数据世界的JPG。它使与观众共享地图数据变得容易,并允许在他们选择的几乎任何设备上查看这些数据。
尽管Google 地图(Google Maps)确实支持GPX,但该文件仍需要转换为KML格式。GPX不被认为是更容易导入Google 地图(Google Maps)的格式之一,并且可能会遇到困难,具体取决于移动的数据量。
谷歌地图(Google Maps)会自动将GPX文件转换为不同的结果,因此存在上述困难,或者您可以选择在导入之前自行预转换文件。无论如何(Regardless),GPX在几乎所有可以存储地图数据的设备上仍然广受欢迎和普遍接受。
将GPX 文件导入 Google 地图(GPX File Into Google Maps)
如果您只想将GPX(GPX)文件直接加载到Google Maps中,则该过程不会过于复杂。这不是一个理想的情况,因为直接这样做可能会(could)导致地图数据丢失。这样做的原因是谷歌地图(Google Maps)将被迫将您的GPX文件转换为KML文件以便在平台上使用。
它仍然可以正常工作,但我觉得这是相关的信息,以防万一有很多数据需要转换。如果您只需要一个快速的解决方案将GPX文件弹出到Google 地图(Google Maps)中,您可以按照以下步骤操作。
- 您需要做的第一件事是登录“我的地图”(My Maps)。
- 接下来,在屏幕的左上角,单击菜单图标并查找Create new map。单击(Click)它以拉出应以您当前位置为中心的新地图。
- 然后,通过单击Add Layer(Add Layer)进行后续操作。您可以在左侧的菜单中找到此选项。在该层(Just)下,单击Import链接。
- 将出现从您的计算机导入GPX文件的选项。(GPX)您可以选择这样做,也可以直接将文件拖放到提供的区域中。点击上传(Upload)按钮,您的地图航点应该会自动添加到新地图中。
看起来很简单,对吧?过程确实如此。但是,您的GPX(GPX)文件仍有可能没有被Google 地图(Google Maps)完全转换,并且没有生成所有必要的数据。如果您决定在将地图文件上传到Google 地图之前自己将其转换为(Google Maps)KML ,那么最终您会受益更多。
如何将 GPX 转换为 KML
确保将GPX文件中的所有数据正确导入Google 地图(Google Maps)的最佳方法是首先将其转换为KML,这是 Google 的首选格式。网上有很多转换软件可供您使用,这可能是更方便的途径。只需(Just)在您的搜索引擎中输入GPX 到 KML 转换器(GPX to KML converter ),您就会收到大量可供选择的结果。
通常,这些程序可以免费使用,但有些程序需要快速安装。我会推荐gpsvisualizer.com,因为它既轻巧又易于使用。
- 找到适合您的文件后,只需上传您的GPX文件并选择KML(或Google Maps)作为您的输出格式。大多数转换只需要很短的时间即可完成,因此您应该期望很快就能生成一个完全转换的文件。
- 文件转换完成后,立即下载并将其保存到您的系统,然后按照上面详细介绍的步骤将文件上传到Google 地图(Google Maps)。
再花一点时间来完成此步骤将确保在上传过程中不会丢失任何数据。将转换后的文件上传到Google 地图(Google Maps)后,您可以执行使用该工具时通常会执行的任何必要操作。
已经在制作地图了吗?如果您愿意,您可以将最近导入的数据保存到当前查看的地图上,作为当前数据的替换或叠加。
How To Add GPX Files To Google Maps
Google Maрs’ map data format of choice is KML, but they do support many other formats іncluding GPX.
GPX, also commonly referred to as GPS eXchange format, is an open standard XML type that contains Global Positioning System (GPS) coordinates on top of additional map data. The format has seen increased growth and is used by many manufacturers as their preferred native format no matter the device.
Think of GPX in the way that you would an image file format like JPG or PNG. There is no single universal standard for an image file but most would prefer the use of either JPG or PNG to any other format available. They’re easiest to use and readily accepted on almost all platforms.
GPX is essentially the JPG of the map data world. It makes it easy to share map data with an audience and allows that data to be viewed on almost any device they choose.
Although Google Maps does support GPX, the file will still need to be converted into the KML format. GPX is not considered to be one of the easier formats to import into Google Maps and can face difficulties depending on the amount of data moved.
Google Maps will convert the GPX file automatically to varying results, hence the mentioned difficulty, or you can choose to pre-convert the file yourself prior to the import. Regardless, GPX is still widely popular and universally accepted on almost all devices that can store map data.
Importing a GPX File Into Google Maps
The process isn’t overly complicated if all you want to do is load up a GPX file directly into Google Maps. It’s not an ideal situation as there is a chance that doing so directly could result in a loss of map data. The reason for this is that Google Maps will be forced to convert your GPX file into a KML file for use on the platform.
It can still work just fine but I felt it was pertinent information to have just in case there is a lot of data that needs converting. If all you need is a quick solution to pop over the GPX file into Google Maps, you can follow these steps.
- The first thing you’ll need to do is sign in to My Maps.
- Next, in the top-left corner of the screen, click on the menu icon and look for Create new map. Click on it to pull up a new map that should be centered on your current location.
- Then, follow this up by clicking on Add Layer. You can find this option in the menu on the left. Just under that layer, click the Import link.
- An option to import the GPX file from your computer will present itself. You can choose to do so or simply drag and drop the file directly into the area provided. Hit the Upload button and your map waypoints should be added to the new map, automatically.
It seems simple enough, right? The process really is. However, there is still that possibility your GPX file was not fully converted by Google Maps and didn’t produce all of the necessary data. It will benefit you more in the end if you decide to convert the map file to KML yourself, prior to uploading it to Google Maps.
How To Convert a GPX Into a KML
The best way to ensure that all data from a GPX file is properly imported into Google Maps is to first convert it to KML, Google’s preferred format. There is plenty of conversion software available to you online, which is likely the more convenient route to take. Just type GPX to KML converter into your search engine and you’ll receive plenty of results from which to choose.
Typically, these programs will be free to use but some will require a quick installation. I would recommend gpsvisualizer.com as it is both lightweight and easy to use.
- Once you find the right one for you, simply upload your GPX file and select KML (or Google Maps) as your output format. Most conversions take very little time at all to complete so you should expect to have a fully converted file produced rather quickly.
- As soon as the file has been converted, download and save it to your system, then follow the steps detailed above on how to upload a file to Google Maps.
Taking an additional few moments to knock out this step will ensure that no data is lost during the upload. After the converted file has been uploaded to Google Maps, you can perform any of the necessary actions that you would normally when using the tool.
Already working on a map? If you’d like, you can save the recently imported data onto the currently viewed map as either a replacement of the current data or as an overlay.