administratives links

View: New views
3 Messages — Rating Filter:   Alert me  

administratives links

by ired :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
I'm building a geo tree and I encountered this problem:

ITALY: Treviso is a town in the Veneto region and also a province.
So I have to find out how to link  Treviso in the AMIN2 level with
Treviso in the PPL level.
How could I link PPL->TREVISO with AMIN2-> Province of Treviso?
regards
Giampaolo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "GeoNames" group.
To post to this group, send email to geonames@...
To unsubscribe from this group, send email to geonames+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/geonames?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: administratives links

by Marc Wick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ciao Giampaolo

You find the link in the admincode2 field. The combination of
countrycode, admincode1 and admincode2 defines the ADM2.

<adminCode1>20</adminCode1>
<adminName1>Veneto</adminName1>
<adminCode2>TV</adminCode2>
<adminName2>Provincia di Treviso</adminName2>
<adminCode3>026086</adminCode3>
<adminName3>Treviso</adminName3>

http://ws.geonames.org/search?q=treviso&maxRows=10&lang=es&style=full

Best

Marc

ired wrote:

> Hi,
> I'm building a geo tree and I encountered this problem:
>
> ITALY: Treviso is a town in the Veneto region and also a province.
> So I have to find out how to link  Treviso in the AMIN2 level with
> Treviso in the PPL level.
> How could I link PPL->TREVISO with AMIN2-> Province of Treviso?
> regards
> Giampaolo
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "GeoNames" group.
To post to this group, send email to geonames@...
To unsubscribe from this group, send email to geonames+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/geonames?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: administratives links

by ired :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Marc
thanks for your reply and kind help.
i'll try and let you know ....

Best regards
G.


2009/7/17 Marc Wick <marc@...>:

>
> Ciao Giampaolo
>
> You find the link in the admincode2 field. The combination of
> countrycode, admincode1 and admincode2 defines the ADM2.
>
> <adminCode1>20</adminCode1>
> <adminName1>Veneto</adminName1>
> <adminCode2>TV</adminCode2>
> <adminName2>Provincia di Treviso</adminName2>
> <adminCode3>026086</adminCode3>
> <adminName3>Treviso</adminName3>
>
> http://ws.geonames.org/search?q=treviso&maxRows=10&lang=es&style=full
>
> Best
>
> Marc
>
> ired wrote:
>> Hi,
>> I'm building a geo tree and I encountered this problem:
>>
>> ITALY: Treviso is a town in the Veneto region and also a province.
>> So I have to find out how to link  Treviso in the AMIN2 level with
>> Treviso in the PPL level.
>> How could I link PPL->TREVISO with AMIN2-> Province of Treviso?
>> regards
>> Giampaolo
>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "GeoNames" group.
To post to this group, send email to geonames@...
To unsubscribe from this group, send email to geonames+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/geonames?hl=en
-~----------~----~----~----~------~----~------~--~---