W3C home > Mailing lists > Public > public-egov-ig@w3.org > August 2010

Fw: Little Maps of the US

From: Gannon Dick <gannon_dick@yahoo.com>
Date: Mon, 30 Aug 2010 18:43:22 -0700 (PDT)
Message-ID: <829089.1622.qm@web112603.mail.gq1.yahoo.com>
To: public-egov-ig@w3.org
In honor of the 5th anniversary of Hurricane Katrina, I modified Little Maps to include a link to the the NWS 5-Day point Weather Forecast.  The forecast page is HTML, but a link to an XML version is included with the forecast (I bypassed the SOAP Service).  I did not make any modifications to the RDFa ... for now.

Test Files are the same as below. (only usgs.xsl has changed)

Next step is to provide a 5-Day Astronomy 'forecast' (sunrise, sunset, twilight(s), etc.) for each point.

--Gannon

--- On Wed, 8/25/10, Gannon Dick <gannon_dick@yahoo.com> wrote:

From: Gannon Dick <gannon_dick@yahoo.com>
Subject: Little Maps of the US
To: public-egov-ig@w3.org
Date: Wednesday, August 25, 2010, 4:06 PM

The U.S. Geological Survey (USGS) Geographic Names Information Service (GNIS) provides a search facility, with an XML return.  This can be used for mapping small groups of place names; single counties, etc.  The results (with a provided search form) can be downloaded as CSV, too.

Using the XML files has an additional benefit though.  The data can be transformed into a more usable (and more readable) web format with detail as RDFa.  Further GRDDL transforms can extract the RDFa to RDF XML.

e.g. Parker County, TX
[xml service] <http://geonames.usgs.gov/pls/gnis/x?fname=&state='Texas'&cnty='parker'&cell=&ftype='ppl'> =
[source] http://www.rustprivacy.org/sun/usgs-parker.xml
[transformed* file] http://www.rustprivacy.org/sun/usgs-parker.html

[trans. RDF (head only)]
 http://rustprivacy.org/sun/usgs-parker-head.rdf
[trans. RDF from RDFa] http://rustprivacy.org/sun/usgs-parker.rdf

The locations of the transforms*, as well as information on name spaces, etc. are at the top of the transformed page (e.g. usgs-parker.html).  The place name links take you back to that record on the GNIS servers and several mapping services are available on the right side of the page (if you wish to see a "real" map).

--Gannon
Received on Tuesday, 31 August 2010 01:43:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 August 2010 01:43:58 GMT