Original link: http://tecdat.cn/?p=8057
About QGIS
GQIS is the leading free open source geographic information system (GIS) applications. It can perform complex geographic data processing and analysis, the data can also be used to publish quality of design-driven map.
Start QGIS, you should see a screen similar to the following:
If your screen looks different, please View>Panels
select from the top menu and check the option, as follows:
Then select View>Toolbars
and check, as shown below:
We will use the data today
seismic
Shapefile, which includes from the US Geological Survey in 2017, the continental United States suffered the devastating earthquake risk data.seismic_raw
As noted above, but not limited to American shores and borders.gdp_pc
gpd_pc.csv
gdp_pc.csvt
It includes the World Bank , 2016 world per capita GDP data, CSV files, as well as QGIS of supporting documentation to understand the data type for each field.
ne_50m_admin_0_countries_lakes
It has the world boundary data of the Earth shapefile .sf_test_addresses
Shapefile from our geocoded address in the first nine weeks.quakes.csv
The file is not in the folder. Instead, we will
use the US Geological Survey's Earthquake file API, we will all earthquakes since 1960, with a search size 6 km above witin6000 the geographic center of the United States occurred as. Namedquery.csv
files should be downloaded. Renamequakes.csv
and added to theweek10
folder.
Draw seismic risk and seismic map
Choropleth make a map showing the seismic risk of the continental United States
选择Layer>Add Layer>Add Vector Layer...
或单击此图标:
在对话框中,单击下面带有三个点的按钮,Source
然后导航到文件seismic
。选择带有.shp
扩展名的文件很重要。然后单击Add
,Close
将出现以下地图,并用随机颜色填充:
在Layers
左侧面板应该显示seismic
层。您可以通过取消选中Layers
面板中的复选框来关闭任何图层的可见性。
这些控件使您可以平移和缩放显示:
通过在Layers
面板中右键单击并选择,可以将显示集中在任何图层的整个范围内Zoom to layer
。
注意EPSG:4326
右下角。这将定义图层的地图投影和基准。
我们稍后将为地图选择另一个投影。单击Cancel
或OK
关闭Properties
该层。
现在,我们需要sesimic
通过数据中的值为图层的区域着色。右键单击Layers
面板中的图层,然后选择Open Attribute Table
,它对应于.dbf
shapefile的:
有一个变量,ValueRange
给出了2017年遭受破坏性地震的机会百分比。
关闭属性表并Properties>Symbology
为该seismic
图层打开。Categorized
从顶部的下拉菜单中选择,这是根据分类变量的值为数据着色的选项,然后ValueRange
在下选择Column
。
单击Classify
按钮,数据中的值将被分配随机颜色:
Please note that this range 10-12
is out of order. Now click and drag the range 10-12
to the right place.
Now, click Color ramp
the drop-down menu, select the Create New Color Ramp, and at the next dialog box select
directory: ColorBrewer`:
Select ColorBrewer Reds
palette, click OK
, the map should look like this:
Next, we will remove black outline around the polygon. Properties>Symbology
Open again, and then click the color square below Symbol
. Simple fill
In the dialog box, select, and then change Stroke style
to No Pen
:
Click on OK
each dialog box, the map should now look like this:
If you have any questions, please leave a comment below.
Big Data tribe - Chinese professional third-party data service providers to provide customized one-stop data mining and statistical analysis consultancy services
Statistical analysis and data mining consulting services: y0.cn/teradat (Consulting Services, please contact the official website customer service )
[Service] Scene
Research; the company outsourcing; online and offline one training; data reptile collection; academic research; report writing; market research.
[Tribe] big data to provide customized one-stop data mining and statistical analysis consultancy
Welcome to elective our R language data analysis will be mining will know the course!
If you have any questions, please leave a comment below.
Big Data tribe - Chinese professional third-party data service providers to provide customized one-stop data mining and statistical analysis consultancy services
Statistical analysis and data mining consulting services: y0.cn/teradat (Consulting Services, please contact the official website customer service )
[Service] Scene
Research; the company outsourcing; online and offline one training; data reptile collection; academic research; report writing; market research.
[Tribe] big data to provide customized one-stop data mining and statistical analysis consultancy
Welcome to elective our R language data analysis will be mining will know the course!
Big Data tribe - Chinese professional third-party data service providers to provide customized one-stop data mining and statistical analysis consultancy services
Statistical analysis and data mining consulting services: y0.cn/teradat (Consulting Services, please contact the official website customer service )
[Service] Scene
Research; the company outsourcing; online and offline one training; data reptile collection; academic research; report writing; market research.
[Tribe] big data to provide customized one-stop data mining and statistical analysis consultancy
Welcome to elective our R language data analysis will be mining will know the course!