Zh-hans:Search engines

From OpenStreetMap Wiki
Jump to navigation Jump to search

Searching for the location of an object in the OSM database is useful for many purposes.

Besides rendering, searching is an important step towards routing. So this is about approaches to search OSM or to link it with the web.

搜索引擎服务

These options are available as services you can call:

非商用,ToS限制

  • Nominatim is deployed on OpenStreetMap servers, and powers the search on the front page as well as offering an API.
  • Photon hosted by Komoot.de
  • GeoCheck hosted by IdeesLibres.org - searches across Nominatim OSM, Google, Photon OSM, ideeslibres.org BANO, IGN, Etalab BANO
  • OSMNames maintained by KlokanTech.com and HSR - provides basic search in place names with autocomplete for demo purposes. The project mainly aims to deliver gazetteer data from OSM.

商用

  • OpenCage hosted by OpenCage GmbH - searches across OpenStreetMap, geonames, geoplanet among other sources.
  • LocationIQ searches across OSM, OA, Geonames, and WoF, among other sources
  • Osmocoder hosted by 123map.de, able to do batch geocoding, so far for area of Germany, and in German language.
  • Geocode Earth provide hosted geocoding APIs powered by the open-source Pelias Geocoder. They offer autocomplete, reverse & full-text search across OSM, OpenAddresses, Geonames and Who's on First. Run by the former Mapzen Search team.
  • WhatIsWhere Free, powerful map based search. Supports multiple conditions applied at the same time, saving/loading search projects, export to CSV, etc.
  • NetToolKit provides affordable geocoding, autocomplete/search, and map tile services.
  • Geoapify offers direct and reverse geocoding, as well as autocomplete. They support single and batch requests. The APIs can be tested with Playground.
  • Geocoding API Forward & Reverse Geocoding based on OpenStreetMap data with low latency served by a global cdn.
  • SmartMaps powered by YellowMap AG - Worldwide Forward & Reverse Geocoding, Routing, Matrix Routing and Autocomplete based on OpenStreetMap data.
  • BigDataCloud provides free client-side reverse geocoding API which utilises data from OpenStreetMap (OSM) project and various other open public sources. They deliver administrative/non-administrative boundaries-based results.
  • Geocoding.ai provides hosted geocoding APIs powered by Nominatim, offers full-text search and reverse geocoding.
  • Geokeo.com provides forward and reverse geocoding. with spell correction and more. 2500 daily free api limit

搜索引擎软件

These options can be deployed to your own server:

Comparison of the web API of some of the tools
Geocoder Fulltext Geocoding Fields Geocoding Autocomplete Filter Bias Reverse geocoding Batch Normalisation Gazetteer Linkage Autocompletion Linkage Engine Data source
Nominatim 是 没有 没有 countrycodes, bbox N/A 是 没有 Nominatim Strict Postgres OSM
Gisgraphy 是 是 是 Radius, Country lat/lon, Disable Fuzzy 是 没有 Token EdgeNGram Solr OpenAddresses, OSM
Photon 是 没有 是 bbox, OSM Tags lat/lon 是 没有 Nominatim EdgeNGram ElasticSearch OSM
Pelias 是 是 是 Placetype, Country, Bbox, Radius, admin_boundary, Data source Proximity 是 没有 libpostal Who’s On First Token + EdgeNGram EdgeNGram ElasticSearch OSM, OpenAddresses,

Who's on First, Geonames. Supports custom data.

addok 是 没有 是 postal_code lat/lon address only 是 regex N/A Phonetization or Trigram EdgeNGram Redis BAN, BANO(OSM)
Mimirsbrunn 没有 没有 是 Dataset, Type, Zone lat/lon 是 没有 regex Cosmogony Trigram EdgeNGram ElasticSearch OpenAddresses, OSM, BAN

停止的项目

DuckDuckGo捷径

 DuckDuckGo offers quite a few Bang operators for directly linking to an object, or forming search queries.

  • !OSM, !OSt, !openstreet, !openstreet, !openstreetmap, !geouri searching as in www.openstreetmap.org.
    • !OSMnode direct id
    • !OSMway direct id
    • !OSMrelation direct id
  • !osmfr OSM-Fr
  • !Nominatim directly searching in Nominatim.
  • !Taginfo Taginfo
  • !OSMCha OSMCha
  • !hdyc How did you contribute to OpenStreetMap?
  • !osmw, !wosm, !osmwiki this OSM wiki
  • !hosm OSM Help
  • !osmforum OSM Forum

The operators are not case sensitive.

引用

  1. note TODO notes in the readme