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 :

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

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

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

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

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

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

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

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

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:

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

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

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.

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

2017-04-10 Thread Pierre Béland
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 s

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

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

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

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

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"

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 -

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

2017-04-10 Thread Yuri Astrakhan
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