Re: [OSM-talk] Looking for "primary language" map

2017-04-15 Thread Frédéric Rodrigo
We build a similar base in the config file of Osmose-QA, it's done for 
country or subcountry area, with OSM boundary relation ID. It's more map 
langue(s) than the official ones.


https://github.com/osm-fr/osmose-backend/blob/master/osmose_config.py#L396



Le 11/04/2017 à 03:10, James a écrit :
You could try to look at the street qualifiers ex. Rue, boulevard, 
cercle, croissant,etc placed before the street name would be french 
where as English places it after the name


Xyz street
rue Xyz

On Apr 10, 2017 9:07 PM, "James" > wrote:


John I meant the name itself: Jeanne d'arc weather you say
boulevard or Boulevard it's pronounciation should be french same
with Des Forest, Decarie, Chateau, Charlemagne.
But then you have really english names like Tenth Line, Pheonix,
Aquaview, etc

So as I said generalizing won't help as well as south Montreal is
very very very English.

On Apr 10, 2017 8:59 PM, "john whelan" > wrote:

Orleans is part of Ottawa and all street names signs are
bilingual or in the process of being replaced by bilingual
ones.  Certainly the street I live on in Orleans has a
bilingual street name sign.  The English French question is
very much political in Canada and I suspect much of the world.

Montreal has a quite large English speaking community which is
rare in Quebec.

You could try looking at the street names to see if they are
in English and have a second language name as well. name:fr
for example.

Cheerio John

On 10 April 2017 at 20:47, James > wrote:

Well it might not be as simple as you say...take for
instance Ottawa. It's in Ontario and pretty english. There
is a suburb called Orléans in which is pretty much "the
french part of town" as most street signs will be in
french, but rest of Ottawa is pretty English(in terms of
street signs)

 So generilizing wont help you much...

On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"
>
wrote:

Exactly, and that's the map I need -- a set of shapes
that define these region mapping: Quebec+New Brunswick
=> fr, the rest of USA/Canada => en, ...
The shapes may overlap because that would make geojson
smaller - I will simply use the first one.

Having this map will allow me to determine the likely
language of the "name" tag for any location, which in
turn make for a better multilingual map.

On Mon, Apr 10, 2017 at 8:20 PM James
> wrote:

Well many countries have multiple official
languages, Canada is French and English, but in
practice is mostly Quebec and New brunswick...with
small patches of french throughout the rest

On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"
> wrote:

James, thanks, but I was hoping for the
language regions shapefile, e.g. in the
GeoJSON form.  The list of official languages
will require a lot of work to convert into the
merged shapes, and it still not very good, as
many countries have several official
languages, e.g. Switzerland.

On Mon, Apr 10, 2017 at 7:55 PM James
> wrote:

Also have you checked:

https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory



On Apr 10, 2017 7:50 PM, "James"
> wrote:

More like French for the entirety of
the province of Quebec

On Apr 10, 2017 7:38 PM, "Yuri
Astrakhan" > wrote:

Does anyone know of an open source
language map - basically a set of

Re: [OSM-talk] Looking for "primary language" map

2017-04-14 Thread moltonel


On 11 April 2017 08:26:14 IST, Rory McCann  wrote:
>You could try to run the "name" tag though a language detection 
>algorithm and see what comes out. I think Google released one a few 
>years ago: cf. https://github.com/Mimino666/langdetect
>
>Ethnologue has some. But I think it would cost a lot to licence.
>https://www.ethnologue.com/ and is probably much more precise than you
>need.

KDE's Sonnet is another library that springs to mind.


Another approach that might be interesting is to look at nearby objects in osm. 
Look for objects with a clearly-identifiable language (ie if name tag has  same 
value as exatly one of the name:xx tags of the object). If 90% of those 
identify as 'English' for example, then other unidentified languages in the 
same area are probably English too.

To get decent performance, split the world in tiles and figure out the dominant 
clearly-tagged language for each tile. Use that preprocessed data as your 
language-guessing "shapefile".
-- 
Vdp
Sent from a phone.

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Andrew Guertin

On 04/10/2017 07:35 PM, Yuri Astrakhan wrote:

Does anyone know of an open source language map - basically a set of
geoshapes with the corresponding language code?  Country boundaries are not
needed - e.g. Canada and USA would be English with the exception of French
for Montreal area.

This is needed to guesstimate what language the "name" tag is in.

