Wikipedia:Graphics Lab/Resources/QGIS/Create a topographic background: Difference between revisions
Content deleted Content added
Plastikspork (talk | contribs) Fix |
|||
(23 intermediate revisions by 6 users not shown) | |||
Line 13:
:{{done}}— section updated (2012/01)
Copy-paste the following color code in an empty, [[plain text]] document (using something like [[Notepad]] or [[TextEdit]]), then save it in ./QGis/Mapcolors/ as '''Wikicarto_2.0.qml''' (the palette's name + .qml). We will frequently use it later.
{{
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="1.6.0-Copiapo" minimumScale="1" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0">
Line 106:
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:
=== Add a plugin (100%) ===▼
:{{in progress|— concept ok, screenshot welcome (Fetch python plugins' window).}}
The most convenient way to output a high quality topographic background is to use the SimpleSVG plugin.▼
;Plugin in the repositories
Most plugin are in the repositories.
Line 117:
;Plugin not in the repository
{{
:''This section is about adding a plugin '''not''' available through QGis (1.7) > Plugins > Fetch plugins, and thus to install handily. We take the case of QGis SimpleSVG plugin.''
Line 133:
}}
== Step 6: Output my topographic background ==
=== Export GIS Raster layers to bitmap (100%) ===▼
▲==== Export GIS topographic Raster layers to bitmap file (100%) ====
▲The most convenient way to output a background is to use the SimpleSVG plugin.
:{{done}} - Done, awaiting your testing & feedbacks !
[[File:QGis SimpleSVG 01 - field for items names.png|300px|thumb|Setting to output well coded SVGs.]]
[[File:
<br />
You are now working with QGis, your GIS data—namely, ETOPO1—and your customized palette. To output your first topographic background, '''don't use ''File > Save as Image'', which is a simple screenshot.''' For better quality, use the ''SimpleSVG plugin''. <!-- This step will walk you through outputting a map like the one you see on the right, including a grid and an inset that lets the viewer know where in the world this section is located. -->
Line 147 ⟶ 149:
;Run SimpleSVG plugin (when installed):
:QGIS (1.7) > Plugins > Save as SVG > Save as SVG'' > Choice your folder : a vector file AND a bitmap file are produced.
:In later versions of QGIS (2.18) > Web > Save as SVG > Save as SVG
;Tips
Line 152 ⟶ 155:
# By default, the canvas of QGIS (geographic area visible in QGis) will become the area printed out.
==== Export GIS Vectors & Raster layers to a well coded SVG (100%) ====
:{{done}} - Done, awaiting testing & your
[[File:QGis SVGsimple 01 - field for items names.png|thumb|300px|right]]
Install the QGIS plugin named "SVGsimple" from the QGIS repository then you can export GIS layers, '''with both SVG and raster layers, and with a cleanly coded SVG file''' and its associated bitmap background.
;Which information as item name ?
SVGsimple
:QGIS (1.7) > right-click on a layer > Properties > tab "Labels" > check on "Display label" > Field containing labels > (
:Check off "Display label"
SVGsimple will remember the field 'Name' and names the GIS items as such in the SVG. In example the GIS item with the
;Export as SVG
:QGIS (1.7) > Plugins > Save as SVG > Save as SVG >
An clean .svg
;Inkscape works!
=== Raster to Vector (polygons) (0%) ===▼
It is now up to you and Inkscape to change the style of each svg group / item, and to add further content (icons, labels, legend, etc.)
▲=== Convert GIS Raster layer to true Vector layer (polygons) (0%) ===
{{waiting}} → waiting for a volunteer
* [http://forum.qgis.org/viewtopic.php?f=2&t=8752 Convert to vector]
Line 173 ⟶ 179:
'''Concept:''' Use an elevation GIS file, a discrete black & white colormap, and the Print composer to output one 1500px/1500px black & white png for each altitude (0m, +200m, +500m, etc, name the png accordingly!). This by a cycle such as 1. editing the map color, 2. actualizing the Print composer, 3. outputting the new png. Then use Inkscape to vectorize : load all png, align them, vectorize each using 2 colors + delete background. Color each vector polygon level (0m, 200m, ...) as need.<br />
;Introduction
QGis
;QGis cycles
;Inkscape cycles
Line 180 ⟶ 186:
{{Digital cartography tutorials}}
[[ru:Википедия:Проект:Картография/Помощь/Векторная физическая карта]]
[[fr:Wikipédia:Atelier_graphique/Didacticiels_cartographiques/Didacticiel_de_création_de_carte_avec_QGIS/Topographie]]
|