Archive for the 'GeoNames' Category

GeoNames Search (3)

Sunday, March 11th, 2007

In our last post, we created an application that queried the GeoNames webservice and returned the results into a table. A logical next step would be to add the capability to map the results on a world map. So today will be use some of the code we already wrote for the WorldMapper project to add that functionality.

Here is how my final form looked after I added a world map picture and 2 new buttons:

GeoNames3

(more…)

GeoNames Search (2)

Sunday, March 4th, 2007

In this demonstration, a simple C# application will be created to search the GeoNames database and display the results in tabular form. Let’s begin by creating a new Windows Application in Visual C# Express.

A simple form can be set up to capture the necessary input parameters: location name, country, and the number of rows returned. At the bottom of the form, add a DataGridView control to display the XML results. My completed form looks like this:

GeoNamesSearch1

(more…)

GeoNames Search (1)

Sunday, February 25th, 2007

Geonames.org is a great resource for free geographic information. It is a collection of millions of locations that can be searched online or downloaded for offline use. In this project, we will build a simple application to query the Geonames web service and display the results in a table and on a map.

(more…)