Does not have to be very precise (10-20 MB is more than enough)


Have you considered using wikidata for this? For example, 
https://www.openstreetmap.org/relation/61549 (Québec) has the tag 
wikidata=Q176, and https://www.wikidata.org/wiki/Q176 has an entry 
"official language".


I'd expect that the OSM-Wikidata mapping is good enough on the level of 
countries/large regions to make this work; if not, it's a good 
opportunity to improve it.


--Andrew

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Sarah Hoffmann
On Tue, Apr 11, 2017 at 01:06:39AM +, Yuri Astrakhan wrote:
> I simply need to determine the most likely language of the "name" tag (not
> the "name:xx" tag). Does not have to be 100% correct - even 80% is great.

Nominatim uses https://wiki.openstreetmap.org/wiki/Nominatim/Country_Codes
on a per country base. For multi-lingual display, this is generally
a good enough heuristics because

a) smaller places only have a name tag, so language is not relevant, you
   simply display the single name available

b) countries with more than one official language are mostly aware
   of the issue and have the appropriate name:xx tag set in addition
 to the name tag. So just usename:xx directly or determine the
 language of the name tag by comparing with the name:xx tags

So you basically only need to really know the language for strictly
monolingual regions. (Nominatim currently ignores all lines in that
table where there is more than one langauge.)

The problem becomes a bit more interesting when you are looking for
appropriate fallback languages because then generally script comes
into play.

Sarah


> 
> On Mon, Apr 10, 2017 at 8:59 PM john whelan  wrote:
> 
> Orleans is part of Ottawa and all street names signs are bilingual or in
> the process of being replaced by bilingual ones.  Certainly the street I
> live on in Orleans has a bilingual street name sign.  The English French
> question is very much political in Canada and I suspect much of the world.
> 
> Montreal has a quite large English speaking community which is rare in
> Quebec.
> 
> You could try looking at the street names to see if they are in English and
> have a second language name as well. name:fr for example.
> 
> Cheerio John
> 
> On 10 April 2017 at 20:47, James  wrote:
> 
> Well it might not be as simple as you say...take for instance Ottawa. It's
> in Ontario and pretty english. There is a suburb called Orléans in which is
> pretty much "the french part of town" as most street signs will be in
> french, but rest of Ottawa is pretty English(in terms of street signs)
> 
>  So generilizing wont help you much...
> 
> On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"  wrote:
> 
> Exactly, and that's the map I need -- a set of shapes that define these
> region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
> ...
> The shapes may overlap because that would make geojson smaller - I will
> simply use the first one.
> 
> Having this map will allow me to determine the likely language of the
> "name" tag for any location, which in turn make for a better multilingual
> map.
> 
> On Mon, Apr 10, 2017 at 8:20 PM James  wrote:
> 
> Well many countries have multiple official languages, Canada is French and
> English, but in practice is mostly Quebec and New brunswick...with small
> patches of french throughout the rest
> 
> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"  wrote:
> 
> James, thanks, but I was hoping for the language regions shapefile, e.g. in
> the GeoJSON form.  The list of official languages will require a lot of
> work to convert into the merged shapes, and it still not very good, as many
> countries have several official languages, e.g. Switzerland.
> 
> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
> 
> Also have you checked:
> https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory
> 
> On Apr 10, 2017 7:50 PM, "James"  wrote:
> 
> More like French for the entirety of the province of Quebec
> 
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:
> 
> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
> 
> This is needed to guesstimate what language the "name" tag is in.
> 
> Does not have to be very precise (10-20 MB is more than enough)
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
> 
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk

> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Andy Townsend

On 11/04/2017 00:55, James wrote:
Also have you checked: 
https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory


A bit offtopic, but it's worth mentioning that that is exactly what it 
says it is - a list of "oficial languages", not what language is 
actually spoken in a place.  OSM's "on the ground rule" favours the 
latter over the former.  The entry in that table isn't quite correct for 
the country that I am most familiar with (the UK - it suggests that the 
recognition of minority languages in NI is similar to e.g. Cornwall, 
which ignores some of the terms of the Good Friday Agreement), so I'd 
take it with a pinch of salt elsewhere too.


Best Regards,

Andy


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Komяpa
I once did country-to-language mapping for that.

https://github.com/wgnet/globalmap/blob/master/data/country_languages.csv

That repo also contains other stuff we implemented for displaying
multilingual map.

вт, 11 апр. 2017 г. в 4:10, Yuri Astrakhan :

