I wanted to work on the data-querying first, so we needed to load the GNIS data.
The GNIS data is in PostGIS and the table looks like this:
Note that the data is indexed on the full_name_lc column and there is a spatial index on the geometry. These are crutial for performance.
Here is an example row from the table:
We have to configure GeoServer to find this data.
I won't repeat how to set up GeoServer here, but I will point you to the tutorials.
We call the layer 'gnis', and the namespace is 'topp' (The Open Planning project). The namespace is just a label before the data, usually signifying who is supplying the data. You can call it whatever you want, even "brent_rules".
>>Proceed onto the next step, Step 3: Set Up the Queries* >>