{"id":1825,"date":"2014-11-02T19:15:18","date_gmt":"2014-11-02T19:15:18","guid":{"rendered":"http:\/\/www.ralphstraumann.ch\/blog\/?p=1825"},"modified":"2014-11-25T20:53:25","modified_gmt":"2014-11-25T20:53:25","slug":"geocoding-twitter-users-the-swissgis-map","status":"publish","type":"post","link":"https:\/\/www.ralphstraumann.ch\/blog\/2014\/11\/geocoding-twitter-users-the-swissgis-map\/","title":{"rendered":"Geocoding Twitter users \u2013 The #SwissGIS map"},"content":{"rendered":"<p>Recently, I&#8217;ve been experimenting with\u00a0some Twitter-oriented hacks together with my friend <a href=\"http:\/\/tmwdr.ch\/\">Tom<\/a>. A very preliminary result of these activities is what I call the #SwissGIS map.<\/p>\n<p>Some, just a little, history: Over the last few years,\u00a0I have been collecting Switzerland-based Twitter users\u00a0that talk about topics around GIS, cartography, webmapping\u00a0and\u00a0geomatics on a list called SwissGIS. Find it at\u00a0<a href=\"https:\/\/twitter.com\/rastrau\/lists\/swissgis\">https:\/\/twitter.com\/rastrau\/lists\/swissgis<\/a>, if you are interested in GIS-related news from Switzerland. The list is quite diverse in several respects: for one, it features GIS users, developers, OSMers, cartography\u00a0specialists and other groups. Given we&#8217;re talking of Switzerland it is also multilingual, with English, German and French making up the bulk of tweets.<\/p>\n<figure id=\"attachment_1826\" aria-describedby=\"caption-attachment-1826\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/geo.ebp.ch\/2013\/02\/09\/gis-netzwerk-im-zeitalter-von-social-media\/\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1826\" src=\"http:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/SwissGIS_network_affiliations-1024x825.png\" alt=\"The internal network of users on the #SwissGIS list, as of February 2013\" width=\"500\" height=\"403\" srcset=\"https:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/SwissGIS_network_affiliations-1024x825.png 1024w, https:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/SwissGIS_network_affiliations-300x241.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-1826\" class=\"wp-caption-text\">The internal network of users on the #SwissGIS list, as of February 2013<\/figcaption><\/figure>\n<p>I&#8217;ve visualised the #SwissGIS list before\u00a0on the Ernst Basler + Partners <a href=\"http:\/\/geo.ebp.ch\/2013\/02\/09\/gis-netzwerk-im-zeitalter-von-social-media\/\">geoinformatics blog<\/a>. There are also re-publications in <a href=\"http:\/\/www.pro-geo.ch\/wordpress\/fr\/die-schweizerische-gis-szene-im-virtuellen-raum-2\/\">French<\/a>\u00a0and <a href=\"http:\/\/www.pro-geo.ch\/wordpress\/it\/die-schweizerische-gis-szene-im-virtuellen-raum-2\/\">Italian<\/a>.<\/p>\n<p>This time, we went for a more spatial representation of #SwissGIS users. By now, the list features 167 members, more than 100 more than when the above visualisation was made. Click through for <a href=\"http:\/\/ralphstraumann.ch\/projects\/swissgis-map\/\">the interactive version<\/a>:<\/p>\n<p><a href=\"http:\/\/ralphstraumann.ch\/projects\/swissgis-map\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1827\" src=\"http:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/swissgis-map.jpg\" alt=\"\" width=\"500\" height=\"380\" srcset=\"https:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/swissgis-map.jpg 1024w, https:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/swissgis-map-300x228.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>The process for creating this map was as follows: Using the <a href=\"http:\/\/dev.twitter.com\">Twitter API<\/a>, we acquired data on all#SwissGIS members (with public accounts), extracted the\u00a0profile location (if it was stated by the user),\u00a0geocoded that information (if possible) and put it on a map with the user&#8217;s profile icon.<\/p>\n<p>The heavy lifting was done in Python with <a href=\"https:\/\/github.com\/sixohsix\/twitter\">Mike Verdone&#8217;s Twitter API wrapper<\/a>. The map is built using the\u00a0versatile <a href=\"http:\/\/leafletjs.com\/\">Leaflet<\/a> library and features <a href=\"http:\/\/www.openstreetmap.org\">OpenStreetMap<\/a> tiles styled and served by <a href=\"http:\/\/www.mapbox.com\">Mapbox<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I&#8217;ve been experimenting with\u00a0some Twitter-oriented hacks together with my friend Tom. A very preliminary result of these activities is what I call the #SwissGIS map. Some, just a little, history: Over the last few years,\u00a0I have been collecting Switzerland-based Twitter users\u00a0that talk about topics around GIS, cartography, webmapping\u00a0and\u00a0geomatics on a list called SwissGIS. Find &hellip; <a href=\"https:\/\/www.ralphstraumann.ch\/blog\/2014\/11\/geocoding-twitter-users-the-swissgis-map\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Geocoding Twitter users \u2013 The #SwissGIS map<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1827,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[23,30,51,52,67,101,117,125,174],"class_list":["post-1825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-piece","tag-cartography","tag-crowdsourcing","tag-fun","tag-geo","tag-javascript","tag-social-media","tag-twitter","tag-visualization","tag-webmap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ralphstraumann.ch\/blog\/wp-content\/uploads\/2014\/11\/swissgis-map.jpg","jetpack_shortlink":"https:\/\/wp.me\/p3pPwF-tr","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/posts\/1825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/comments?post=1825"}],"version-history":[{"count":5,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/posts\/1825\/revisions"}],"predecessor-version":[{"id":1832,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/posts\/1825\/revisions\/1832"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/media\/1827"}],"wp:attachment":[{"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/media?parent=1825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/categories?post=1825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ralphstraumann.ch\/blog\/wp-json\/wp\/v2\/tags?post=1825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}