> I simply need to determine the most likely language of the "name" tag (not
> the "name:xx" tag). Does not have to be 100% correct - even 80% is great.
>
> On Mon, Apr 10, 2017 at 8:59 PM john whelan  wrote:
>
> Orleans is part of Ottawa and all street names signs are bilingual or in
> the process of being replaced by bilingual ones.  Certainly the street I
> live on in Orleans has a bilingual street name sign.  The English French
> question is very much political in Canada and I suspect much of the world.
>
> Montreal has a quite large English speaking community which is rare in
> Quebec.
>
> You could try looking at the street names to see if they are in English
> and have a second language name as well. name:fr for example.
>
> Cheerio John
>
> On 10 April 2017 at 20:47, James  wrote:
>
> Well it might not be as simple as you say...take for instance Ottawa. It's
> in Ontario and pretty english. There is a suburb called Orléans in which is
> pretty much "the french part of town" as most street signs will be in
> french, but rest of Ottawa is pretty English(in terms of street signs)
>
>  So generilizing wont help you much...
>
> On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"  wrote:
>
> Exactly, and that's the map I need -- a set of shapes that define these
> region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
> ...
> The shapes may overlap because that would make geojson smaller - I will
> simply use the first one.
>
> Having this map will allow me to determine the likely language of the
> "name" tag for any location, which in turn make for a better multilingual
> map.
>
> On Mon, Apr 10, 2017 at 8:20 PM James  wrote:
>
> Well many countries have multiple official languages, Canada is French and
> English, but in practice is mostly Quebec and New brunswick...with small
> patches of french throughout the rest
>
> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"  wrote:
>
> James, thanks, but I was hoping for the language regions shapefile, e.g.
> in the GeoJSON form.  The list of official languages will require a lot of
> work to convert into the merged shapes, and it still not very good, as many
> countries have several official languages, e.g. Switzerland.
>
> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>
> Also have you checked:
> https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory
>
> On Apr 10, 2017 7:50 PM, "James"  wrote:
>
> More like French for the entirety of the province of Quebec
>
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:
>
> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
>
> This is needed to guesstimate what language the "name" tag is in.
>
> Does not have to be very precise (10-20 MB is more than enough)
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Rory McCann
You could try to run the "name" tag though a language detection 
algorithm and see what comes out. I think Google released one a few 
years ago: cf. https://github.com/Mimino666/langdetect


Ethnologue has some. But I think it would cost a lot to licence.
https://www.ethnologue.com/ and is probably much more precise than you need.

On 11.04.2017 01:35, Yuri Astrakhan wrote:

Does anyone know of an open source language map - basically a set of
geoshapes with the corresponding language code?  Country boundaries are
not needed - e.g. Canada and USA would be English with the exception of
French for Montreal area.

This is needed to guesstimate what language the "name" tag is in.

Does not have to be very precise (10-20 MB is more than enough)



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Tom Hughes

On 11/04/17 07:08, Tom Hughes wrote:

On 11/04/17 00:35, Yuri Astrakhan wrote:


Does anyone know of an open source language map - basically a set of
geoshapes with the corresponding language code?  Country boundaries are
not needed - e.g. Canada and USA would be English with the exception of
French for Montreal area.

This is needed to guesstimate what language the "name" tag is in.


There's some data in CLDR for mapping countries/regions to default
languages I think, which you could combine with shapes from OSM.


Looks like the CLDR data is only country level currently:

http://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html

with the raw XML here:

http://unicode.org/repos/cldr/trunk/common/supplemental/supplementalData.xml

You could identify countries that might need further investigation 
though by looking for ones with multiple official languages and/or a low 
percentage of users of the top language.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-11 Thread Tom Hughes

On 11/04/17 00:35, Yuri Astrakhan wrote:


Does anyone know of an open source language map - basically a set of
geoshapes with the corresponding language code?  Country boundaries are
not needed - e.g. Canada and USA would be English with the exception of
French for Montreal area.

This is needed to guesstimate what language the "name" tag is in.


There's some data in CLDR for mapping countries/regions to default 
languages I think, which you could combine with shapes from OSM.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
You could try to look at the street qualifiers ex. Rue, boulevard, cercle,
croissant,etc placed before the street name would be french where as
English places it after the name

Xyz street
rue Xyz

On Apr 10, 2017 9:07 PM, "James"  wrote:

