France geo questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

France geo questions

Christian Carlow-OFBizzer
When choosing France as the country for creating contact info for a
party, the state/province field is not populated.  One reason for this
is that the FRA record in the CountryAddressFormat entity does not have
the geoAssocTypeId set.  However, even when the geoAssocTypeId is set to
REGIONS, the list is still not populated because the the corresponding
Geo records geoTypeId is not set to one of STATE, PROVINCE, COUNTY, or
MUNICIPALITY as required by getAssociatedStateList service.  Instead
they are set to REGION and COUNTY_CITY.

This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has 22
metro regions and 96 metro depts within the regions.  Can someone advise
how to correctly populate the state/province list?  Should only the 22
regions be listed or should the 96 depts be listed with the region also
indicated?  Also should the REGION and COUNTRY_CITY geoTypeIds be added
to the getAssociatedStateList service as compatible types?

Also, the geoId of the France regions appear to be incorrect according
to the wikipedia article above.  For example, the GeoId of Alsace is
FR-ALS however it is indicated as FR-A in the wikipedia article.  Should
these also be correct for consistency with ISO?
Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Christian Carlow-OFBizzer
I suppose populating the state/province list isn't really necessary so
long as the country doesn't have cities that are named the same such as
in USA.  Therefore if France doesn't have more than one city named the
same then my question can be disregarded.  If the same rule applies to
the other geo JIRA issues I created, which I assume is the case for
Israel being so small, then they may potentially need to be reverted.  
The service doesn't require the state/province field so leaving the list
empty doesn't cause any problems.

On 04/01/2014 10:30 AM, Christian Carlow wrote:

> When choosing France as the country for creating contact info for a
> party, the state/province field is not populated.  One reason for this
> is that the FRA record in the CountryAddressFormat entity does not
> have the geoAssocTypeId set.  However, even when the geoAssocTypeId is
> set to REGIONS, the list is still not populated because the the
> corresponding Geo records geoTypeId is not set to one of STATE,
> PROVINCE, COUNTY, or MUNICIPALITY as required by
> getAssociatedStateList service.  Instead they are set to REGION and
> COUNTY_CITY.
>
> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has 22
> metro regions and 96 metro depts within the regions.  Can someone
> advise how to correctly populate the state/province list? Should only
> the 22 regions be listed or should the 96 depts be listed with the
> region also indicated?  Also should the REGION and COUNTRY_CITY
> geoTypeIds be added to the getAssociatedStateList service as
> compatible types?
>
> Also, the geoId of the France regions appear to be incorrect according
> to the wikipedia article above.  For example, the GeoId of Alsace is
> FR-ALS however it is indicated as FR-A in the wikipedia article.  
> Should these also be correct for consistency with ISO?

Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Christian Carlow-OFBizzer
Also, with regards to my question about the France geoIds not matching
those of ISO codes, the same incompatibility exists for USA state geoIds
so it isn't really an issue either unless the community agrees they
should match which entails more geo work.

On 04/01/2014 11:50 AM, Christian Carlow wrote:

> I suppose populating the state/province list isn't really necessary so
> long as the country doesn't have cities that are named the same such
> as in USA.  Therefore if France doesn't have more than one city named
> the same then my question can be disregarded.  If the same rule
> applies to the other geo JIRA issues I created, which I assume is the
> case for Israel being so small, then they may potentially need to be
> reverted.  The service doesn't require the state/province field so
> leaving the list empty doesn't cause any problems.
>
> On 04/01/2014 10:30 AM, Christian Carlow wrote:
>> When choosing France as the country for creating contact info for a
>> party, the state/province field is not populated.  One reason for
>> this is that the FRA record in the CountryAddressFormat entity does
>> not have the geoAssocTypeId set.  However, even when the
>> geoAssocTypeId is set to REGIONS, the list is still not populated
>> because the the corresponding Geo records geoTypeId is not set to one
>> of STATE, PROVINCE, COUNTY, or MUNICIPALITY as required by
>> getAssociatedStateList service.  Instead they are set to REGION and
>> COUNTY_CITY.
>>
>> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has
>> 22 metro regions and 96 metro depts within the regions.  Can someone
>> advise how to correctly populate the state/province list? Should only
>> the 22 regions be listed or should the 96 depts be listed with the
>> region also indicated?  Also should the REGION and COUNTRY_CITY
>> geoTypeIds be added to the getAssociatedStateList service as
>> compatible types?
>>
>> Also, the geoId of the France regions appear to be incorrect
>> according to the wikipedia article above.  For example, the GeoId of
>> Alsace is FR-ALS however it is indicated as FR-A in the wikipedia
>> article.  Should these also be correct for consistency with ISO?
>

Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Jacques Le Roux
Administrator
In reply to this post by Christian Carlow-OFBizzer
Actually it depends on your needs. In France we still use only "départements" for addresses (with street, postal code and city of course).

