Skip to content

Commit 2b07e3d

Browse files
committed
Merge branch 'master' of github.com:qgis/Quantum-GIS
2 parents 2a7ac93 + b7994f1 commit 2b07e3d

File tree

7 files changed

+226
-52
lines changed

7 files changed

+226
-52
lines changed

i18n/qgis_de.ts

+164-3
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ and python executables.
20382038

20392039
MacOS users usually need to set it to something like
20402040
/Library/Frameworks/GDAL.framework/Versions/1.8/Programs</source>
2041-
<translation>Eine Liste von durch Doppelpunkte (Linux und MacOS) oder
2041+
<translation type="obsolete">Eine Liste von durch Doppelpunkte (Linux und MacOS) oder
20422042
Semilokons (Windows) getrennten Pfaden zu sowohl den Programme
20432043
als auch den Pythonskripten.
20442044

@@ -2048,13 +2048,13 @@ MacOS-Benutzer brauchen normalerweise etwas wie
20482048
<message>
20492049
<source>A list of colon-separated (Linux and MacOS) or
20502050
semicolon-separated (Windows) paths to python modules.</source>
2051-
<translation>Liste von durch Doppelpunkte (Linux und MacOS) oder
2051+
<translation type="obsolete">Liste von durch Doppelpunkte (Linux und MacOS) oder
20522052
Semikolons (Windows) getrennte Pfade zu den Pythonmodulen.</translation>
20532053
</message>
20542054
<message>
20552055
<source>Useful to open local GDAL documentation instead of online help
20562056
when pressing on the tool dialog&apos;s Help button.</source>
2057-
<translation>Nützlich um die GDAL-Dokumentation statt der Onlinehilfe
2057+
<translation type="obsolete">Nützlich um die GDAL-Dokumentation statt der Onlinehilfe
20582058
zu öffnen, wenn der Hilfeknopf des Werkzeugs angeklickt wird.</translation>
20592059
</message>
20602060
<message>
@@ -3434,6 +3434,155 @@ GEOS-Verarbeitungsfehler: Eine oder mehrere Objekte haben ungültige Geometrie.<
34343434
<translation>&amp;Globus</translation>
34353435
</message>
34363436
</context>
3437+
<context>
3438+
<name>Heatmap</name>
3439+
<message>
3440+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="75"/>
3441+
<source>Heatmap</source>
3442+
<translation>Heatmap</translation>
3443+
</message>
3444+
<message>
3445+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="77"/>
3446+
<source>Creates a heatmap raster for the input point vector.</source>
3447+
<translation>Erzeugt ein Heatmap-Raster für einen Eingabepunktlayer.</translation>
3448+
</message>
3449+
<message>
3450+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="82"/>
3451+
<source>&amp;Heatmap</source>
3452+
<translation>&amp;Heatmap</translation>
3453+
</message>
3454+
<message>
3455+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="133"/>
3456+
<source>GDAL driver error</source>
3457+
<translation>GDAL-Treiberfehler</translation>
3458+
</message>
3459+
<message>
3460+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="133"/>
3461+
<source>Cannot open the driver for the specified format</source>
3462+
<translation>Kann den Treiber für das angegebene Format nicht öffnen</translation>
3463+
</message>
3464+
<message>
3465+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="179"/>
3466+
<source>Raster update error</source>
3467+
<translation>Rasteraktualisierungsfehler</translation>
3468+
</message>
3469+
<message>
3470+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="179"/>
3471+
<source>Could not open the created raster for updating. The heatmap was not generated.</source>
3472+
<translation>Konnte die erzeugte Rasterdatei nicht zur Aktualierung öffnen. Die Heatmap wurde nicht erzeugt.</translation>
3473+
</message>
3474+
<message>
3475+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="189"/>
3476+
<source>Point layer error</source>
3477+
<translation>Punktlayerfehler</translation>
3478+
</message>
3479+
<message>
3480+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="189"/>
3481+
<source>Could not identify the vector data provider.</source>
3482+
<translation>Konnte den Vektordatenlieferanten nicht erkennen.</translation>
3483+
</message>
3484+
<message>
3485+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="209"/>
3486+
<source>Heatmap generation aborted</source>
3487+
<translation>Heatmap-Erzeugung abgebrochen</translation>
3488+
</message>
3489+
<message>
3490+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="209"/>
3491+
<source>QGIS will now load the partially-computed raster.</source>
3492+
<translation>QGIS wird nun das teilweise berechnete Raster laden.</translation>
3493+
</message>
3494+
</context>
3495+
<context>
3496+
<name>HeatmapGui</name>
3497+
<message>
3498+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="97"/>
3499+
<source>Layer not found</source>
3500+
<translation>Layer nicht gefunden</translation>
3501+
</message>
3502+
<message>
3503+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="97"/>
3504+
<source>Layer %1 not found.</source>
3505+
<translation>Layer %1 nicht gefunden.</translation>
3506+
</message>
3507+
<message>
3508+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="106"/>
3509+
<source>Invalid buffer value</source>
3510+
<translation>Ungültiger Pufferwert</translation>
3511+
</message>
3512+
<message>
3513+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="106"/>
3514+
<source>Buffer distance cannot be zero. Please enter a valid value.</source>
3515+
<translation>Der Pufferabstand kann nicht Null sein. Bitte geben Sie einen gültigen Wert an.</translation>
3516+
</message>
3517+
<message>
3518+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="118"/>
3519+
<source>Invalid output filename</source>
3520+
<translation>Ungültiger Ausgabedateiname</translation>
3521+
</message>
3522+
<message>
3523+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="118"/>
3524+
<source>Please enter a valid output file path and name.</source>
3525+
<translation>Bitte geben Sie einen gültigen Dateiennamen an.</translation>
3526+
</message>
3527+
<message>
3528+
<location filename="../src/plugins/heatmap/heatmapgui.cpp" line="163"/>
3529+
<source>Save Heatmap as:</source>
3530+
<translation>Heatmap speichern als:</translation>
3531+
</message>
3532+
</context>
3533+
<context>
3534+
<name>HeatmapGuiBase</name>
3535+
<message>
3536+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="14"/>
3537+
<source>Heatmap Plugin</source>
3538+
<translation>Heatmap-Erweiterung</translation>
3539+
</message>
3540+
<message>
3541+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="29"/>
3542+
<source>Input Point Vector</source>
3543+
<translation>Eingabepunktlayer</translation>
3544+
</message>
3545+
<message>
3546+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="52"/>
3547+
<source>Output Raster</source>
3548+
<translation>Ausgaberaster</translation>
3549+
</message>
3550+
<message>
3551+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="78"/>
3552+
<source>...</source>
3553+
<translation>...</translation>
3554+
</message>
3555+
<message>
3556+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="107"/>
3557+
<source>Heatmap Point Attributes</source>
3558+
<translation>Heatmap-Punktattribute</translation>
3559+
</message>
3560+
<message>
3561+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="119"/>
3562+
<source>Buffer Radius</source>
3563+
<translation>Pufferradius</translation>
3564+
</message>
3565+
<message>
3566+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="132"/>
3567+
<source>Decay Ratio</source>
3568+
<translation>Verfallrate</translation>
3569+
</message>
3570+
<message>
3571+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="145"/>
3572+
<source>10</source>
3573+
<translation>10</translation>
3574+
</message>
3575+
<message>
3576+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="158"/>
3577+
<source>0.5</source>
3578+
<translation>0.5</translation>
3579+
</message>
3580+
<message>
3581+
<location filename="../src/plugins/heatmap/heatmapguibase.ui" line="172"/>
3582+
<source>Output Format</source>
3583+
<translation>Ausgabeformat</translation>
3584+
</message>
3585+
</context>
34373586
<context>
34383587
<name>MainWindow</name>
34393588
<message>
@@ -5687,6 +5836,7 @@ Would you like to specify path (GISBASE) to your GRASS installation?</source>
56875836
<location filename="../src/plugins/globe/globe_plugin.cpp" line="66"/>
56885837
<location filename="../src/plugins/gps_importer/qgsgpsplugin.cpp" line="53"/>
56895838
<location filename="../src/plugins/grass/qgsgrassplugin.cpp" line="51"/>
5839+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="47"/>
56905840
<location filename="../src/plugins/offline_editing/offline_editing_plugin.cpp" line="34"/>
56915841
<location filename="../src/plugins/oracle_raster/qgsoracle_plugin.cpp" line="22"/>
56925842
<location filename="../src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp" line="39"/>
@@ -6509,6 +6659,7 @@ Would you like to specify path (GISBASE) to your GRASS installation?</source>
65096659
</message>
65106660
<message>
65116661
<location filename="../src/plugins/georeferencer/qgsgeorefplugin.cpp" line="65"/>
6662+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="46"/>
65126663
<location filename="../src/plugins/interpolation/qgsinterpolationplugin.cpp" line="27"/>
65136664
<location filename="../src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisplugin.cpp" line="41"/>
65146665
<location filename="../src/plugins/zonal_statistics/qgszonalstatisticsplugin.cpp" line="28"/>
@@ -7480,6 +7631,16 @@ Diese Meldung erscheint höchstwahrscheinlich, weil die Umgebungsvariable DISPLA
74807631
<source>no result buffer</source>
74817632
<translation>Kein Ergebnispuffer</translation>
74827633
</message>
7634+
<message>
7635+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="44"/>
7636+
<source>Heatmap</source>
7637+
<translation>Heatmap</translation>
7638+
</message>
7639+
<message>
7640+
<location filename="../src/plugins/heatmap/heatmap.cpp" line="45"/>
7641+
<source>Creates a Heatmap raster for the input point vector</source>
7642+
<translation>Erzeugt ein Heatmap-RAster für einen Eingabepunktlayer</translation>
7643+
</message>
74837644
</context>
74847645
<context>
74857646
<name>QextSerialPort</name>