> John I meant the name itself: Jeanne d'arc weather you say boulevard or
> Boulevard it's pronounciation should be french same with Des Forest,
> Decarie, Chateau, Charlemagne.
> But then you have really english names like Tenth Line, Pheonix, Aquaview,
> etc
>
> So as I said generalizing won't help as well as south Montreal is very
> very very English.
>
> On Apr 10, 2017 8:59 PM, "john whelan"  wrote:
>
>> Orleans is part of Ottawa and all street names signs are bilingual or in
>> the process of being replaced by bilingual ones.  Certainly the street I
>> live on in Orleans has a bilingual street name sign.  The English French
>> question is very much political in Canada and I suspect much of the world.
>>
>> Montreal has a quite large English speaking community which is rare in
>> Quebec.
>>
>> You could try looking at the street names to see if they are in English
>> and have a second language name as well. name:fr for example.
>>
>> Cheerio John
>>
>> On 10 April 2017 at 20:47, James  wrote:
>>
>>> Well it might not be as simple as you say...take for instance Ottawa.
>>> It's in Ontario and pretty english. There is a suburb called Orléans in
>>> which is pretty much "the french part of town" as most street signs will be
>>> in french, but rest of Ottawa is pretty English(in terms of street signs)
>>>
>>>  So generilizing wont help you much...
>>>
>>> On Apr 10, 2017 8:27 PM, "Yuri Astrakhan" 
>>> wrote:
>>>
 Exactly, and that's the map I need -- a set of shapes that define these
 region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
 ...
 The shapes may overlap because that would make geojson smaller - I will
 simply use the first one.

 Having this map will allow me to determine the likely language of the
 "name" tag for any location, which in turn make for a better multilingual
 map.

 On Mon, Apr 10, 2017 at 8:20 PM James  wrote:

> Well many countries have multiple official languages, Canada is French
> and English, but in practice is mostly Quebec and New brunswick...with
> small patches of french throughout the rest
>
> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan" 
> wrote:
>
> James, thanks, but I was hoping for the language regions shapefile,
> e.g. in the GeoJSON form.  The list of official languages will require a
> lot of work to convert into the merged shapes, and it still not very good,
> as many countries have several official languages, e.g. Switzerland.
>
> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>
> Also have you checked: https://en.wikipedia.
> org/wiki/List_of_official_languages_by_country_and_territory
>
> On Apr 10, 2017 7:50 PM, "James"  wrote:
>
> More like French for the entirety of the province of Quebec
>
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" 
> wrote:
>
> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are 
> not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
>
> This is needed to guesstimate what language the "name" tag is in.
>
> Does not have to be very precise (10-20 MB is more than enough)
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>>
>>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
John I meant the name itself: Jeanne d'arc weather you say boulevard or
Boulevard it's pronounciation should be french same with Des Forest,
Decarie, Chateau, Charlemagne.
But then you have really english names like Tenth Line, Pheonix, Aquaview,
etc

So as I said generalizing won't help as well as south Montreal is very very
very English.

On Apr 10, 2017 8:59 PM, "john whelan"  wrote:

> Orleans is part of Ottawa and all street names signs are bilingual or in
> the process of being replaced by bilingual ones.  Certainly the street I
> live on in Orleans has a bilingual street name sign.  The English French
> question is very much political in Canada and I suspect much of the world.
>
> Montreal has a quite large English speaking community which is rare in
> Quebec.
>
> You could try looking at the street names to see if they are in English
> and have a second language name as well. name:fr for example.
>
> Cheerio John
>
> On 10 April 2017 at 20:47, James  wrote:
>
>> Well it might not be as simple as you say...take for instance Ottawa.
>> It's in Ontario and pretty english. There is a suburb called Orléans in
>> which is pretty much "the french part of town" as most street signs will be
>> in french, but rest of Ottawa is pretty English(in terms of street signs)
>>
>>  So generilizing wont help you much...
>>
>> On Apr 10, 2017 8:27 PM, "Yuri Astrakhan" 
>> wrote:
>>
>>> Exactly, and that's the map I need -- a set of shapes that define these
>>> region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
>>> ...
>>> The shapes may overlap because that would make geojson smaller - I will
>>> simply use the first one.
>>>
>>> Having this map will allow me to determine the likely language of the
>>> "name" tag for any location, which in turn make for a better multilingual
>>> map.
>>>
>>> On Mon, Apr 10, 2017 at 8:20 PM James  wrote:
>>>
 Well many countries have multiple official languages, Canada is French
 and English, but in practice is mostly Quebec and New brunswick...with
 small patches of french throughout the rest

 On Apr 10, 2017 8:12 PM, "Yuri Astrakhan" 
 wrote:

 James, thanks, but I was hoping for the language regions shapefile,
 e.g. in the GeoJSON form.  The list of official languages will require a
 lot of work to convert into the merged shapes, and it still not very good,
 as many countries have several official languages, e.g. Switzerland.

 On Mon, Apr 10, 2017 at 7:55 PM James  wrote:

 Also have you checked: https://en.wikipedia.
 org/wiki/List_of_official_languages_by_country_and_territory

 On Apr 10, 2017 7:50 PM, "James"  wrote:

 More like French for the entirety of the province of Quebec

 On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" 
 wrote:

 Does anyone know of an open source language map - basically a set of
 geoshapes with the corresponding language code?  Country boundaries are not
 needed - e.g. Canada and USA would be English with the exception of French
 for Montreal area.

 This is needed to guesstimate what language the "name" tag is in.

 Does not have to be very precise (10-20 MB is more than enough)

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk


