Nominatim/website
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
..
css clean up details page 2012-11-16 23:04:25 +01:00
images fix typos in mapicons 2012-04-26 23:23:27 +02:00
js make website work with https without browser complaints 2014-02-20 19:46:41 +01:00
deletable.php move deletable and polygons into default website 2012-12-03 14:26:29 +00:00
details.php harmonize formatting of frontend php 2013-04-12 22:45:24 +02:00
hierarchy.php make sure place exists before printing hierarchy 2015-03-29 19:03:51 +02:00
polygons.php harmonize formatting of frontend php 2013-04-12 22:45:24 +02:00
reverse.php more strict parameter checking for reverse 2015-03-17 21:06:58 +01:00
search.php Add polygon simplification 2015-04-27 15:16:38 +02:00
status.php return a 500 error on bad status 2014-01-23 16:48:20 +00:00