python/core/qgsmaplayerregistry.sip

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public:
2020

2121
~QgsMapLayerRegistry();
2222

23-
//! Retrieve a pointer to a loaded plugin by id
24-
QgsMapLayer * mapLayer(QString theLayerId);
23+
//! Retrieve a pointer to a loaded layer by id
24+
QgsMapLayer *mapLayer(QString theLayerId);
2525

2626
//! Retrieve the mapLayers collection (mainly intended for use by projection)
2727
QMap<QString,QgsMapLayer*> & mapLayers();
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h1>Heatmap-Erweiterung</h1>
2+
<p>Die Heatmap-Erweiterung erzeugt ein Raster für eine Punktlayer. Die Heatmap wird auf Basis der Punktanzahl an einer gegebenen Position berechnet. Je höher die Anzahl der Punkte, desto höher wird der zugehörige Pixelwert im Raster sein.</p>
3+
4+
<h2>Parameter</h2>
5+
6+
<h3>Eingabepunktlayer</h3>
7+
<p>Die Eingabe ist jeweils ein Punktlayer. In die Liste werden automatisch alle derzeit in die Karte geladenen Punktlayer übernommen. Klicken Sie auf den Pfeil neben der Liste und wählen Sie den gewünschten Layer.</p>
8+
9+
<h3>Ausgaberaster</h3>
10+
<p>Der Dateiname für das Ausgaberaster kann durch Klick auf <label>...</label> neben dem Eingabefeld gewählt werden.<br/>
11+
<b>Hinweis:</b> Wenn nicht explizit angegeben, wird die Dateiendung abhängig vom gewählten Ausgabeformat automatisch ergänzt,</p>
12+
13+
<h3>Ausgabeformat</h3>
14+
<p>Alle Formate deren Erzeugung GDAL unterstützt sind in der Liste verfügbar. Wählen Sie das gewünschte Ausgabeformat Ihrer Datei.<br/>
15+
<b>Hinweis:</b> Die Formate GeoTiff und ERDAS Imagine .img werden empfohlen. Einige Formate können die Applikation zum Absturz bringen. Bleiben Sie bitte bei den empfohlenen Formate bis die Absturzursache beseitig ist oder wählen Sie ein anderes Format, wenn Sie wissen, dass GDAL es voll unterstützt.</p>
16+
17+
<h3>Heatmap Punktattribute</h3>
18+
<h4>Pufferradius</h4>
19+
<p>Der Pufferradius gibt die Anzahl der <b>Pixel oder Zellen</b> um einen Punkt an, in dem die Hitze(wirkung) des Punktes point spürbar ist. Kleine Werte ergeben ein klare Trennung zwischen den Punkten und größere Werte ergeben schön gemischte Hitzebereiche. Dies ist der räumliche Parameter des Hitzeregion eines Punkts.<br/>
20+
<b>Hinweise:</b> Der Wert ist immer ganzzahlig.</p>
21+
<h4>Verfallrate</h4>
22+
<p>Die Verfallrate gibt den Betrag des Hitze(einfluß) an, der die äußersten Pixel des Pufferradius erreicht. Es ist der direkte Wert des äußeren Bereichs.<br/>
23+
<b>Beispiel:</b> Wenn die Verfallrate auf 0 und der Radius auf 10 gestellt ist, wird das mittige Pixel den Wert 1, die Pixel in einer Entfernung von 10 Einheiten den Wert 0, ein Pixel in der Entfernung von 5 Einheiten den Wert 0.5 und so weiter haben. Hier ist wird die Entfernung nicht in Pixeln, sondern mit sqrt( xOffset^2 + yOffset^2 ) gerechnet, damit Sie immer kreisförmige Hitzeregion erhalten.</p>
24+
25+
<h2>Weitere Einzelheiten</h2>
26+
<p>Sie können über aruntheguy at gmail dot com mit dem Autor Kontakt aufnehmen.</p>

