Wikipedia:Graphics Lab/Resources/QGIS/Create a topographic background: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
You already have a GIS file loaded in QGIS, we will now apply to it some nice colors, then output a PNG background for our area of interest and final map.
 
==Step 4: Add some custom colors==
:''Main page : [[Wikipedia:Graphic Lab/Resources/QGis mapcolor files]] - for more colormap files''
The topographic GIS data you downloaded is by default displayed using a monochromatic palette (mapcolors) going from white to black; however, you have the option of using other colors. You can either load an existing mapcolor file, edit an existing mapcolor file or create your own mapcolors. To do this, you will need to edit the layer's properties.
Line 7:
Please note that per the Wikipedia [[Wikipedia:WikiProject Maps/Conventions| map conventions]], you should use the colors provided for all topographical shading.
 
===Existing Wikipedia color palettes===
The [[Wikipedia:Graphic Lab/Resources/QGis mapcolor files|QGis mapcolor files]] page already has some palettes you can use. Simply copy-paste the code into a text document, then save as PALETTENAME'''.qml''' and follow the steps above to load it into your map.
 
Line 77:
More are [[:fr:Wikipédia:Atelier_graphique/Didacticiels_cartographiques/Didacticiel_de_création_de_carte_avec_QGIS#Colorer_les_couches_vecteurs_dans_un_style_wiki|available there]].
 
===Loading mapcolors===
For this, you will be using the '''Wikicarto_2.0.qml''' file you created earlier in this tutorial.
 
Line 90:
</gallery>
 
===Editing mapcolors===
[[File:QGis_Load_mapcolor_style_-_02_mapcolor_box.png|thumb|400px|The ''Colormap'' tab with colors already loaded.]]
If you would like to edit already loaded mapcolors, simply go to the ''Colormap'' tab. There, you can add or delete entries by selecting them and clicking the appropriate buttons. You can also edit the ''Value'', ''Color'', and ''Label'' fields of any entry by simply double clicking on the field you wish to change. Click ''Apply'' to see the changes.
 
===Creating mapcolors===
If you would like to create your own colors from scratch—this is advised against for topographical maps, which should follow the [[Wikipedia:WikiProject Maps/Conventions| map conventions]]— you can do so by following these steps on a layer which has not had colors loaded onto it:
 
Line 103:
# ''Apply'' or ''OK'' to see the changes.
 
===Saving mapcolors===
You can save edited or created mapcolors as a style file by clicking ''Save Style...'' at the bottom of the ''Layer Properties'' window. This will allow you to apply those mapcolors to another map. If you would like to make colors—whether loaded or created—the default colors for the map, click ''Save As Default''. This will allow you to keep editing or loading different colors while having the option to ''Restore Default Style'' if you don't like the changes you've made.
 
== Step 5: Output a background ==
The most convenient way is to use the SimpleSVG plugin. ('''See next lesson for installation''').
[[File:QGis SimpleSVG 01 - field for items names.png|300px|thumb|Setting to output well coded SVGs.]]
Line 124:
# By default, the canvas of QGIS (geographic area visible in QGis) will become the area printed out.
 
== Links==
{{Digital cartography tutorials}}
[[ru:Википедия:Проект:Картография/Помощь/Векторная физическая карта]]