meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pluginto:wfs_applications [2023/08/15 19:59] – philipli | pluginto:wfs_applications [2023/08/16 14:37] (current) – philipli | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== This page contains info about Arc/QGIS toolboxes and applications ==== | + | ==== This page contains info about ArcGIS/QGIS toolboxes and applications ==== |
=== 1. ICE-D Camelplots ==== | === 1. ICE-D Camelplots ==== | ||
Line 5: | Line 5: | ||
== A) ArcGIS Pro Toolbox == | == A) ArcGIS Pro Toolbox == | ||
- | The ArcGIS Pro toolbox can be directly used in ArcGIS Pro after add a folder connection of the ArcGIS Pro toolbox folder to the ArcGIS Pro project. This toolbox includes three tools: | + | The ArcGIS Pro toolbox can be directly used in ArcGIS Pro after adding |
+ | {{: | ||
+ | The " | ||
+ | {{: | ||
+ | |||
+ | Note that this tool is limited to the computer that has the HeidiSQL and ICE-D database installed. The user also needs to keep the ICE-D database open to run this tool. In addition, the pymysql, shapely, and fiona libraries are also needed to be installed in the ArcGIS Pro python version. To do that, open the " | ||
+ | < | ||
+ | pip install pymysql | ||
+ | pip install shapely | ||
+ | pip install fiona | ||
+ | </ | ||
+ | |||
+ | The ICE-D dataset can be imported into ArcGIS Pro as a WFS layer. However, ArcGIS Pro uses a limit of 3000 for the ICE-D dataset. To retrieve more exposure ages, a new tool, " | ||
+ | {{: | ||
+ | |||
+ | The " | ||
+ | {{: | ||
== B) QGIS Plugin == | == B) QGIS Plugin == | ||
**How to install and use the ICE-D Analysis plugin in QGIS**\\ | **How to install and use the ICE-D Analysis plugin in QGIS**\\ | ||
- | 1) Find the “iced_camelplots” folder after unzip the downloaded file from GitHub and check if there are a set of folders and files (similar to the following screenshot) within the folder:\\ | + | |
- | {{: | + | 1) Find the “iced_camelplots” folder after unzipping |
+ | {{: | ||
2) Open QGIS and under the “Setting” menu, choose User profile -> Open Active Profile Folder. See the following screenshot.\\ | 2) Open QGIS and under the “Setting” menu, choose User profile -> Open Active Profile Folder. See the following screenshot.\\ | ||
- | {{: | + | {{: |
This will open the active profile folder. Then, copy the “iced_camelplots” folder to the “python-> | This will open the active profile folder. Then, copy the “iced_camelplots” folder to the “python-> | ||
- | {{: | + | {{: |
3) Close and reopen QGIS. Under the “Plugin” menu, Click “Manage and Install Plugins…”.\\ | 3) Close and reopen QGIS. Under the “Plugin” menu, Click “Manage and Install Plugins…”.\\ | ||
- | {{: | + | {{: |
- | + | On the left panel of the Plugins window, Click “Installed” and You should find the “ICE-D Camelplots” plugin (the following screenshot). Chick it and close the window.\\ | |
- | + | {{: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | In the left panel of the Plugins window, Click “Installed” and You should find the “ICE-D Camelplots” plugin (the following screenshot). Chick it and close the window.\\ | + | |
- | {{: | + | |
- | Note that this plugin is in the development mode. More functions will be added in the future. After the plugin is finalized, it can be published directly in QGIS, so that no copy/paste folder is needed in the future. | + | Note that this plugin is in development mode. More functions will be added in the future. After the plugin is finalized, it can be published directly in QGIS, so that no copy/paste folder is needed in the future. |
4) You should be able to see the plugin in three locations: the Plugin menu, the toolbar, and the processing toolbox. \\ | 4) You should be able to see the plugin in three locations: the Plugin menu, the toolbar, and the processing toolbox. \\ | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
- | {{: | + | {{: |
Line 55: | Line 64: | ||
The following screenshot shows the interface of the “Camel Plots” tool after running it. \\ | The following screenshot shows the interface of the “Camel Plots” tool after running it. \\ | ||
- | {{: | + | {{: |
You need to specify the ExpAge data (a subset layer of the WFS feature of the ICE-D database), then select the Sample Name Field (name), Site Name Field (site_name), | You need to specify the ExpAge data (a subset layer of the WFS feature of the ICE-D database), then select the Sample Name Field (name), Site Name Field (site_name), | ||
+ | |||
The progress bar will show the progress of the calculation. After finishing, a site point layer will be added to the map to show the summary (#samples, mean, std, variance, skewness, and Chi-square) of each site and the link to the camelplot images. The following is a screenshot of the attribute table of the created site layer. \\ | The progress bar will show the progress of the calculation. After finishing, a site point layer will be added to the map to show the summary (#samples, mean, std, variance, skewness, and Chi-square) of each site and the link to the camelplot images. The following is a screenshot of the attribute table of the created site layer. \\ | ||
- | {{: | + | {{: |
- | You can “Ctrl + Click” the image path to view the camelplot for each site. You can also view the camelplot in QGIS as HTML map tips. To enable this function, right click the create | + | You can “Ctrl + Click” the image path to view the camelplot for each site. You can also view the camelplot in QGIS as HTML map tips. To enable this function, right-click the created |
- | {{: | + | {{: |
- | Make sure to check “Enable Map tips” (QGIS 3.32). If using the old version of QGIS, you need to Click the “View” menu and click “Show Map Tips” to enable this function (see the following screenshot). | + | Make sure to check “Enable Map tips” (QGIS 3.32). If using the old version of QGIS, you need to Click the “View” menu and click “Show Map Tips” to enable this function (see the following screenshot). |
+ | {{: | ||
- | In the Layer Properties Dialog, add the following part to the box under “HTML Map Tip”: | + | In the Layer Properties Dialog, add the following part to the box under “HTML Map Tip”:\\ |
+ | < | ||
< | < | ||
body {width: | body {width: | ||
- | div {width: | + | div {width: |
img { width:100%; max-width: | img { width:100%; max-width: | ||
</ | </ | ||
<div> | <div> | ||
- | < | + | < |
- | </ | + | </div> |
+ | </code> | ||
Click OK. This will show the camelplot as a map tip when the cursor is close to each site (the site layer needs to be selected). The following screenshot is an example. \\ | Click OK. This will show the camelplot as a map tip when the cursor is close to each site (the site layer needs to be selected). The following screenshot is an example. \\ | ||
- | {{: | + | {{: |