resources/context_help/HeatmapGui-en_US

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<h1>Heatmap Plugin Help</h1>
2-
<p>Heatmap Plugin creates a heatmap raster for the input point vector layer. The heatmap is generated based on the number of points in a given location. The higher the number of points, the higher will be the corresponding pixel(s) value in the raster.</p>
2+
<p>Heatmap Plugin creates a heatmap raster for the input point vector layer. The heatmap is generated based on the number of points in a given location. The higher the number of points, the higher the corresponding pixel(s) value will be in the raster.</p>
33

44
<h2>The Dialog Parameters</h2>
55

66
<h3>Input Point Vector</h3>
7-
<p>The input is always a vector layer of point type. All the point vector layers that are currently loaded in the window are automatically populated in the input layer drop-down list. Click the Dropdown button and select the required layer.</p>
7+
<p>The input is always a vector layer of point type. All the point vector layers that are currently loaded in the canvas are automatically populated in the input layer drop-down list. Click the dropdown button and select the desired layer.</p>
88

99
<h3>Output Ratser</h3>
1010
<p>The output raster location and filename can be set by clicking the <label>...</label> button next to the output raster textbox.<br/>
1111
<b>Note:</b>The file format is automatically added depending upon the output format selected, if not explicitly given.</p>
1212

1313
<h3>Output Format</h3>
1414
<p>All the file creation supporting GDAL formats are available in the drop down list. Click and select the required output format for your file.<br/>
15-
<b>Note:</b> GeoTiff and ERDAS Imagine .img formats are recommended. Some formats makes the application crash. Kindly stick to the recommended formats until the crash issue is resolved or Use other formats if you know about its GDAL support completely.</p>
15+
<b>Note:</b> GeoTiff and ERDAS Imagine .img formats are recommended. Some formats make the application crash. Kindly stick to the recommended formats until the crash issue is resolved or use an other formats if you know GDAL supports it completely.</p>
1616