>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread Yuri Astrakhan
I simply need to determine the most likely language of the "name" tag (not
the "name:xx" tag). Does not have to be 100% correct - even 80% is great.

On Mon, Apr 10, 2017 at 8:59 PM john whelan  wrote:

Orleans is part of Ottawa and all street names signs are bilingual or in
the process of being replaced by bilingual ones.  Certainly the street I
live on in Orleans has a bilingual street name sign.  The English French
question is very much political in Canada and I suspect much of the world.

Montreal has a quite large English speaking community which is rare in
Quebec.

You could try looking at the street names to see if they are in English and
have a second language name as well. name:fr for example.

Cheerio John

On 10 April 2017 at 20:47, James  wrote:

Well it might not be as simple as you say...take for instance Ottawa. It's
in Ontario and pretty english. There is a suburb called Orléans in which is
pretty much "the french part of town" as most street signs will be in
french, but rest of Ottawa is pretty English(in terms of street signs)

 So generilizing wont help you much...

On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"  wrote:

Exactly, and that's the map I need -- a set of shapes that define these
region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
...
The shapes may overlap because that would make geojson smaller - I will
simply use the first one.

Having this map will allow me to determine the likely language of the
"name" tag for any location, which in turn make for a better multilingual
map.

On Mon, Apr 10, 2017 at 8:20 PM James  wrote:

Well many countries have multiple official languages, Canada is French and
English, but in practice is mostly Quebec and New brunswick...with small
patches of french throughout the rest

On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"  wrote:

James, thanks, but I was hoping for the language regions shapefile, e.g. in
the GeoJSON form.  The list of official languages will require a lot of
work to convert into the merged shapes, and it still not very good, as many
countries have several official languages, e.g. Switzerland.

On Mon, Apr 10, 2017 at 7:55 PM James  wrote:

Also have you checked:
https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory

On Apr 10, 2017 7:50 PM, "James"  wrote:

More like French for the entirety of the province of Quebec

On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:

Does anyone know of an open source language map - basically a set of
geoshapes with the corresponding language code?  Country boundaries are not
needed - e.g. Canada and USA would be English with the exception of French
for Montreal area.

This is needed to guesstimate what language the "name" tag is in.

Does not have to be very precise (10-20 MB is more than enough)

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread john whelan
Orleans is part of Ottawa and all street names signs are bilingual or in
the process of being replaced by bilingual ones.  Certainly the street I
live on in Orleans has a bilingual street name sign.  The English French
question is very much political in Canada and I suspect much of the world.

Montreal has a quite large English speaking community which is rare in
Quebec.

You could try looking at the street names to see if they are in English and
have a second language name as well. name:fr for example.

Cheerio John

On 10 April 2017 at 20:47, James  wrote:

