» geonames.org
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

geonames.org

in the series of webservices:

The GeoNames geographical database is available for download free of charge under a creative commons attribution license. It contains over eight million geographical names and consists of 6.5 million unique features whereof 2.2 million populated places and 1.8 million alternate names.

geonames.org

this is huge! the database includes fields like the name (of a place), latitude, longitude, country code, population count, elevation, timezone and more.

for ease of use in vvvv i see two options:

  • download (scroll down for file-infos) a database dump and import it in your own local mysql database. (i've used the gui heidi-sql for the import as i am not really familiar with databases). then you can easily use vvvvs mysql nodes (Database (MySQL Network) ?, Select (MySQL), ..) to access the data. alternatively you could try to use Separate (String) and/or RegExpr (String) to retreive the data you're interested in, but this could become quite a non-realtime approach with that large amount of data.

btw. when dealing with the latitude and longitude data the Polar (3d) and Cartesian (3d) nodes might come handy (also see the \girlpower\worldcities.v4p for a bad example. note to self: make that a good one for >beta19.1).

joreg, Thursday, Dec 4th 2008 Digg | Tweet | Delicious 0 comments  
  • 1

anonymous user login

Shoutbox

~7d ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: blog

~28d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~28d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~1mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~1mth ago

~1mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~1mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~1mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~2mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~2mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/