[OSM-dev] What country is something in?

Marcus Wolschon Marcus at Wolschon.biz
Fri Oct 10 17:58:06 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan de Konink schrieb:
> Roland Olbricht schreef:
>> is anybody working currently on the "What country is something
> in?" issue from
>> the Things-to-do-page? I would like to work on it, but I want to
> avoid doing
>> work twice.
>
> Isn't that a trivial thing using PostGIS?

It would be if we had polygons
or complete relations containing all parts
of a complete border.

...we don't have either.
What we have are merely fragments of borders.

I wold LOVE to have a function that can tell me
what country a point is in. It would make looking
up local laws for routing finally possible.

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI74mdf1hPnk3Z0cQRAl49AKCBf+c/L4q1G0UTdZhnK2WptSBaqACeKd1Y
T9Ou1l66BNAD3xEJfL3BMCA=
=bB+5
-----END PGP SIGNATURE-----





More information about the dev mailing list