]> git.openstreetmap.org Git - nominatim.git/commit
simplify geometry handling in details page
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 8 Nov 2012 21:21:20 +0000 (22:21 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 8 Nov 2012 21:21:20 +0000 (22:21 +0100)
commit4bb56d98a8409d5708b599ceded5381bfd99339e
tree074a8512c2fa963bd5edef59ffa45a176e13c6f2
parentdf3202017e681dc6973c66d8fc779604c6d29e3f
simplify geometry handling in details page

Hand the WKT directly to OpenLayers and let the client do the parsing,
it will be able to handle multipolygons as well as line strings.
Simplify geometries if they have too many points.

Also limit the number of child objects listed to 500.
lib/template/details-html.php
website/details.php