There are rumours about things changing. Like no longer having "départements" in France but only "régions". But I doubt this will appear in a near
future. For history sake, the dpts were created during the revolution to allow a "Préfet" (responsible on behalf the state for the dpt) to get into
any part of it in one day on horseback, so a bit deprecated ;)

So for now in term of addresses only "départements" are used. So in the state province list regions make no sense yet. You should use departements
there, maybe data should be changed. As strange as it could seem, I have never worked on a major French web project (only foreign ones). So I never
checked those values which were mostly updated by Erwan when he worked with Néréides. On French web sites, you see dpt sometimes and on foreigner
sites sometimes regions, it's not quite clear to me and seems to depend on the situation.

Also if data are wrong please fix them. Note that for that I don't rely only on Wikipedia, but prefer to check at https://www.iso.org/obp/ui/#search
I put some links in top of framework/common/data/GeoData.xml

HTH

Jacques


Le 01/04/2014 17:30, Christian Carlow a écrit :

> When choosing France as the country for creating contact info for a party, the state/province field is not populated.  One reason for this is that
> the FRA record in the CountryAddressFormat entity does not have the geoAssocTypeId set.  However, even when the geoAssocTypeId is set to REGIONS,
> the list is still not populated because the the corresponding Geo records geoTypeId is not set to one of STATE, PROVINCE, COUNTY, or MUNICIPALITY as
> required by getAssociatedStateList service.  Instead they are set to REGION and COUNTY_CITY.
>
> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has 22 metro regions and 96 metro depts within the regions.  Can someone advise how
> to correctly populate the state/province list? Should only the 22 regions be listed or should the 96 depts be listed with the region also
> indicated?  Also should the REGION and COUNTRY_CITY geoTypeIds be added to the getAssociatedStateList service as compatible types?
>
> Also, the geoId of the France regions appear to be incorrect according to the wikipedia article above.  For example, the GeoId of Alsace is FR-ALS
> however it is indicated as FR-A in the wikipedia article.  Should these also be correct for consistency with ISO?
>

--

Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Jacques Le Roux
Administrator
In reply to this post by Christian Carlow-OFBizzer
Yes exactly, leaving those empty is often how it's done, at least in France

Jacques

Le 01/04/2014 18:50, Christian Carlow a écrit :

> I suppose populating the state/province list isn't really necessary so long as the country doesn't have cities that are named the same such as in
> USA.  Therefore if France doesn't have more than one city named the same then my question can be disregarded.  If the same rule applies to the other
> geo JIRA issues I created, which I assume is the case for Israel being so small, then they may potentially need to be reverted.  The service doesn't
> require the state/province field so leaving the list empty doesn't cause any problems.
>
> On 04/01/2014 10:30 AM, Christian Carlow wrote:
>> When choosing France as the country for creating contact info for a party, the state/province field is not populated.  One reason for this is that
>> the FRA record in the CountryAddressFormat entity does not have the geoAssocTypeId set.  However, even when the geoAssocTypeId is set to REGIONS,
>> the list is still not populated because the the corresponding Geo records geoTypeId is not set to one of STATE, PROVINCE, COUNTY, or MUNICIPALITY
>> as required by getAssociatedStateList service.  Instead they are set to REGION and COUNTY_CITY.
>>
>> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has 22 metro regions and 96 metro depts within the regions.  Can someone advise how
>> to correctly populate the state/province list? Should only the 22 regions be listed or should the 96 depts be listed with the region also
>> indicated?  Also should the REGION and COUNTRY_CITY geoTypeIds be added to the getAssociatedStateList service as compatible types?
>>
>> Also, the geoId of the France regions appear to be incorrect according to the wikipedia article above.  For example, the GeoId of Alsace is FR-ALS
>> however it is indicated as FR-A in the wikipedia article.  Should these also be correct for consistency with ISO?
>
>

--

Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Jacques Le Roux
Administrator
In reply to this post by Christian Carlow-OFBizzer
There are cities names the same in France, but the postal code is the justice of the peace

We can keep Israel geo data, can't hurt...

I'd have to check geoIds againts ISO codes, but I guess if anybody complains then it must be OK (at least for now)

Jacques

Le 01/04/2014 18:53, Christian Carlow a écrit :

