Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50854 from elpaso/raster-maptips-2
Raster maptips
- Loading branch information
Showing
24 changed files
with
600 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "map_to_html_dl", | ||
"type": "function", | ||
"groups": ["Maps"], | ||
"description": "Merge map elements into a HTML definition list string.", | ||
"arguments": [{ | ||
"arg": "map", | ||
"description": "the input map" | ||
}], | ||
"examples": [{ | ||
"expression": "map_to_html_dl(map('qgis','rocks'))", | ||
"returns": "<dl><dt>qgis</dt><dd>rocks</dd></dl>" | ||
}], | ||
"tags": ["formatted", "map", "html"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "map_to_html_table", | ||
"type": "function", | ||
"groups": ["Maps"], | ||
"description": "Merge map elements into a HTML table string.", | ||
"arguments": [{ | ||
"arg": "map", | ||
"description": "the input map" | ||
}], | ||
"examples": [{ | ||
"expression": "map_to_html_table(map('qgis','rocks'))", | ||
"returns": "<table><thead><th>qgis</th></thead><tbody><tr><td>rocks</td></tr></tbody></table>" | ||
}], | ||
"tags": ["formatted", "map", "html"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "raster_attributes", | ||
"type": "function", | ||
"groups": ["Rasters"], | ||
"description": "Returns a map with the fields names as keys and the raster attribute table values as values from the attribute table entry that matches the given raster value.", | ||
"arguments": [{ | ||
"arg": "layer", | ||
"description": "the name or id of a raster layer" | ||
}, { | ||
"arg": "band", | ||
"description": "the band number for the associated attribute table lookup." | ||
}, { | ||
"arg": "value", | ||
"description": "raster value" | ||
}], | ||
"examples": [{ | ||
"expression": "raster_attributes('vegetation', 1, raster_value('vegetation', 1, make_point(1,1)))", | ||
"returns": "{'class': 'Vegetated', 'subclass': 'Trees'}" | ||
}], | ||
"tags": ["provider", "point", "raster", "found", "attributes"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.