SlideShare a Scribd company logo
Claudia Núñez
Migrahack
nunezcla99@gmail.com
@nunezcla
Tutorial Mapping Data
Planning your visualization
•Identify your data and key message (geographic and descriptive information)
•Choose the data series to illustrate and join in your map
•Consider the different mapping software available for free
QGIS, ArcGis, FusionTables, CartoDb, TileMill
•Identify the mapping style
- Chloropleth: Colors correspond to numeric values for each variable.
- Geomaps: Colors and values assigned to specific regions
- Point: Locations/geocoded markers.
•Think about complementary elements (video, audio, technology, etc.)
Next steps: Creating your own Map: Spatial and Statistical Analysis
Step 1. Install and set up your tools
•QGIS is a Free computer-based program that links geographic information (where things are) with descriptive
information (what things are)
•In this tutorial, we are going to work with TileMill, a desktop map building tool that helps you to rapidly design
completely custom maps and allows you to take data layers and blend them onto a single map and create beautiful
designs with little programming. (http://www.mapbox.com/tilemill/)
•Excel, Google spreadsheet, Open Office…
Step 2. Locate and prepare your data attribute table as a comma separated value (.csv)
or dbase form (.dbf)
Data surce:
http://www.immigrationpolicy.org/sites/default/files/docs/who_and_where_the_dreamers_are_0.pdf
Dreamers .xls file:
https://skydrive.live.com/redir?page=view&resid=6ED83A615217D1A4!165&authkey=!AHATkCR4prdJIAw
Dreamers .dbj File:
https://skydrive.live.com/?cid=6ed83a615217d1a4&id=6ED83A615217D1A4%21167&action=Share
Shape Files for this tutorial:
http://www.census.gov/geo/maps-data/data/tiger-line.html
TileMill Map Style
https://docs.google.com/document/d/1-xeaUXKQKIioyE2DGA_--yCKHy7KtTsuq6tdifAf2nk/edit?usp=sharing
•Main points to remember are to delete all the unnecessary columns from the spreadsheet, sort your data alphabetically
or in numeric order and leave the geographic information on the first column.
•Locate and download your geocoded data or the corresponding geometric polygons. You can use the shape files from the
Census Bureau. (http://www.census.gov/geo/maps-data/)
Step 3. Join your data
This process allows you to connect a non-spatial table to a layer attribute table. It is very important to remember that in
order to join two different tables you must have a common attribute, in this case we will join the numeric code information.
•Open Qgis
•Select the “Add Vector Layer” option
•Locate the .shp file that you downloaded earlier.
•Open it and you will see your map.
•To speed up our workshop, for this tutorial we are not going to work with Alaska, American Samoa, Commonwealth
Mariana Islands, Guam, Hawaii, Puerto Rico and United States Virgin Islands.
•Right click on your file, click on “Toggle Editing” and click on “Attribute table”, select the regions and delete the information
that you will not use.
•Now format your data by selecting just the information that you will need. Click on “Add Vector Layer”, click on “Table
Manager” and delete all the unnecessary columns. In this example we only want to keep the numeric code.
•Lets add our information to the map: Add a new layer (just like you did before)
•Locate your .csv or .dbf file and open it into QGis
•Select the shape file layer and go to “Properties”, then “join.” Add (+) new vector and join it to the common layer
•To view the shape file attributes right click on the layer and select the option, “open attribute table” and review your
information.
Step 4. Export your map
Export your new shapefile by control-clicking the shapefile layer, selecting “Save as,” and saving the layer as
ESRI Shapefile format, WN84.
This process will generate a series of files that you will need to compress as a .zip package
And DONE, your new shape file is ready for you to style it.
TILEMILL
Step 1. Install Tilemill
Open Tilemill
Step 2. Set up a new project
Click on the “new project” button to bring in your newly created map (from the previous steps) and name your project.
Open your project and click on the icon for LAYERS:
Step 3. Style your data
Map styling happens by attaching CartoCSS stylesheets to the map project. The syntax for CartoCSS is made up of:
•Selection of layers
•Colors
•Transparency
•Size of features
•SVG icons
•Lettering style and positioning
•Scales at which features appear
@serif:"Times New Roman Regular","FreeSerif Medium","DejaVu Serif
Book";
Map {
background-color: #fff;
}
#country {
line-color: #fff;
line-width:0.5;
polygon-fill:#fff;
polygon-comp-op: overlay;
comp-op: screen;
line-join: round;
}
#mapadreamfi {
line-color:#0c3602;
line-width:0.5;
polygon-opacity:1;
polygon-fill:#5cd221;
line-join: round;
raster-scaling:lanczos
}
#mapadreamfi[zoom>2][zoom<6]{
text-name: "[STATE]";
text-face-name: @serif;
text-size:6;
text-placement-type: simple;
text-placements: "N,S,E,W,NE,SE,NW,SW,6,8,10";
text-dy: 3;
text-dx: 3;
}
#mapadreamfi[ALL_POTENT<=550000] {
polygon-fill:#6e0909
}
#mapadreamfi[ALL_POTENT<=300000] {
polygon-fill:#b94f4f
}
#mapadreamfi[ALL_POTENT<=150000] {
polygon-fill:#da6247
}
#mapadreamfi[ALL_POTENT<=75000] {
polygon-fill:#f3a680
}
#mapadreamfi[ALL_POTENT<=10000] {
polygon-fill:#fce3d0
}
#mapadreamfi[ALL_POTENT< 110] {
polygon-fill:#f9f5f3
}
For this project, I’ve created a stylesheet
, but you should check out your own
options with Tilemill.
Copy, paste on the Style.mss
and check out your map
By the time you’re done, your map
should look something like this.
Try ColorBrewer or 0to255
for color ramps for your data.
Step 4. Navigate to the Templates panel. Select “Teaser.” This is the field that defines what appears in the tooltip
that appears when the user moves the mouse over each polygon.
Basically, all you have to do is format the field to correspond to the values in your data. Copy and paste this code:
<b>{{{STATE}}}</b>
<div><b>WHO AND WHERE THE DREAMERS ARE:</b></div>
<hr><div>Total Potential Dreamers Beneficiaria 2012</div>
{{{ALL_POTENT}}}</div>
<br><div>Female:
{{{FEMALE}}}</div>
<div>Male:
{{{MALE}}}</div>
<div class='legend-title'><b>WHO AND WHERE THE DREAMERS ARE</b></div>
<div>Potential Dreamers Beneficiaria 2012</div>
<hr>
<div class='legend-scale'>
<ul class='legend-labels'>
<li><span style='background:#6e0909;'></span>More than 550000</li>
<li><span style='background:#b94f4f;'></span>More than 300000</li>
<li><span style='background:#da6247;'></span>More than 150000</li>
<li><span style='background:#f3a680;'></span>More than 75000</li>
<li><span style='background:#fce3d0;'></span>More than 10000</li>
<li><span style='background:#f9f5f3;'></span>Less than 110 </li>
</ul>
</div>
<div class="legend-source"> <b>Source:<b> <a
href="http://www.immigrationpolicy.org/sites/default/files/docs/who_and_where_the_dreamers_are_0.pdf"><b>Immigration Policy Center<b>
</a></div>
</div>
<style type='text/css'>
.wax-legend .legend-title {
text-align: left;
margin-bottom: 10px;
font-weight: bold;
font-size: 100%;
}
.wax-legend .legend-scale ul {
margin: 0;
margin-bottom: 5px;
padding: 0;
float: left;
list-style: none;
}
.wax-legend .legend-scale ul li {
font-size: 80%;
list-style: none;
margin-left: 0;
text-align: center;
line-height: 18px;
margin-bottom: 2px;
}
.wax-legend ul.legend-labels li span {
display: block;
float: left;
height: 16px;
width: 25px;
margin-right: 5px;
margin-left: 0;
border: 1px solid #999;
}
.wax-legend .legend-source {
font-size: 70%;
color: #999;
clear: both;
}
.wax-legend a {
color: #777;
}
.wax-tooltip {
width: 500px;
opacity: 1;
margin-bottom: 12px;
</style>
Step 5. Add a custom legend to the map.
Select “Legend” and with basic HTML/CSS you can
outline the structure and style of your legend.
Copy and paste this format to your map:
Step 6. Get your map on the Web.
On the top right of Tilemill, select “Export” and choose “MBTiles.” so you can host the map on
MapBox and get the link to share.
•Set the center point
•Set the bounds
•Give the map a name
•Type a brief description
•Attribute the data source.
Click “Export” and save your map in the directory of your choice.
The .MBTiles file will be hosted on MapBox, where you can get the embedded link and post it in
your blog or media outlet page, also MapBox gives you the option of sharing through social
media
Next Step
Practice, practice,
practice!
Here is a list of powerful and easy
tools to translate your spreadsheets
into a map that you can publish on
your website.
•Migrahack Begginers Fusion Tables Tutorial
•BatchGeo
•Tableau Public
•CartoDB
•Open Heat Map
•Ushahidi
•Leaflet
•Open Street Map
•Many Eyes (IBM)
You did it!

More Related Content

Similar to Mapping Immigrants

GeoServer Orientation
GeoServer OrientationGeoServer Orientation
GeoServer OrientationJody Garnett
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfBrijeshPatil13
 
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...Sencha
 
Web Mashup Slides For Lesson 1
Web Mashup Slides For Lesson 1Web Mashup Slides For Lesson 1
Web Mashup Slides For Lesson 1Alvin Chua
 
QGIS Module 1
QGIS Module 1QGIS Module 1
QGIS Module 1CAPSUCSF
 
Introduction_to_QGIS_Revision, read before
Introduction_to_QGIS_Revision, read beforeIntroduction_to_QGIS_Revision, read before
Introduction_to_QGIS_Revision, read beforeMadhuSudhan725843
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2wang yaohui
 
Geohosting english manual
Geohosting english manualGeohosting english manual
Geohosting english manualSDIEDU
 
Fly thru
Fly thruFly thru
Fly thruAli Sam
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece CoLab Athens
 
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021Sarah Bartlett
 
Datascape Introduction
Datascape IntroductionDatascape Introduction
Datascape IntroductionDaden Limited
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 

Similar to Mapping Immigrants (20)

GeoServer Orientation
GeoServer OrientationGeoServer Orientation
GeoServer Orientation
 
Google charts
Google chartsGoogle charts
Google charts
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdf
 
QGIS Tutorial 1
QGIS Tutorial 1QGIS Tutorial 1
QGIS Tutorial 1
 
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...
SenchaCon 2016: Integrating Geospatial Maps & Big Data Using CartoDB via Ext ...
 
Web Mashup Slides For Lesson 1
Web Mashup Slides For Lesson 1Web Mashup Slides For Lesson 1
Web Mashup Slides For Lesson 1
 
QGIS Module 1
QGIS Module 1QGIS Module 1
QGIS Module 1
 
Building story maps
Building story mapsBuilding story maps
Building story maps
 
QGIS Tutorial 2
QGIS Tutorial 2QGIS Tutorial 2
QGIS Tutorial 2
 
Introduction_to_QGIS_Revision, read before
Introduction_to_QGIS_Revision, read beforeIntroduction_to_QGIS_Revision, read before
Introduction_to_QGIS_Revision, read before
 
Get the Sheet out of here! Plan production for jobs due yesterday
Get the Sheet out of here! Plan production for jobs due yesterdayGet the Sheet out of here! Plan production for jobs due yesterday
Get the Sheet out of here! Plan production for jobs due yesterday
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2
 
Geohosting english manual
Geohosting english manualGeohosting english manual
Geohosting english manual
 
Fly thru
Fly thruFly thru
Fly thru
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
 
Material design
Material designMaterial design
Material design
 
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021
Tableau Conference Recap 2021 - Atlanta TUG - Dec 2021
 
Datascape Introduction
Datascape IntroductionDatascape Introduction
Datascape Introduction
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
Sap Analytics Cloud
Sap Analytics CloudSap Analytics Cloud
Sap Analytics Cloud
 

Recently uploaded

Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam
 
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdfThomas GIRARD BDes
 
Biography and career history of Chad Henson.pdf
Biography and career history of Chad Henson.pdfBiography and career history of Chad Henson.pdf
Biography and career history of Chad Henson.pdfChad Henson
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】larisashrestha558
 
131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP InternationalManu Mitra
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptxSheldon Byron
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorialvencislavkaaa
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Businessideatoipo
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fevertaexnic
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】foismail170
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in ResearchManu Mitra
 
D.El.Ed. College List -Session 2024-26.pdf
D.El.Ed. College List -Session 2024-26.pdfD.El.Ed. College List -Session 2024-26.pdf
D.El.Ed. College List -Session 2024-26.pdfbipedoy339
 
0524.priorspeakingengagementslist-01.pdf
0524.priorspeakingengagementslist-01.pdf0524.priorspeakingengagementslist-01.pdf
0524.priorspeakingengagementslist-01.pdfThomas GIRARD BDes
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】foismail170
 
129. Reviewer Certificate in BioNature [2024]
129. Reviewer Certificate in BioNature [2024]129. Reviewer Certificate in BioNature [2024]
129. Reviewer Certificate in BioNature [2024]Manu Mitra
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!LukeRoyak
 
132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical SciencesManu Mitra
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】foismail170
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】foismail170
 
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdfThomas GIRARD BDes
 

Recently uploaded (20)

Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
 
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf
0524.THOMASGIRARD_SINGLEPAGERESUME-01.pdf
 
Biography and career history of Chad Henson.pdf
Biography and career history of Chad Henson.pdfBiography and career history of Chad Henson.pdf
Biography and career history of Chad Henson.pdf
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
 
131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International131. Reviewer Certificate in BP International
131. Reviewer Certificate in BP International
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
 
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid feverWidal Agglutination Test: A rapid serological diagnosis of typhoid fever
Widal Agglutination Test: A rapid serological diagnosis of typhoid fever
 
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research
 
D.El.Ed. College List -Session 2024-26.pdf
D.El.Ed. College List -Session 2024-26.pdfD.El.Ed. College List -Session 2024-26.pdf
D.El.Ed. College List -Session 2024-26.pdf
 
0524.priorspeakingengagementslist-01.pdf
0524.priorspeakingengagementslist-01.pdf0524.priorspeakingengagementslist-01.pdf
0524.priorspeakingengagementslist-01.pdf
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
129. Reviewer Certificate in BioNature [2024]
129. Reviewer Certificate in BioNature [2024]129. Reviewer Certificate in BioNature [2024]
129. Reviewer Certificate in BioNature [2024]
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!
 
132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences132. Acta Scientific Pharmaceutical Sciences
132. Acta Scientific Pharmaceutical Sciences
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf
0524.THOMASGIRARD_CURRICULUMVITAE-01.pdf
 

Mapping Immigrants

  • 2. Tutorial Mapping Data Planning your visualization •Identify your data and key message (geographic and descriptive information) •Choose the data series to illustrate and join in your map •Consider the different mapping software available for free QGIS, ArcGis, FusionTables, CartoDb, TileMill •Identify the mapping style - Chloropleth: Colors correspond to numeric values for each variable. - Geomaps: Colors and values assigned to specific regions - Point: Locations/geocoded markers. •Think about complementary elements (video, audio, technology, etc.) Next steps: Creating your own Map: Spatial and Statistical Analysis
  • 3. Step 1. Install and set up your tools •QGIS is a Free computer-based program that links geographic information (where things are) with descriptive information (what things are) •In this tutorial, we are going to work with TileMill, a desktop map building tool that helps you to rapidly design completely custom maps and allows you to take data layers and blend them onto a single map and create beautiful designs with little programming. (http://www.mapbox.com/tilemill/) •Excel, Google spreadsheet, Open Office…
  • 4. Step 2. Locate and prepare your data attribute table as a comma separated value (.csv) or dbase form (.dbf) Data surce: http://www.immigrationpolicy.org/sites/default/files/docs/who_and_where_the_dreamers_are_0.pdf Dreamers .xls file: https://skydrive.live.com/redir?page=view&resid=6ED83A615217D1A4!165&authkey=!AHATkCR4prdJIAw Dreamers .dbj File: https://skydrive.live.com/?cid=6ed83a615217d1a4&id=6ED83A615217D1A4%21167&action=Share Shape Files for this tutorial: http://www.census.gov/geo/maps-data/data/tiger-line.html TileMill Map Style https://docs.google.com/document/d/1-xeaUXKQKIioyE2DGA_--yCKHy7KtTsuq6tdifAf2nk/edit?usp=sharing •Main points to remember are to delete all the unnecessary columns from the spreadsheet, sort your data alphabetically or in numeric order and leave the geographic information on the first column. •Locate and download your geocoded data or the corresponding geometric polygons. You can use the shape files from the Census Bureau. (http://www.census.gov/geo/maps-data/)
  • 5. Step 3. Join your data This process allows you to connect a non-spatial table to a layer attribute table. It is very important to remember that in order to join two different tables you must have a common attribute, in this case we will join the numeric code information. •Open Qgis •Select the “Add Vector Layer” option •Locate the .shp file that you downloaded earlier. •Open it and you will see your map. •To speed up our workshop, for this tutorial we are not going to work with Alaska, American Samoa, Commonwealth Mariana Islands, Guam, Hawaii, Puerto Rico and United States Virgin Islands. •Right click on your file, click on “Toggle Editing” and click on “Attribute table”, select the regions and delete the information that you will not use. •Now format your data by selecting just the information that you will need. Click on “Add Vector Layer”, click on “Table Manager” and delete all the unnecessary columns. In this example we only want to keep the numeric code. •Lets add our information to the map: Add a new layer (just like you did before) •Locate your .csv or .dbf file and open it into QGis •Select the shape file layer and go to “Properties”, then “join.” Add (+) new vector and join it to the common layer •To view the shape file attributes right click on the layer and select the option, “open attribute table” and review your information.
  • 6. Step 4. Export your map Export your new shapefile by control-clicking the shapefile layer, selecting “Save as,” and saving the layer as ESRI Shapefile format, WN84. This process will generate a series of files that you will need to compress as a .zip package And DONE, your new shape file is ready for you to style it.
  • 7. TILEMILL Step 1. Install Tilemill Open Tilemill Step 2. Set up a new project Click on the “new project” button to bring in your newly created map (from the previous steps) and name your project. Open your project and click on the icon for LAYERS: Step 3. Style your data Map styling happens by attaching CartoCSS stylesheets to the map project. The syntax for CartoCSS is made up of: •Selection of layers •Colors •Transparency •Size of features •SVG icons •Lettering style and positioning •Scales at which features appear
  • 8. @serif:"Times New Roman Regular","FreeSerif Medium","DejaVu Serif Book"; Map { background-color: #fff; } #country { line-color: #fff; line-width:0.5; polygon-fill:#fff; polygon-comp-op: overlay; comp-op: screen; line-join: round; } #mapadreamfi { line-color:#0c3602; line-width:0.5; polygon-opacity:1; polygon-fill:#5cd221; line-join: round; raster-scaling:lanczos } #mapadreamfi[zoom>2][zoom<6]{ text-name: "[STATE]"; text-face-name: @serif; text-size:6; text-placement-type: simple; text-placements: "N,S,E,W,NE,SE,NW,SW,6,8,10"; text-dy: 3; text-dx: 3; } #mapadreamfi[ALL_POTENT<=550000] { polygon-fill:#6e0909 } #mapadreamfi[ALL_POTENT<=300000] { polygon-fill:#b94f4f } #mapadreamfi[ALL_POTENT<=150000] { polygon-fill:#da6247 } #mapadreamfi[ALL_POTENT<=75000] { polygon-fill:#f3a680 } #mapadreamfi[ALL_POTENT<=10000] { polygon-fill:#fce3d0 } #mapadreamfi[ALL_POTENT< 110] { polygon-fill:#f9f5f3 } For this project, I’ve created a stylesheet , but you should check out your own options with Tilemill. Copy, paste on the Style.mss and check out your map By the time you’re done, your map should look something like this. Try ColorBrewer or 0to255 for color ramps for your data.
  • 9. Step 4. Navigate to the Templates panel. Select “Teaser.” This is the field that defines what appears in the tooltip that appears when the user moves the mouse over each polygon. Basically, all you have to do is format the field to correspond to the values in your data. Copy and paste this code: <b>{{{STATE}}}</b> <div><b>WHO AND WHERE THE DREAMERS ARE:</b></div> <hr><div>Total Potential Dreamers Beneficiaria 2012</div> {{{ALL_POTENT}}}</div> <br><div>Female: {{{FEMALE}}}</div> <div>Male: {{{MALE}}}</div>
  • 10. <div class='legend-title'><b>WHO AND WHERE THE DREAMERS ARE</b></div> <div>Potential Dreamers Beneficiaria 2012</div> <hr> <div class='legend-scale'> <ul class='legend-labels'> <li><span style='background:#6e0909;'></span>More than 550000</li> <li><span style='background:#b94f4f;'></span>More than 300000</li> <li><span style='background:#da6247;'></span>More than 150000</li> <li><span style='background:#f3a680;'></span>More than 75000</li> <li><span style='background:#fce3d0;'></span>More than 10000</li> <li><span style='background:#f9f5f3;'></span>Less than 110 </li> </ul> </div> <div class="legend-source"> <b>Source:<b> <a href="http://www.immigrationpolicy.org/sites/default/files/docs/who_and_where_the_dreamers_are_0.pdf"><b>Immigration Policy Center<b> </a></div> </div> <style type='text/css'> .wax-legend .legend-title { text-align: left; margin-bottom: 10px; font-weight: bold; font-size: 100%; } .wax-legend .legend-scale ul { margin: 0; margin-bottom: 5px; padding: 0; float: left; list-style: none; } .wax-legend .legend-scale ul li { font-size: 80%; list-style: none; margin-left: 0; text-align: center; line-height: 18px; margin-bottom: 2px; } .wax-legend ul.legend-labels li span { display: block; float: left; height: 16px; width: 25px; margin-right: 5px; margin-left: 0; border: 1px solid #999; } .wax-legend .legend-source { font-size: 70%; color: #999; clear: both; } .wax-legend a { color: #777; } .wax-tooltip { width: 500px; opacity: 1; margin-bottom: 12px; </style> Step 5. Add a custom legend to the map. Select “Legend” and with basic HTML/CSS you can outline the structure and style of your legend. Copy and paste this format to your map:
  • 11. Step 6. Get your map on the Web. On the top right of Tilemill, select “Export” and choose “MBTiles.” so you can host the map on MapBox and get the link to share. •Set the center point •Set the bounds •Give the map a name •Type a brief description •Attribute the data source. Click “Export” and save your map in the directory of your choice. The .MBTiles file will be hosted on MapBox, where you can get the embedded link and post it in your blog or media outlet page, also MapBox gives you the option of sharing through social media
  • 12. Next Step Practice, practice, practice! Here is a list of powerful and easy tools to translate your spreadsheets into a map that you can publish on your website. •Migrahack Begginers Fusion Tables Tutorial •BatchGeo •Tableau Public •CartoDB •Open Heat Map •Ushahidi •Leaflet •Open Street Map •Many Eyes (IBM) You did it!