Am Thursday 21 May 2009 schrieb Radomir Cernoch: > Guenther Meyer píše v Čt 21. 05. 2009 v 00:49 +0200: > > Am Wednesday 20 May 2009 schrieb Radomir Cernoch: > > ...but you would need some kind of gis database/functions to evaluate the > > polygon data. > > the easy way of reading just keys and values like with most of the other > > features in the osm database would not be possible. > > I have read somewhere (a few weeks ago) that querying whether "a point > lies in a country" can be done quickly. I was assuming that the same > should be possible for any polygon. However I am not aware of technical > details. > yes - if you can make use of a database with geospatial extension like postgis. there you have functions to find out easily if a point or a line (which streets are) lies inside a given polygon. I you don't have those functions, I don't know if this is possible. It may be, but this would be a very complex thing...
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