> Also, with regards to my question about the France geoIds not matching those of ISO codes, the same incompatibility exists for USA state geoIds so
> it isn't really an issue either unless the community agrees they should match which entails more geo work.
>
> On 04/01/2014 11:50 AM, Christian Carlow wrote:
>> I suppose populating the state/province list isn't really necessary so long as the country doesn't have cities that are named the same such as in
>> USA.  Therefore if France doesn't have more than one city named the same then my question can be disregarded.  If the same rule applies to the
>> other geo JIRA issues I created, which I assume is the case for Israel being so small, then they may potentially need to be reverted.  The service
>> doesn't require the state/province field so leaving the list empty doesn't cause any problems.
>>
>> On 04/01/2014 10:30 AM, Christian Carlow wrote:
>>> When choosing France as the country for creating contact info for a party, the state/province field is not populated.  One reason for this is that
>>> the FRA record in the CountryAddressFormat entity does not have the geoAssocTypeId set.  However, even when the geoAssocTypeId is set to REGIONS,
>>> the list is still not populated because the the corresponding Geo records geoTypeId is not set to one of STATE, PROVINCE, COUNTY, or MUNICIPALITY
>>> as required by getAssociatedStateList service.  Instead they are set to REGION and COUNTY_CITY.
>>>
>>> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has 22 metro regions and 96 metro depts within the regions.  Can someone advise
>>> how to correctly populate the state/province list? Should only the 22 regions be listed or should the 96 depts be listed with the region also
>>> indicated? Also should the REGION and COUNTRY_CITY geoTypeIds be added to the getAssociatedStateList service as compatible types?
>>>
>>> Also, the geoId of the France regions appear to be incorrect according to the wikipedia article above.  For example, the GeoId of Alsace is FR-ALS
>>> however it is indicated as FR-A in the wikipedia article.  Should these also be correct for consistency with ISO?
>>
>
>

--

Reply | Threaded
Open this post in threaded view
|

Re: France geo questions

Christian Carlow-OFBizzer
Thanks Jacques,

I'll be more diligent when creating geo issues from now on.

On 04/01/2014 12:54 PM, Jacques Le Roux wrote:

> There are cities names the same in France, but the postal code is the
> justice of the peace
>
> We can keep Israel geo data, can't hurt...
>
> I'd have to check geoIds againts ISO codes, but I guess if anybody
> complains then it must be OK (at least for now)
>
> Jacques
>
> Le 01/04/2014 18:53, Christian Carlow a écrit :
>> Also, with regards to my question about the France geoIds not
>> matching those of ISO codes, the same incompatibility exists for USA
>> state geoIds so it isn't really an issue either unless the community
>> agrees they should match which entails more geo work.
>>
>> On 04/01/2014 11:50 AM, Christian Carlow wrote:
>>> I suppose populating the state/province list isn't really necessary
>>> so long as the country doesn't have cities that are named the same
>>> such as in USA.  Therefore if France doesn't have more than one city
>>> named the same then my question can be disregarded.  If the same
>>> rule applies to the other geo JIRA issues I created, which I assume
>>> is the case for Israel being so small, then they may potentially
>>> need to be reverted.  The service doesn't require the state/province
>>> field so leaving the list empty doesn't cause any problems.
>>>
>>> On 04/01/2014 10:30 AM, Christian Carlow wrote:
>>>> When choosing France as the country for creating contact info for a
>>>> party, the state/province field is not populated.  One reason for
>>>> this is that the FRA record in the CountryAddressFormat entity does
>>>> not have the geoAssocTypeId set.  However, even when the
>>>> geoAssocTypeId is set to REGIONS, the list is still not populated
>>>> because the the corresponding Geo records geoTypeId is not set to
>>>> one of STATE, PROVINCE, COUNTY, or MUNICIPALITY as required by
>>>> getAssociatedStateList service.  Instead they are set to REGION and
>>>> COUNTY_CITY.
>>>>
>>>> This http://en.wikipedia.org/wiki/ISO_3166-2:FR explains France has
>>>> 22 metro regions and 96 metro depts within the regions.  Can
>>>> someone advise how to correctly populate the state/province list?
>>>> Should only the 22 regions be listed or should the 96 depts be
>>>> listed with the region also indicated? Also should the REGION and
>>>> COUNTRY_CITY geoTypeIds be added to the getAssociatedStateList
>>>> service as compatible types?
>>>>
>>>> Also, the geoId of the France regions appear to be incorrect
>>>> according to the wikipedia article above.  For example, the GeoId
>>>> of Alsace is FR-ALS however it is indicated as FR-A in the
>>>> wikipedia article.  Should these also be correct for consistency
>>>> with ISO?
>>>
>>
>>
>