GIS AH Answers: Perbedaan revisi
(→50px Label Customization (Part 1)) |
(Marked this version for translation) |
||
(27 revisi antara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
− | + | <languages/> | |
+ | <translate> | ||
− | == | + | = Answer Sheet = <!--T:1--> |
− | == | + | == Results for ''Adding Your First Layer'' == <!--T:2--> |
+ | === [[Image:basic.png|50px]] ''Preparation'' === <!--T:3--> | ||
+ | |||
+ | <!--T:4--> | ||
You should see a lot of lines, symbolizing roads. All these lines are in the vector layer that you just loaded to create a basic map. | You should see a lot of lines, symbolizing roads. All these lines are in the vector layer that you just loaded to create a basic map. | ||
− | == Results for ''An Overview of the Interface'' == | + | <!--T:5--> |
+ | [[GIS_AH_C2#Follow_along:_Prepare_a_map|''Back to text'']] | ||
+ | |||
+ | == Results for ''An Overview of the Interface'' == <!--T:6--> | ||
− | === [[Image:basic.png|50px]] ''Overview'' (Part 1) === | + | === [[Image:basic.png|50px]] ''Overview'' (Part 1) === <!--T:7--> |
+ | <!--T:8--> | ||
Refer back to the image showing the interface layout and check that you remember the names and functions of the screen elements. | Refer back to the image showing the interface layout and check that you remember the names and functions of the screen elements. | ||
− | === [[Image:basic.png|50px]] ''Overview'' (Part 2) === | + | === [[Image:basic.png|50px]] ''Overview'' (Part 2) === <!--T:9--> |
+ | <!--T:10--> | ||
# ''Save as'' | # ''Save as'' | ||
# ''Zoom to layer'' | # ''Zoom to layer'' | ||
Baris 21: | Baris 30: | ||
# ''Measure line'' | # ''Measure line'' | ||
− | == Results for ''Working with Vector Data'' == | + | <!--T:11--> |
+ | [[GIS_AH_C2#What.27s_next.3F_2|''Back to text'']] | ||
+ | |||
+ | == Results for ''Working with Vector Data'' == <!--T:12--> | ||
− | === [[Image:basic.png|50px]] ''Shapefiles'' === | + | === [[Image:basic.png|50px]] ''Shapefiles'' === <!--T:13--> |
+ | <!--T:14--> | ||
There should be three layers on your map: | There should be three layers on your map: | ||
+ | <!--T:15--> | ||
* ''waterways'' | * ''waterways'' | ||
* ''places'' and | * ''places'' and | ||
* ''streets''. | * ''streets''. | ||
− | === [[Image:basic.png|50px]] ''Databases'' === | + | <!--T:16--> |
+ | [[GIS_AH_C3#Follow_along:_Loading_vector_data_from_shapefiles|''Back to text'']] | ||
+ | |||
+ | === [[Image:basic.png|50px]] ''Databases'' === <!--T:17--> | ||
+ | <!--T:18--> | ||
All the vector layers should be loaded into the map. It probably won't look nice yet: | All the vector layers should be loaded into the map. It probably won't look nice yet: | ||
− | [[Image:0011.png| | + | <!--T:19--> |
+ | [[Image:0011.png|700px]] | ||
+ | <!--T:20--> | ||
(We'll fix the ugly colours later.) | (We'll fix the ugly colours later.) | ||
− | == Results for ''Symbology'' == | + | <!--T:21--> |
+ | [[GIS_AH_C3#Follow_along:_Loading_vector_data_from_a_database|''Back to text'']] | ||
+ | |||
+ | == Results for ''Symbology'' == <!--T:22--> | ||
− | === [[Image:basic.png|50px]] ''colours'' === | + | === [[Image:basic.png|50px]] ''colours'' === <!--T:23--> |
+ | <!--T:24--> | ||
* Verify that the colours are changing as you expect them to change. | * Verify that the colours are changing as you expect them to change. | ||
* It is enough to change only the ''waterways'' layer for now. An example is below, but may look different depending on the colour you chose. | * It is enough to change only the ''waterways'' layer for now. An example is below, but may look different depending on the colour you chose. | ||
− | [[Image:0181.png| | + | <!--T:25--> |
+ | [[Image:0181.png|700px]] | ||
+ | <!--T:26--> | ||
{{hlbox|Note: If you want to work on only one layer at a time and don't want the other layers to distract you, you can hide a layer by clicking in the check box next to its name in the Layers list. If the box is blank, then the layer is hidden. We have hidden some of the layers in this picture.}} | {{hlbox|Note: If you want to work on only one layer at a time and don't want the other layers to distract you, you can hide a layer by clicking in the check box next to its name in the Layers list. If the box is blank, then the layer is hidden. We have hidden some of the layers in this picture.}} | ||
− | === [[Image:basic.png|50px]] ''Symbol Structure'' === | + | <!--T:27--> |
+ | [[GIS_AH_C3#Try_yourself...|''Back to text'']] | ||
+ | |||
+ | === [[Image:basic.png|50px]] ''Symbol Structure'' === <!--T:28--> | ||
+ | <!--T:29--> | ||
Seen together, your forests, waterways, and bandung_districts layers should look more or less like this: | Seen together, your forests, waterways, and bandung_districts layers should look more or less like this: | ||
− | [[Image:0201.png| | + | <!--T:30--> |
+ | [[Image:0201.png|700px]] | ||
+ | <!--T:31--> | ||
If you are a Beginner-level user, you may stop here. | If you are a Beginner-level user, you may stop here. | ||
+ | <!--T:32--> | ||
* Use the method above to change the colours and styles for all the remaining layers. | * Use the method above to change the colours and styles for all the remaining layers. | ||
* Try using natural colours for the objects. For example, a road should not be red or blue, but can be gray or black. | * Try using natural colours for the objects. For example, a road should not be red or blue, but can be gray or black. | ||
* Also feel free to experiment with different ''Fill Style'' and ''Border Style'' settings for the polygons. | * Also feel free to experiment with different ''Fill Style'' and ''Border Style'' settings for the polygons. | ||
− | === [[Image:moderate.png|50px]] ''Symbol Layers'' === | + | <!--T:33--> |
+ | [[GIS_AH_C3#Try_yourself..._2|''Back to text'']] | ||
+ | |||
+ | === [[Image:moderate.png|50px]] ''Symbol Layers'' === <!--T:34--> | ||
+ | <!--T:35--> | ||
* Customize your layers as you like, but remember that it has to be easy to tell different layers apart on the map. | * Customize your layers as you like, but remember that it has to be easy to tell different layers apart on the map. | ||
+ | <!--T:36--> | ||
Here's an example: | Here's an example: | ||
− | [[Image:0131.png| | + | <!--T:37--> |
+ | [[Image:0131.png|700px]] | ||
− | + | <!--T:38--> | |
+ | [[GIS_AH_C3#Try_yourself..._3|''Back to text'']] | ||
+ | === [[Image:moderate.png|50px]] ''Symbol Levels'' === <!--T:39--> | ||
+ | |||
+ | <!--T:40--> | ||
To make the required symbol, you need at least three symbol layers: | To make the required symbol, you need at least three symbol layers: | ||
+ | <!--T:41--> | ||
[[Image:0211.png|image]] | [[Image:0211.png|image]] | ||
+ | <!--T:42--> | ||
The lowest symbol layer is a broad, solid yellow line. On top of it there is a slightly thinner solid dark gray or black line. The symbol layer on top is a thin white dashed line. | The lowest symbol layer is a broad, solid yellow line. On top of it there is a slightly thinner solid dark gray or black line. The symbol layer on top is a thin white dashed line. | ||
+ | <!--T:43--> | ||
* If your symbol layers resemble the above but you're not getting the result you want, check that your symbol levels look something like this: | * If your symbol layers resemble the above but you're not getting the result you want, check that your symbol levels look something like this: | ||
+ | <!--T:44--> | ||
[[Image:0221.png|image]] | [[Image:0221.png|image]] | ||
+ | <!--T:45--> | ||
* Now your symbol should look like this: | * Now your symbol should look like this: | ||
+ | <!--T:46--> | ||
[[Image:0231.png|image]] | [[Image:0231.png|image]] | ||
+ | <!--T:47--> | ||
* Which, on the map, gives you this kind of effect: | * Which, on the map, gives you this kind of effect: | ||
− | [[Image:0241.png| | + | <!--T:48--> |
+ | [[Image:0241.png|700px]] | ||
− | + | <!--T:49--> | |
+ | [[GIS_AH_C3#Try_yourself..._4|''Back to text'']] | ||
+ | === [[Image:hard.png|50px]] ''Symbol Levels'' === <!--T:50--> | ||
+ | |||
+ | <!--T:51--> | ||
* Adjust your symbol levels to these values: | * Adjust your symbol levels to these values: | ||
+ | <!--T:52--> | ||
[[Image:0261.png|image]] | [[Image:0261.png|image]] | ||
+ | <!--T:53--> | ||
* There are a lot of symbols with this style | * There are a lot of symbols with this style | ||
* Experiment with different values to get different results. | * Experiment with different values to get different results. | ||
* Open your original map again before continuing with the next exercise. | * Open your original map again before continuing with the next exercise. | ||
− | == Results for ''Attribute Data'' == | + | == Results for ''Attribute Data'' == <!--T:54--> |
− | === [[Image:basic.png|50px]] ''Attribute Data'' === | + | === [[Image:basic.png|50px]] ''Attribute Data'' === <!--T:55--> |
+ | <!--T:56--> | ||
The ''NAME'' field is the most useful to show as labels. This is because all its values are unique for every object, and it contains no "null" values (i.e., fields with no value). | The ''NAME'' field is the most useful to show as labels. This is because all its values are unique for every object, and it contains no "null" values (i.e., fields with no value). | ||
− | == Results for ''The Label Tool'' == | + | <!--T:57--> |
+ | [[GIS_AH_C4#Follow_along:_Attribute_data|''Back to text'']] | ||
+ | |||
+ | == Results for ''The Label Tool'' == <!--T:58--> | ||
− | === [[Image:moderate.png|50px]] ''Label Customization'' (Part 1) === | + | === [[Image:moderate.png|50px]] ''Label Customization'' (Part 1) === <!--T:59--> |
+ | <!--T:60--> | ||
Your map should look like this: | Your map should look like this: | ||
+ | <!--T:61--> | ||
[[Image:0101.png|700px]] | [[Image:0101.png|700px]] | ||
− | === [[Image:moderate.png|50px]] ''Label Customization'' (Part 2) === | + | <!--T:62--> |
+ | [[GIS_AH_C4#Try_yourself..._Customize_the_labels|''Back to text'']] | ||
+ | |||
+ | === [[Image:moderate.png|50px]] ''Label Customization'' (Part 2) === <!--T:63--> | ||
+ | <!--T:64--> | ||
One possible solution has this final product: | One possible solution has this final product: | ||
− | [[Image:0151.png| | + | <!--T:65--> |
+ | [[Image:0151.png|700px]] | ||
+ | <!--T:66--> | ||
To arrive at this result: | To arrive at this result: | ||
+ | <!--T:67--> | ||
* Use the font type <code>Arial</code> of size <code>10</code> and a ''Label distance'' of <code>1,5 mm</code>.</p></li> | * Use the font type <code>Arial</code> of size <code>10</code> and a ''Label distance'' of <code>1,5 mm</code>.</p></li> | ||
* In addition, this example uses the ''Wrap label on character'' option:</p> | * In addition, this example uses the ''Wrap label on character'' option:</p> | ||
+ | <!--T:68--> | ||
[[Image:0161.png|image]] | [[Image:0161.png|image]] | ||
+ | <!--T:69--> | ||
* Enter a <code>space</code> in this field and click ''Apply'' to achieve the same effect. | * Enter a <code>space</code> in this field and click ''Apply'' to achieve the same effect. | ||
− | + | <!--T:70--> | |
+ | [[GIS_AH_C4#Try_yourself..._Customize_the_labels|''Back to text'']] | ||
+ | === [[Image:hard.png|50px]] ''Using Data Defined Settings'' === <!--T:71--> | ||
+ | |||
+ | <!--T:72--> | ||
* Still in edit mode, set the <code>FONT_SIZE</code> values to whatever you prefer. The example uses <code>14</code> for universities, <code>12</code> for hospitals, and <code>10</code> for the remaining places. | * Still in edit mode, set the <code>FONT_SIZE</code> values to whatever you prefer. The example uses <code>14</code> for universities, <code>12</code> for hospitals, and <code>10</code> for the remaining places. | ||
* Remember to save changes and exit edit mode. | * Remember to save changes and exit edit mode. | ||
* In ''Data defined settings'', do this: | * In ''Data defined settings'', do this: | ||
+ | <!--T:73--> | ||
[[Image:0262.png|image]] | [[Image:0262.png|image]] | ||
+ | <!--T:74--> | ||
Your results, if using the above values, should be this: | Your results, if using the above values, should be this: | ||
− | [[Image:0271.png| | + | <!--T:75--> |
+ | [[Image:0271.png|700px]] | ||
− | + | <!--T:76--> | |
+ | [[GIS_AH_C4#Try_yourself..._Using_data_defined_settings|''Back to text'']] | ||
− | == | + | == Results for ''Classification'' == <!--T:77--> |
+ | === [[Image:moderate.png|50px]] ''Refine the Classification'' === <!--T:78--> | ||
+ | |||
+ | <!--T:79--> | ||
* Use the same method as in the first exercise of the lesson to get rid of the lines: | * Use the same method as in the first exercise of the lesson to get rid of the lines: | ||
− | [[Image:0272.png| | + | <!--T:80--> |
+ | [[Image:0272.png|600px]] | ||
+ | <!--T:81--> | ||
The settings you used might not be the same, but with the values ''Classes'' = <code>7</code> and ''Mode'' = ''Natural Breaks (Jenks)'' (and using the same colours, of course), the map will look like this: | The settings you used might not be the same, but with the values ''Classes'' = <code>7</code> and ''Mode'' = ''Natural Breaks (Jenks)'' (and using the same colours, of course), the map will look like this: | ||
− | [[Image:0281.png| | + | <!--T:82--> |
+ | [[Image:0281.png|600px]] | ||
− | + | <!--T:83--> | |
+ | [[GIS_AH_C4#Try_yourself..._Refine_the_classification|''Back to text'']] | ||
− | == | + | == Results for ''Vector Analysis'' == <!--T:84--> |
+ | === [[Image:basic.png|50px]] ''Find Important Roads'' === <!--T:85--> | ||
+ | |||
+ | <!--T:86--> | ||
Your layer should now have these roads: | Your layer should now have these roads: | ||
+ | <!--T:87--> | ||
[[Image:0171.png|image]] | [[Image:0171.png|image]] | ||
+ | <!--T:88--> | ||
* Save this new layer (the same way you did before) under <code>exercise_data/residential_development/</code>, as <code>important_roads.shp</code>. | * Save this new layer (the same way you did before) under <code>exercise_data/residential_development/</code>, as <code>important_roads.shp</code>. | ||
* Once the new layer has been added to your map, remove the old layer. | * Once the new layer has been added to your map, remove the old layer. | ||
* If for some reason it gives you an error message saying that it can't add the layer to the map (this can happen), remember that you can add the layer yourself by using the ''Add Vector Layer'' button as you did before. | * If for some reason it gives you an error message saying that it can't add the layer to the map (this can happen), remember that you can add the layer yourself by using the ''Add Vector Layer'' button as you did before. | ||
− | === [[Image:basic.png|50px]] ''Distance from High Schools'' === | + | === [[Image:basic.png|50px]] ''Distance from High Schools'' === <!--T:89--> |
+ | <!--T:90--> | ||
* Your buffer dialogue should look like this: | * Your buffer dialogue should look like this: | ||
+ | <!--T:91--> | ||
[[Image:0242.png|image]] | [[Image:0242.png|image]] | ||
+ | <!--T:92--> | ||
The ''Buffer distance'' is <code>10000</code> meters (i.e., <code>10</code> kilometers). | The ''Buffer distance'' is <code>10000</code> meters (i.e., <code>10</code> kilometers). | ||
+ | <!--T:93--> | ||
* The ''Segments to approximate'' value is set to <code>20</code>. This is optional, but it's recommended, because it makes the output buffers look smoother. | * The ''Segments to approximate'' value is set to <code>20</code>. This is optional, but it's recommended, because it makes the output buffers look smoother. | ||
+ | <!--T:94--> | ||
Compare this: | Compare this: | ||
+ | <!--T:95--> | ||
[[Image:0251.png|image]] | [[Image:0251.png|image]] | ||
+ | <!--T:96--> | ||
To this: | To this: | ||
+ | <!--T:97--> | ||
[[Image:0263.png|image]] | [[Image:0263.png|image]] | ||
+ | <!--T:98--> | ||
The red circle is the buffer with ''Segments to approximate'' set to <code>20</code>; the gray circle on top of it is the buffer with ''Segments to approximate'' set to <code>5</code>. | The red circle is the buffer with ''Segments to approximate'' set to <code>20</code>; the gray circle on top of it is the buffer with ''Segments to approximate'' set to <code>5</code>. | ||
+ | |||
+ | <!--T:99--> | ||
+ | [[GIS_AH_C7#Try_yourself..._distance_from_high_schools|''Back to text'']] | ||
+ | </translate> |
Revisi terkini pada 16 Januari 2015 17.26
Daftar isi
Answer Sheet
Results for Adding Your First Layer
Preparation
You should see a lot of lines, symbolizing roads. All these lines are in the vector layer that you just loaded to create a basic map.
Back to text
Results for An Overview of the Interface
Overview (Part 1)
Refer back to the image showing the interface layout and check that you remember the names and functions of the screen elements.
Overview (Part 2)
- Save as
- Zoom to layer
- Help
- Rendering on/off
- Measure line
Back to text
Results for Working with Vector Data
Shapefiles
There should be three layers on your map:
- waterways
- places and
- streets.
Back to text
Databases
All the vector layers should be loaded into the map. It probably won't look nice yet:
(We'll fix the ugly colours later.)
Back to text
Results for Symbology
colours
- Verify that the colours are changing as you expect them to change.
- It is enough to change only the waterways layer for now. An example is below, but may look different depending on the colour you chose.
Note: If you want to work on only one layer at a time and don't want the other layers to distract you, you can hide a layer by clicking in the check box next to its name in the Layers list. If the box is blank, then the layer is hidden. We have hidden some of the layers in this picture.
Back to text
Symbol Structure
Seen together, your forests, waterways, and bandung_districts layers should look more or less like this:
If you are a Beginner-level user, you may stop here.
- Use the method above to change the colours and styles for all the remaining layers.
- Try using natural colours for the objects. For example, a road should not be red or blue, but can be gray or black.
- Also feel free to experiment with different Fill Style and Border Style settings for the polygons.
Back to text
Symbol Layers
- Customize your layers as you like, but remember that it has to be easy to tell different layers apart on the map.
Here's an example:
Back to text
Symbol Levels
To make the required symbol, you need at least three symbol layers:
The lowest symbol layer is a broad, solid yellow line. On top of it there is a slightly thinner solid dark gray or black line. The symbol layer on top is a thin white dashed line.
- If your symbol layers resemble the above but you're not getting the result you want, check that your symbol levels look something like this:
- Now your symbol should look like this:
- Which, on the map, gives you this kind of effect:
Back to text
Symbol Levels
- Adjust your symbol levels to these values:
- There are a lot of symbols with this style
- Experiment with different values to get different results.
- Open your original map again before continuing with the next exercise.
Results for Attribute Data
Attribute Data
The NAME field is the most useful to show as labels. This is because all its values are unique for every object, and it contains no "null" values (i.e., fields with no value).
Back to text
Results for The Label Tool
Label Customization (Part 1)
Your map should look like this:
Back to text
Label Customization (Part 2)
One possible solution has this final product:
To arrive at this result:
- Use the font type
Arial
of size10
and a Label distance of1,5 mm
. - In addition, this example uses the Wrap label on character option:
- Enter a
space
in this field and click Apply to achieve the same effect.
Back to text
Using Data Defined Settings
- Still in edit mode, set the
FONT_SIZE
values to whatever you prefer. The example uses14
for universities,12
for hospitals, and10
for the remaining places. - Remember to save changes and exit edit mode.
- In Data defined settings, do this:
Your results, if using the above values, should be this:
Back to text
Results for Classification
Refine the Classification
- Use the same method as in the first exercise of the lesson to get rid of the lines:
The settings you used might not be the same, but with the values Classes = 7
and Mode = Natural Breaks (Jenks) (and using the same colours, of course), the map will look like this:
Back to text
Results for Vector Analysis
Find Important Roads
Your layer should now have these roads:
- Save this new layer (the same way you did before) under
exercise_data/residential_development/
, asimportant_roads.shp
. - Once the new layer has been added to your map, remove the old layer.
- If for some reason it gives you an error message saying that it can't add the layer to the map (this can happen), remember that you can add the layer yourself by using the Add Vector Layer button as you did before.
Distance from High Schools
- Your buffer dialogue should look like this:
The Buffer distance is 10000
meters (i.e., 10
kilometers).
- The Segments to approximate value is set to
20
. This is optional, but it's recommended, because it makes the output buffers look smoother.
Compare this:
To this:
The red circle is the buffer with Segments to approximate set to 20
; the gray circle on top of it is the buffer with Segments to approximate set to 5
.
Back to text