技术控

    今日:133| 主题:49136
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] A Technical Follow-Up: How We Built the World's Prettiest Auto-Generated Tr

[复制链接]
Sud丶笨笨 发表于 2016-10-5 16:51:03
154 3

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

A Technical Follow-Up: How We Built the World's Prettiest Auto-Generated Tr-1 (particular,beautiful,technical,interface,surprise)
                  A Technical Follow-Up: How We Built the World’s Prettiest Auto-Generated Transit Maps

      byAnton Dubrau
      Six weeks ago, we launched Transit Maps, and wrote  this blog post  about why we took on the mammoth task of creating automatically-generated yet aesthetically-pleasing maps. We were blown away by the public reaction to our efforts, though not altogether surprised given the amount of time, thought and inspiration it took to create them. Today, we’re fulfilling our promise to publish a technical follow-up from Anton, our resident mapping wizard, who explains in much greater detail what went into building these maps.
                  When you think of Transit, you might think sleek, colourful interface. Given that we’re extremely particular about making the app as beautiful and usable as possible, that’s no big surprise. But UI isn’t the only thing we’re about: our team extends well beyond expert designers, and our app is much more than just pretty. Below the surface, there’s a lot of ‘hard’ technology quietly driving it.
     First, our powerful backend quality checks hundreds of transit data feeds, automatically fixes broken data, and flags issues that need investigation. This system enables us to manage 350 transit feeds in 125 cities with a small team.
     Then there’s our compression algorithm. It  shrinks transit schedules up to 100 times smaller than the zip-files transit agencies provide. This allows Transit to download the schedules of the user’s entire region, store the data on the user’s device, and return search results… all in the amount of time it takes other apps to request and load a single schedule. And while our users may now be accustomed to our app’s speed, when the feature was first introduced, it effectively cut response time from several seconds to 0.1 seconds. That’s fast.
     But there’s one particular technology that we’ve been working on for years. To our great joy (and relief), we finally launched itthis summer: automatically-generated transit maps .

A Technical Follow-Up: How We Built the World's Prettiest Auto-Generated Tr-2 (particular,beautiful,technical,interface,surprise)
                Transit Maps: Transit App (left), Apple Maps (middle), and Google Maps (right)                  The idea itself is hardly new: Google launched their transit maps almost six years ago. But it turns out it’s quite the problem to solve, and Google (even after all these years) still can’t generate very pretty, or even very useful transit maps.
     So how did we manage it? With sweat, tears, and creative thinking.
      1. Shapes on a Map

     The idea of creating automatically-generated maps is something that has captivated me since before joining Transit App three years ago. At the time, Google was the only player in the industry, and to be frank, their transit maps were kind of crappy. We had just finished our aforementioned super compression algorithm and felt ready to tackle a new problem. We figured, rather naïvely, that it would take about three months. Little did we know…
     The first step was to show the source data on a map. Many of the trips in the underlying transit data already contained shapes representing the routes that transit vehicles took. If we simply drew all of the shapes defined by all of the trips, we’d get a simplistic sort of transit map:
友荐云推荐




上一篇:Vue 2.0 is Here! The Progressive JavaScript Framework
下一篇:从零开始的 Redux 教程
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

预见下一秒 发表于 2016-10-7 04:25:57
男人靠的住,母猪能上树!  
回复 支持 反对

使用道具 举报

Cherry丶 发表于 2016-10-10 14:08:59
星期一过得很不爽!
回复 支持 反对

使用道具 举报

忠貞怎可以貪 发表于 2016-10-10 15:28:21
为毛老子总也抢不到沙发?!!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表