[OSM-dev] How to use XAPI

Stefan de Konink stefan at konink.de
Sun Aug 15 15:51:00 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Op 15-08-10 16:31, bernhard zwischenbrugger schreef:
> Hi all
> 
> My next project is an XAPI map.
> You can see a prototype at:
> http://www.khtml.org/osm/v0.76/examples/xapi.html
> 
> It is possible to make a global search for
> power_source=nuclear
> 
> But a global search for
> amenity=restaurant
> would bring too much results and it would produce too much load for the db.
> 
> My question:
> Is there a possiblity to bring this feature to the normal users?
> Is there an undocumented limit parameter to reduce the output to a
> maximum number of results?
> Any other ideas how to enable this feature?

Using the default XAPI you can also bbox the request :) bbox it to 110%
of the viewport at a certain zoomlevel and you probably have a winner.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAkxn/tQACgkQYH1+F2Rqwn0WwACdGZpD5XCMreQcCpr4GD4Tqdwl
W0YAnRQDyrXMjbAcr2JeJqzh7yXNemrY
=GJoI
-----END PGP SIGNATURE-----



More information about the dev mailing list