123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- BI and PM: Mobile
- (C) Copyright IBM Corp. 2007, 2012
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <location>
-
- <!-- All providers with active='true' will be used, in sequence, to reverse-geocode WGS84 coordinates. -->
-
- <file active="false" filename="test1.data">
- <regex latitude='1' longitude='2'>
- ^(.*);(.*);(.*)$
- <capture-group index='3' name='name'/>
- </regex>
- </file>
-
- <!-- CA.zip from geonames.org. -->
- <file active="false" filename="CA_PPL.txt">
- <!--
- 1 geonameid : integer id of record in geonames database
- 2 name : name of geographical point (utf8) varchar(200)
- 3 asciiname : name of geographical point in plain ascii characters, varchar(200)
- 4 alternatenames : alternatenames, comma separated varchar(4000)
- 5 latitude : latitude in decimal degrees (wgs84)
- 6 longitude : longitude in decimal degrees (wgs84)
- 7 feature class : see http://www.geonames.org/export/codes.html, char(1)
- 8 feature code : see http://www.geonames.org/export/codes.html, varchar(10)
- 9 country code : ISO-3166 2-letter country code, 2 characters
- 10 cc2 : alternate country codes, comma separated, ISO-3166 2-letter country code, 60 characters
- 11 admin1 code : fipscode (subject to change to iso code), isocode for the us and ch, see file admin1Codes.txt for display names of this code; varchar(20)
- 12 admin2 code : code for the second administrative division, a county in the US, see file admin2Codes.txt; varchar(80)
- 13 admin3 code : code for third level administrative division, varchar(20)
- 14 admin4 code : code for fourth level administrative division, varchar(20)
- 15 population : integer
- 16 elevation : in meters, integer
- 17 gtopo30 : average elevation of 30'x30' (ca 900mx900m) area in meters, integer
- 18 timezone : the timezone id (see file timeZone.txt)
- 19 modification date : date of last modification in yyyy-MM-dd format
- -->
- <regex latitude='2' longitude='3'>
- ^[^\t]*\t([^\t]*)\t[^\t]*\t[^\t]*\t([^\t]*)\t([^\t]*)\tP\tPPL[ACG]?\t([^\t]*)\t
- <capture-group index='1' name="city"/>
- <capture-group index='4' name="country"/>
- </regex>
- </file>
-
- </location>
|