TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Mapzen Search: An open source geocoding api built on open data

150 pointsby riordanover 9 years ago

5 comments

andrewljohnsonover 9 years ago
MapZen Search (aka Pelias) is amazing. We&#x27;re using it to auto-name routes on gaiagps.com, and we&#x27;re rolling out new search features and auto-naming to the app too.<p>MapZen makes a lot of great stuff actually. We also use the Mapzen Valhalla routing engine (<a href="https:&#x2F;&#x2F;github.com&#x2F;valhalla" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;valhalla</a>) to do trail routing: <a href="http:&#x2F;&#x2F;blog.gaiagps.com&#x2F;plot-a-precise-trail-with-the-gaia-gps-trail-finder&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.gaiagps.com&#x2F;plot-a-precise-trail-with-the-gaia-g...</a>.<p>OpenStreetMap.org recently added Valhalla too - interesting to see competition between MapBox&#x2F;OSRM and MapZen&#x2F;Valhalla. The best mapping tech is being developed openly now, even competing open projects - that&#x27;s a fount of innovation.
SlashmanXover 9 years ago
Worth mentioning that this is built on Pelias[0] which is an exceptional piece of software.<p>[0] - <a href="https:&#x2F;&#x2F;github.com&#x2F;pelias&#x2F;pelias" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pelias&#x2F;pelias</a>
jkkramerover 9 years ago
I&#x27;m confused. The &quot;demo&quot; is just a screenshot? Seems promising but I would like to try it.
评论 #10320323 未加载
评论 #10319131 未加载
lobster_johnsonover 9 years ago
This looks really good! We&#x27;ve been looking for something to run ourselves that can replace Google.<p>However, I found a few flaws after a couple of minutes of testing.<p>1. Neither search nor autocomplete appears to support filtering by fields other than country? We have an app that needs to filter autocompletions by state. A focus point might be sufficient if the autocompleter aggressively sorts results based on distance, but I have yet to meet one that does this (or allows a tuning of the distance function). A rectangular bounding box filter doesn&#x27;t cut it. I guess I&#x27;ll have to check out the code and see if this can be added&#x2F;improved.<p>2. The API only returns points, with no boundary information, for street addresses. We have an app that uses geocoding to match street addresses to points. But if your address is a bit imprecise and matches an <i>entire stretch of highway</i> (it happens a lot!), that&#x27;s obviously not a valid match — something like &quot;Highway 66&quot; is just wrong. Google will wisely return a bounds object that you can compute the area for and determine if it&#x27;s small enough that it&#x27;s likely a precise enough location (we use 10m2 as the maximum). Unlike Google, Mapzen doesn&#x27;t even tell you that your match is a &quot;route&quot; — everything is an individual street address. Not sure how trivial this would be to implement, as boundaries would need support from datasets; OSM has the required data, OpenAddresses might not.<p>3. Street address matching seems a bit patchy. I tried my Brooklyn street address, and it didn&#x27;t find it. The building was constructed last year, though, so maybe it&#x27;s old data. Can someone from Mapzen comment?
评论 #10321070 未加载
aembletonover 9 years ago
I&#x27;ve signed up for a api key, but I can&#x27;t work out how to use it. I can&#x27;t find any documentation.<p>I&#x27;ve tried using the curl example provided in <a href="https:&#x2F;&#x2F;github.com&#x2F;pelias&#x2F;pelias" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pelias&#x2F;pelias</a> and appending api_key=$apikey to it but I just get an error back saying that this is not a valid key.<p>Has anyone found any documentation for how to use this API?
评论 #10319093 未加载