> Well it might not be as simple as you say...take for instance Ottawa. It's
> in Ontario and pretty english. There is a suburb called Orléans in which is
> pretty much "the french part of town" as most street signs will be in
> french, but rest of Ottawa is pretty English(in terms of street signs)
>
>  So generilizing wont help you much...
>
> On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"  wrote:
>
>> Exactly, and that's the map I need -- a set of shapes that define these
>> region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
>> ...
>> The shapes may overlap because that would make geojson smaller - I will
>> simply use the first one.
>>
>> Having this map will allow me to determine the likely language of the
>> "name" tag for any location, which in turn make for a better multilingual
>> map.
>>
>> On Mon, Apr 10, 2017 at 8:20 PM James  wrote:
>>
>>> Well many countries have multiple official languages, Canada is French
>>> and English, but in practice is mostly Quebec and New brunswick...with
>>> small patches of french throughout the rest
>>>
>>> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan" 
>>> wrote:
>>>
>>> James, thanks, but I was hoping for the language regions shapefile, e.g.
>>> in the GeoJSON form.  The list of official languages will require a lot of
>>> work to convert into the merged shapes, and it still not very good, as many
>>> countries have several official languages, e.g. Switzerland.
>>>
>>> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>>>
>>> Also have you checked: https://en.wikipedia.
>>> org/wiki/List_of_official_languages_by_country_and_territory
>>>
>>> On Apr 10, 2017 7:50 PM, "James"  wrote:
>>>
>>> More like French for the entirety of the province of Quebec
>>>
>>> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" 
>>> wrote:
>>>
>>> Does anyone know of an open source language map - basically a set of
>>> geoshapes with the corresponding language code?  Country boundaries are not
>>> needed - e.g. Canada and USA would be English with the exception of French
>>> for Montreal area.
>>>
>>> This is needed to guesstimate what language the "name" tag is in.
>>>
>>> Does not have to be very precise (10-20 MB is more than enough)
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread Pierre Béland
Do you want to know the various languages spoken or only a simplified official 
language map? Your need is not very clear. 
 
Pierre 


  De : Yuri Astrakhan <yuriastrak...@gmail.com>
 À : James <james2...@gmail.com> 
Cc : OpenStreetMap talk mailing list <talk@openstreetmap.org>
 Envoyé le : lundi 10 avril 2017 20h14
 Objet : Re: [OSM-talk] Looking for "primary language" map
   
James, thanks, but I was hoping for the language regions shapefile, e.g. in the 
GeoJSON form.  The list of official languages will require a lot of work to 
convert into the merged shapes, and it still not very good, as many countries 
have several official languages, e.g. Switzerland.
On Mon, Apr 10, 2017 at 7:55 PM James <james2...@gmail.com> wrote:

Also have you checked: 
https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory
On Apr 10, 2017 7:50 PM, "James" <james2...@gmail.com> wrote:

More like French for the entirety of the province of Quebec
On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" <yuriastrak...@gmail.com> wrote:

Does anyone know of an open source language map - basically a set of geoshapes 
with the corresponding language code?  Country boundaries are not needed - e.g. 
Canada and USA would be English with the exception of French for Montreal area.
This is needed to guesstimate what language the "name" tag is in.
Does not have to be very precise (10-20 MB is more than enough)
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


   ___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
Well it might not be as simple as you say...take for instance Ottawa. It's
in Ontario and pretty english. There is a suburb called Orléans in which is
pretty much "the french part of town" as most street signs will be in
french, but rest of Ottawa is pretty English(in terms of street signs)

 So generilizing wont help you much...

On Apr 10, 2017 8:27 PM, "Yuri Astrakhan"  wrote:

> Exactly, and that's the map I need -- a set of shapes that define these
> region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
> ...
> The shapes may overlap because that would make geojson smaller - I will
> simply use the first one.
>
> Having this map will allow me to determine the likely language of the
> "name" tag for any location, which in turn make for a better multilingual
> map.
>
> On Mon, Apr 10, 2017 at 8:20 PM James  wrote:
>
>> Well many countries have multiple official languages, Canada is French
>> and English, but in practice is mostly Quebec and New brunswick...with
>> small patches of french throughout the rest
>>
>> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan" 
>> wrote:
>>
>> James, thanks, but I was hoping for the language regions shapefile, e.g.
>> in the GeoJSON form.  The list of official languages will require a lot of
>> work to convert into the merged shapes, and it still not very good, as many
>> countries have several official languages, e.g. Switzerland.
>>
>> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>>
>> Also have you checked: https://en.wikipedia.org/wiki/List_of_official_
>> languages_by_country_and_territory
>>
>> On Apr 10, 2017 7:50 PM, "James"  wrote:
>>
>> More like French for the entirety of the province of Quebec
>>
>> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" 
>> wrote:
>>
>> Does anyone know of an open source language map - basically a set of
>> geoshapes with the corresponding language code?  Country boundaries are not
>> needed - e.g. Canada and USA would be English with the exception of French
>> for Montreal area.
>>
>> This is needed to guesstimate what language the "name" tag is in.
>>
>> Does not have to be very precise (10-20 MB is more than enough)
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread Yuri Astrakhan
Exactly, and that's the map I need -- a set of shapes that define these
region mapping: Quebec+New Brunswick => fr, the rest of USA/Canada => en,
...
The shapes may overlap because that would make geojson smaller - I will
simply use the first one.