1717
<h3>Heatmap Point Attributes</h3>
1818
<h4>Buffer Radius</h4>
1919
<p>The buffer radius specifies the number of <b>pixels or cells</b> around a point where the heat(influence) of the point will be felt. Smaller values give you clear distinction between points and bigger values gives you nicely merged heatmap regions. This is the spatial parameter of the heat region of a point.<br/>
2020
<b>Note:</b> The value is always a whole number.</p>
2121
<h4>Decay Ratio</h4>
2222
<p>The decay ratio defines amount of heat(influence) that should reach the outermost pixel in the Buffer Radius. It is the direct measure of the outer most value.<br/>
23-
<b>Example:</b> If Buffer Ratio is set as 0 and Radius as 10, then the centre pixel of a point will have value and the pixel away by a distance of 10 units will have the value 0, a pixel which is 5 units away will have a value of 0.5 and so on. Here distance is measure not by pixel count rather using sqrt( xOffset^2 + yOffset^2 ), so you always get a circular heat region.</p>
23+
<b>Example:</b> If decay Ratio is set to 0 and radius to 10, then the center pixel of a point will have value and the pixel away by a distance of 10 units will have the value 0, a pixel which is 5 units away will have a value of 0.5 and so on. Here distance is measure not by pixel count rather using sqrt( xOffset^2 + yOffset^2 ), so you always get a circular heat region.</p>
2424

2525
<h2>Further Details</h2>
2626
<p>Contact the author through aruntheguy at gmail dot com</p>

src/core/qgsmaplayerregistry.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class CORE_EXPORT QgsMapLayerRegistry : public QObject
4646

4747
~QgsMapLayerRegistry();
4848

49-
//! Retrieve a pointer to a loaded plugin by id
49+
//! Retrieve a pointer to a loaded layer by id
5050
QgsMapLayer * mapLayer( QString theLayerId );
5151

5252
//! Retrieve the mapLayers collection (mainly intended for use by projectio)

0 commit comments

Comments
 (0)