Oleksandr Shulgin ab47773604 Add polygon simplification
New query string parameter polygon_threshold=<0.0..1> is introduced.
The float value of this parameter (defaults to 0) is passed to
ST_SimplifyPreserveTopology() on geometry we're about to output in
one (or many) requested formats such as GeoJSON, KML, etc.

This is useful when getting border polygons for whole countries, but
rendering them at large scale, when most of the high resolution details
cannot be seen anyway.  For example, the unsimplified polygon data for
Germany in GeoJSON format currently makes for about 3 MB response body.
With use of this new parameter, the application can greatly reduce the
amount of downloaded data and server response time while providing its
users with the same picture.  On a typical laptop screen resolution,
zooming out to fit the whole country borders on screen, only 1/100 amount
of details could be well enough.
2015-04-27 15:16:38 +02:00
2013-01-22 21:06:29 +01:00
2015-04-27 15:16:38 +02:00
2013-10-02 19:03:13 +02:00
2015-04-27 15:16:38 +02:00
2012-09-29 18:53:21 +02:00
2014-10-03 22:48:39 +02:00
2012-06-16 01:25:16 +02:00
2015-04-18 22:48:46 +02:00
2012-04-27 22:19:55 +02:00
2012-06-16 01:25:16 +02:00
2014-12-19 23:44:54 +01:00

Nominatim
=========

Nominatim (from the Latin, 'by name') is a tool to search OpenStreetMap data
by name and address (geocoding) and to generate synthetic addresses of
OSM points (reverse geocoding). An instance with up-to-date data can be found
at http://nominatim.openstreetmap.org. Nominatim is also used as one of the
sources for the Search box on the OpenStreetMap home page and powers the search
on the MapQuest Open Initiative websites.

Documentation
=============

More information about Nominatim, including usage and installation instructions,
can be found in the OSM wiki at:

http://wiki.openstreetmap.org/wiki/Nominatim

Installation
============

The following instructions is a quick guide to installation. A more detailed guide
how to set up your own instance of Nominatim can be found in the wiki:

http://wiki.openstreetmap.org/wiki/Nominatim/Installation

Note that this repository contains a submodule called osm2pgsql. Make sure it
is cloned as well by running `git submodule update --init`.

Installation steps:

0. If checking out from git run:

     ./autogen.sh

1. Compile Nominatim:

     ./configure
     make

2. Get OSM data and import:

     ./utils/setup.php --osm-file <your planet file> --all

3. Point your webserver to the ./website directory.

License
=======

The source code is available under a GPLv2 license.

Contact and Bugreports
======================

For questions you can join the geocoding mailinglist, see
http://lists.openstreetmap.org/listinfo/geocoding

Bugs may be reported on the github project site:
https://github.com/twain47/Nominatim
Description
Open Source search based on OpenStreetMap data
Readme 162 MiB
Languages
Python 71.2%
Gherkin 17.9%
PLpgSQL 7.1%
Lua 2.3%
Shell 1.3%
Other 0.2%