Having this map will allow me to determine the likely language of the
"name" tag for any location, which in turn make for a better multilingual
map.

On Mon, Apr 10, 2017 at 8:20 PM James  wrote:

> Well many countries have multiple official languages, Canada is French and
> English, but in practice is mostly Quebec and New brunswick...with small
> patches of french throughout the rest
>
> On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"  wrote:
>
> James, thanks, but I was hoping for the language regions shapefile, e.g.
> in the GeoJSON form.  The list of official languages will require a lot of
> work to convert into the merged shapes, and it still not very good, as many
> countries have several official languages, e.g. Switzerland.
>
> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>
> Also have you checked:
> https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory
>
> On Apr 10, 2017 7:50 PM, "James"  wrote:
>
> More like French for the entirety of the province of Quebec
>
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:
>
> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
>
> This is needed to guesstimate what language the "name" tag is in.
>
> Does not have to be very precise (10-20 MB is more than enough)
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
Well many countries have multiple official languages, Canada is French and
English, but in practice is mostly Quebec and New brunswick...with small
patches of french throughout the rest

On Apr 10, 2017 8:12 PM, "Yuri Astrakhan"  wrote:

> James, thanks, but I was hoping for the language regions shapefile, e.g.
> in the GeoJSON form.  The list of official languages will require a lot of
> work to convert into the merged shapes, and it still not very good, as many
> countries have several official languages, e.g. Switzerland.
>
> On Mon, Apr 10, 2017 at 7:55 PM James  wrote:
>
>> Also have you checked: https://en.wikipedia.org/wiki/List_of_official_
>> languages_by_country_and_territory
>>
>> On Apr 10, 2017 7:50 PM, "James"  wrote:
>>
>> More like French for the entirety of the province of Quebec
>>
>> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan" 
>> wrote:
>>
>> Does anyone know of an open source language map - basically a set of
>> geoshapes with the corresponding language code?  Country boundaries are not
>> needed - e.g. Canada and USA would be English with the exception of French
>> for Montreal area.
>>
>> This is needed to guesstimate what language the "name" tag is in.
>>
>> Does not have to be very precise (10-20 MB is more than enough)
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread Yuri Astrakhan
James, thanks, but I was hoping for the language regions shapefile, e.g. in
the GeoJSON form.  The list of official languages will require a lot of
work to convert into the merged shapes, and it still not very good, as many
countries have several official languages, e.g. Switzerland.

On Mon, Apr 10, 2017 at 7:55 PM James  wrote:

> Also have you checked:
> https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory
>
> On Apr 10, 2017 7:50 PM, "James"  wrote:
>
> More like French for the entirety of the province of Quebec
>
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:
>
> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
>
> This is needed to guesstimate what language the "name" tag is in.
>
> Does not have to be very precise (10-20 MB is more than enough)
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
Also have you checked:
https://en.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory

On Apr 10, 2017 7:50 PM, "James"  wrote:

> More like French for the entirety of the province of Quebec
>
> On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:
>
>> Does anyone know of an open source language map - basically a set of
>> geoshapes with the corresponding language code?  Country boundaries are not
>> needed - e.g. Canada and USA would be English with the exception of French
>> for Montreal area.
>>
>> This is needed to guesstimate what language the "name" tag is in.
>>
>> Does not have to be very precise (10-20 MB is more than enough)
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Looking for "primary language" map

2017-04-10 Thread James
More like French for the entirety of the province of Quebec

On Apr 10, 2017 7:38 PM, "Yuri Astrakhan"  wrote:

> Does anyone know of an open source language map - basically a set of
> geoshapes with the corresponding language code?  Country boundaries are not
> needed - e.g. Canada and USA would be English with the exception of French
> for Montreal area.
>
> This is needed to guesstimate what language the "name" tag is in.
>
> Does not have to be very precise (10-20 MB is more than enough)
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk