GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: marc  XML
Profile for marc -> Messages posted by marc [4501] Go to Page: Previous  1, 2, 3 ... 114, 115, 116 ... 224, 225, 226 Next 
Author Message
there shouldn't be duplications within the feature class 'P'. Administrative divisions have the feature class 'A' and are another beast.

Best

Marc
If this is the only format you allow and if it is exactly city name and state code then you can parse the query string and query the database on the placename and the admin1code columns.

For user input this is normally not flexible enough and you will have to implement a full text search or use the GeoNames search web service.

Best

Marc
It is typical to cite the project name with a link and a date.

Example:
http://portal.acm.org/citation.cfm?id=1653771.1653781&coll=&dl=GUIDE&type=series&idx=SERIES10657&part=series&WantType=Proceedings&title=GIS


...
6 GeoNames. GeoNames. http://geonames.org/. Retr. June 17, 2009.
...

Best

Marc
areas within cities have the feature code PPLX 'section of populated places'.
It will be removed with the next dump.


Marc
The postal codes are in an other directory:
http://download.geonames.org/export/zip/


Marc
1) use the search function with adminCode and country parameters
2) use the postal code search with the placeName and country. I wouldn't use the admin as it may not be filled in all countries
3) again use the postal code search

In general I would not force the validation, I would more use it as a suggest or warning that the combination may be wrong. It may happen that new postal codes are not yet in the database. For a forced validation it is better to use the regular expression of the postal code format.

Marc
Thanks. I have moved it.

Marc

references:
http://www.dunyadevletleri.com/fotograf/11934556.html
http://1911encyclopedia.org/Rio_De_Oro
Ron

You are writing 'all' places. The xml interface is not meant to get the entire database or huge numbers of records. There are nearly 60000 toponyms in Ohio.
You can get the first of them with the web service:
http://ws.geonames.org/search?q=&maxRows=10&country=US&adminCode1=OH

Documentation:
http://www.geonames.org/export/geonames-search.html

Best

Marc
This is wrong. It will be removed from the file.


Marc
You don't need any dump files for adm codes. All information is included in the main dump file (including adm3 and adm4 codes).
If you want to use fk's for the admin codes you will first have to delete the orphaned codes. We have preferred to not deleted the orphaned codes as they still contain valuable information, even if it is obsolete and refers to a previous adm division, but as long as the new and correct adm code has not been determined we keep the old one as a reference.

Marc
No, it is currently not planned to release and support the source code for lack of time.


Marc
Thanks, Fred.
I was not aware of it. It was working for me, possibly the broken javascript script was still correct in my browsers cache.
The bug should be fixed now.

Best

Marc
select * from geoname where admincode1='OH';

If you only want populate places:

select * from geoname where admincode1='OH' and featureClass='P';
The hiearchy service returns only one name per language:
http://ws.geonames.org/hierarchy?geonameId=5128581&style=full
Hi

We are currently working on a feature code cleanup and may introduce new codes to the classification scheme. Rather than reinventing the wheel I would suggest to follow one of the standards like the UN standard for regions:
http://unstats.un.org/unsd/methods/m49/m49regin.htm

Best

Marc
Where is the problem?
http://ws.geonames.org/get?geonameId=5128581&style=full


Marc
The duplicates had already been deleted.

Marc
The first letters of the postal codes are available in the postal code dumps. The entire UK postal code is not available as it is copyright protected by Royal Mail.

Marc
The language code is only returned with the XML version of the request. For the XML request it was easy to add the info as attribute of the xml element without breaking the existing xml definition. For json it would need a refactoring of the returned object and it would break existing application.


Marc
 
Profile for marc -> Messages posted by marc [4501] Go to Page: Previous  1, 2, 3 ... 114, 115, 116 ... 224, 225, 226 Next 
Go to:   
Powered by JForum 2.1.5 © JForum Team