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: mcjennis  XML
Profile for mcjennis -> Messages posted by mcjennis [14]
Author Message
Hi,
by chance I found that the regions of Poland are outdated, because just that named Vojvodato are correct, other places maybe refer to the situation before 1999.
But I don't know where to find the information to solve the problem by myself.
Does Anybody know?
Ohhhhh...
I'm sorry! I am feeling so ignorant! But I really didn't know anything about Crown dependency, shame on me...

But in wikipedia is written that each island has its own ISO code, hasn't it?

Crown dependencies are possessions of the British Crown, as opposed to overseas territories or colonies of the United Kingdom. They comprise the Channel Island bailiwicks of Jersey and Guernsey and the Isle of Man in the Irish Sea.

None forms part of the United Kingdom, being independently administrated jurisdictions, nor do they form part of the European Union. All three Crown dependencies are members of the British-Irish Council. From 2005, each Crown dependency has a Chief Minister as head of government. However, as they are possessions of the British Crown they are not sovereign nations in their own right, and the power to pass legislation affecting the islands rests ultimately with the British Parliament.

These Crown dependencies, together with the United Kingdom, are collectively known as the British Islands. They are treated as part of the United Kingdom for British nationality law purposes. However they maintain local controls over housing and employment which apply to British citizens without specified connections to that dependency (as well as to non-British citizens).

Each Island has its own separate international vehicle registration (GBG – Guernsey, GBA – Alderney, GBJ – Jersey, GBM – Isle of Man), internet domain (.gg – Guernsey, .je – Jersey, .im – Isle of Man), and ISO 3166-2 codes, first reserved on behalf of the Universal Postal Union (GGY – Guernsey, JEY – Jersey, IMN – Isle of Man) and then added officially by the International Organization for Standardization on March 29, 2006. 
Cool, but after a quick trial both GB and UK return:

<geonames style="MEDIUM">
<totalResultsCount>3</totalResultsCount>

<geoname>
<name>London</name>
<lat>51.5</lat>
<lng>-0.1166667</lng>
<geonameId>2643743</geonameId>
<countryCode>GB</countryCode>
<countryName>United Kingdom</countryName>
<fcl>P</fcl>
<fcode>PPLC</fcode>
</geoname>

<geoname>
<name>Saint Helier</name>
<lat>49.1833333</lat>
<lng>-2.1</lng>
<geonameId>3042091</geonameId>
<countryCode>JE</countryCode>
<countryName>Jersey</countryName>
<fcl>P</fcl>
<fcode>PPLC</fcode>
</geoname>

<geoname>
<name>St Peter Port</name>
<lat>49.4561111</lat>
<lng>-2.5408333</lng>
<geonameId>3042287</geonameId>
<countryCode>GG</countryCode>
<countryName>Guernsey</countryName>
<fcl>P</fcl>
<fcode>PPLC</fcode>
</geoname>
</geonames>

It must be an error.

Thanks a lot
Hi everybody,
I couldn't find a web service that given a coutryCode returns the capital node with lat and lng. Is there any service among ws.geonames.org's services that could help me?
I tried with cities web service but I was not able to find correct params.

thanks
As I wrote you by email, there is a big problem if you consider COMUNI as ADM3. In fact now in Italy and either in Spain we have 2 geonamesid for the same place: one for PPL another for ADM3. Actually it lead to unstalbility of geonamesid because user assigned to PPL geonamesid cannot be related to their ADM3 geonmaesid.

This fact vanish all my effort to map user by geonamesid, because at the end of the tree we have no stable leaves.
Hi,
I really need some help to complete my project.
To determine weather a place has children or not is vital for my goal. May anyone give me some advice?
I use getchildren web service to obtain a list of places, but I don't know if they are father.

Thank you
Hi Marc,
my tree navigation system is almost completed, you are able to walk up and down throughout the wolrd's administration divisions.
But I am not able to predict if a specific place has children or not. Would it be possible to have a flag to understand weather a place gotten by children webservice has children or not?
So I could put a link for expansion just for places with children.

Thank you very much
Fabrizio
great!
I found getHierarchy but didn't know about children... what about the JSON version of this methods?

cheers Fabrizio
Hi Marc,
I have a question for you. Do you think it would be possible for you to create two new webservices:
- getParent (geonameId) returning the geoId of the parent division
- getChildren(geonameId) returning the list that contains all geoIds

It will solve a lot of problems for my project.

thank you very much,
fabrizio
I don't think it could be possible... to determine a rectangular shape, I think you have to insert the new province boundary file. And go batching.
How can you change all the cities from the previous province to the new one? Is it a manual procedure? Or do you have an automatic or semiautomatic procedure?
You are slightly wrong. In Italy we have 107 Provinces:
http://www.comuni-italiani.it/province.html
not 110...
I did a few of corrections but how can I count all adm2 for italy?
this
http://www.geonames.org/search.html?q=adm2&country=IT
show me only 50 how about to see the others?
There are a lot of problems with admin2 subdivision in Italy for example Piemonte has 8 "province" but the db dump show only 5. Is it possible to solve this problem using the wiki area or it is a privileged job?
I am reorganizing your database for the greater country in Europe for using that in a big web project, so I am finding a lot of errors.
I would like to provide my help for adjust that errors.
My database structure is

CREATE TABLE Zones (
id INT NOT NULL,
parent_id INT NOT NULL,
name VARCHAR(255) NULL,
country_code CHAR(3) NULL,
feature_class CHAR(1) NULL,
parent_code CHAR(2) NULL,
admin1name VARCHAR(255) NULL,
admin1code CHAR(2) NULL,
admin2name VARCHAR(255) NULL,
admin2code CHAR(2) NULL,
admin3name VARCHAR(255) NULL,
admin3code CHAR(2) NULL,
PRIMARY KEY(id),
INDEX Zones_FKIndex1(parent_id),
FOREIGN KEY(parent_id)
);

My objective is to create a hierarchical tree structure for the European bigger country.
Hi Marc,
I think this is a very usefull service, but just 2 questions:
- why the hierarchical service for Italy doesn't return admin1 and admin2 in another geoname tag, so I need to ask the subvidision service to do that?
- why in Italy node <adminName1>Umbria</adminName1> ?

thanks Fabrizio
 
Profile for mcjennis -> Messages posted by mcjennis [14]
Go to:   
Powered by JForum 2.1.5 © JForum Team