[Qgis-user] Joining data to a shape file by country name when the names don't match exactly

Joe Lertola joe at joelertola.com
Sat Nov 5 19:30:35 PDT 2016


I used to program in my youth so I am familiar with programming concepts. But I would have to learn python and how to create plugins for Qgis from scratch. So that is not a project that will happen very fast if I do it. If it turns out that I have to create a lot of maps like this I might start looking into it. For now I will stick to Excel.
-Joe



Thanks,
-Joe


> On Nov 5, 2016, at 9:57 AM, Nicolas Cadieux <nicolas.cadieux at archeotec.ca <mailto:nicolas.cadieux at archeotec.ca>> wrote:
> 
> Very interesting Nyall 
> 
> That makes me remember that the vlookup in excel also has a "bests match" by default.  I always turn it off because it uses the first found possible match.  I wonder if it uses the same type of "Fuzzy" logic...?  
> 
> Nicolas
> 
> Le 4 nov. 2016 à 23:22, Nyall Dawson [via OSGeo.org <http://osgeo.org/>] <[hidden email] <x-msg://34/user/SendEmail.jtp?type=node&node=5294431&i=0>> a écrit :
> 
>> 
>> On 5 Nov 2016 12:13 PM, "Joe Lertola" <[hidden email] <x-msg://34/user/SendEmail.jtp?type=node&node=5294406&i=0>> wrote:
>> >
>> > Hello.
>> >
>> > Today I made a thematic map by joining a list of data that had country names to a shape file of world countries. I had to spend a lot of time working in Excel to make my data names match the names in the shape file. A lot of them already matched but there were many that didn’t. For example the the shape file had Ivory Coast and the data had Cte d’Ivoire as the name. Is there any way to do this in Qgis instead of Excel? Years ago I recall doing this in ArcMap. There was a tool that matched up the data where it could and then for each record that wasn’t matched you could choose the matching record manually. Any help would be greatly appreciated.
>> 
>> How good are your python skills? Sounds like a perfect candidate for a new processing algorithm. QgsStringUtils has methods for performing "fuzzy" matching of strings, so a lot of the hard work is already done.
>> 
>> Nyall
>> 
>> >
>> > Thanks,
>> > -Joe
>> >
>> >
>> > _______________________________________________
>> > Qgis-user mailing list
>> > [hidden email] <x-msg://34/user/SendEmail.jtp?type=node&node=5294406&i=1>
>> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user <http://lists.osgeo.org/mailman/listinfo/qgis-user>
>> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user <http://lists.osgeo.org/mailman/listinfo/qgis-user>
>> 
>> _______________________________________________ 
>> Qgis-user mailing list 
>> [hidden email] <x-msg://34/user/SendEmail.jtp?type=node&node=5294406&i=2> 
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user <http://lists.osgeo.org/mailman/listinfo/qgis-user>
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user <http://lists.osgeo.org/mailman/listinfo/qgis-user> 
>> 
>> If you reply to this email, your message will be added to the discussion below:
>> http://osgeo-org.1560.x6.nabble.com/Fwd-Joining-data-to-a-shape-file-by-country-name-when-the-names-don-t-match-exactly-tp5294403p5294406.html <http://osgeo-org.1560.x6.nabble.com/Fwd-Joining-data-to-a-shape-file-by-country-name-when-the-names-don-t-match-exactly-tp5294403p5294406.html>
>> To start a new topic under Quantum GIS - User, email [hidden email] <x-msg://34/user/SendEmail.jtp?type=node&node=5294431&i=1> 
>> To unsubscribe from Quantum GIS - User, click here <applewebdata://E3463CC6-D66E-4063-B8F2-6D06A09BDBA8>.
>> NAML <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> View this message in context: Re: Joining data to a shape file by country name when the names don't match exactly <http://osgeo-org.1560.x6.nabble.com/Fwd-Joining-data-to-a-shape-file-by-country-name-when-the-names-don-t-match-exactly-tp5294403p5294431.html>
> Sent from the Quantum GIS - User mailing list archive <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html> at Nabble.com <http://nabble.com/>.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161105/0f518d99/attachment.html>


More information about the Qgis-user mailing list