适用于iOS模拟器的GPX文件 [英] GPX files for iOS Simulator

查看:531
本文介绍了适用于iOS模拟器的GPX文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到我可以导入iOS模拟器的任何区域的GPX文件? iOS模拟器确实只包含世界各地的静态位置(来自XCode)或模拟器本身的步行/自行车/汽车驱动器。这对于单元测试或其他specyfic案例来说不够好。



GPX文件架构: http://www.topografix.com/GPX/1/1/gpx.xsd



Google地图中是否有数据库或隐藏选项获取位置?

解决方案

你创建一个路由并在这里生成一个gpx文件 - http://www.bikehike.co.uk/mapview.php



在另一个注释中,如果你运行模拟器,然后选择下面的菜单选项,你是否知道模拟器可以模拟运动:

  • 位置

  • 您可以选择高速公路行驶,骑自行车,跑步等。

    Where I can find GPX file of any region that I can import to my iOS Simulator? iOS simulator does contain only static locations around the world (from XCode) or walk/bike/car drive in simulator itself. This is not good enough for unit testing or other specyfic cases.

    Schema for GPX file: http://www.topografix.com/GPX/1/1/gpx.xsd

    Is there a database or hidden option in Google maps to get location?

    解决方案

    You create a route and generate a gpx file here - http://www.bikehike.co.uk/mapview.php

    On another note it might help, are you aware the simulator can simulate movement if you run the simulator then select the following menu options:

    • Debug
    • Location
    • You can select freeway drive, cycle ride, run etc

    这篇关于适用于iOS模拟器的GPX文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