US Cities GeoRSS feed documentation

(this page is OpenSearch-enabled!)

Request ::

URL:

http://www.rajsingh.org/service/uscities.php?

Parameters:

q queries for this word in the city name (not case-sensitive)
maxfeatures maximum # of entries to return (default is 10)
bbox coordinates that bound the area of interest (in the CRS specified below)

coordinates are ordered: left,lower,right,upper.

format GeoAtom (default) or bxfs
crs

EPSG coordinate reference system code in which the cities should be reported (default is EPSG:4326).

Examples:
NAD83 / Massachusetts Mainland: 26986
NAD83 / Kentucky North: 26979
NAD83 / Kentucky South: 26980
NAD27 / Kentucky North: 26779
NAD27 / Kentucky South: 26780

Response ::

A GeoAtom feed in GeoRSS-GML format of US Cities meeting the parameters specified.

Examples ::

up to 3 cities within a specified bounding box:
http://www.rajsingh.org/service/uscities.php?maxfeatures=3&crs=epsg:4326&bbox=-74.3,40.7,-74.5,40.9

up to 100 cities whose name contains Springfield (case-insensitive):
http://www.rajsingh.org/service/uscities.php?q=Springfield&maxfeatures=100

the same query in BXFS format:
http://www.rajsingh.org/service/uscities.php?q=Springfield&maxfeatures=100&format=bxfs

last modified 2009-03-03