[OpenStreetMap] #3349: Nominatim search result box for boundary=administrative relations do not propse to show boundary relation

OpenStreetMap trac at noreply.openstreetmap.org
Fri Apr 26 17:21:37 UTC 2013


#3349: Nominatim search result box for boundary=administrative relations do not
propse to show boundary relation
--------------------------+-------------------------
  Reporter:  PierZen      |      Owner:  rails-dev@…
      Type:  enhancement  |     Status:  closed
  Priority:  trivial      |  Milestone:
 Component:  website      |    Version:
Resolution:  fixed        |   Keywords:  boundaries
--------------------------+-------------------------

Comment (by lonvia):

 No chance to get England to load on my netbook with Firefox 21.0. It
 already chokes on the boundary of
 [http://www.openstreetmap.org/?relation=1690227 the canton of Zurich].
 Oddly enough, it loads ok on the browse page and with the given link. It
 just is slow to load. If I understand the code right, then the geometries
 aren't cached on the client side. That might help a bit in the case were
 somebody jumps rapidly between search results.

 Just for the record, there is also the possibility to get the geometries
 from Nominatim. There is already some code in place that simplifies
 geometries so that they become managable. It's currently only used on the
 html search interface on nominatim's home page but there is no reason not
 to make it public.

 Having played a bit more with it, the serialisation issue is the more
 pressing one: search for England, click on 'England,UK', click on
 something else, wait and see the map jump back to England.
 On WMT I've solved this with a serial counter, see
 [https://github.com/lonvia/waymarked-trails-
 site/blob/master/static/js/Routes.js#L81 here] but I'm sure the JS gurus
 here know of a better solution.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/3349#comment:8>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list