Joseph Christian R. Dolores*, Marco A. Galang, and Jan Joseph V. Dida
Institute of Renewable Natural Resources
College of Forestry and Natural Resources
University of the Philippines Los Baños, Laguna 4030 Philippines
*Corresponding Author: This email address is being protected from spambots. You need JavaScript enabled to view it.
ABSTRACT
The statistical analyses were performed using Prism 7 software for Mac OS X. Ghosh, A., Awasthi, S., Peterson, J. Regulation of tamoxifen sensitivity by a PAK1-EBP1. Mac OS 8.x was very much a stop-gap version which was brought out to try and keep the Mac OS moving forward during a very trying time for the platform. 8.0 added a number of features from the stillborn Copland project, while leaving the underlying operating system unchanged. The GUI was changed in appearance to a new greyscale look. Apr 28, 2021 Techworm is an online media company that covers technology, cyber security news, tech tips and tutorials.
Reforestation activities were employed in several locations of the Philippines due to deforestation. However, many of these efforts fail because of various reasons, one of which is the poor selection of species. This study aimed to improve chances of success of reforestation in one of the critical watersheds in the Philippines, the Pantabangan-Carranglan Watershed (PCW), through a Geographic Information System (GIS)-based species-site suitability assessment of selected native tree species. Thematic maps of soil properties, climate, topography, and biotic conditions were generated for the watershed. The silvical requirements of the selected native species were also established through a literature review. Thereafter, a species-site suitability analysis was done using a GIS platform with the importance of each site feature given different weights through an Analytic Hierarchy Process (AHP), an approach that hasn’t been done in previous GIS-based species-site suitability assessment. Results showed that of the three species analyzed, “akle” [Albizia acle (Blanco) Merr.] was found to be the most suitable in the site, with 53% of the watershed falling under high suitability class, while “dita” [Alstonia scholaris (L) R. Br.] and “almaciga” [Agathis philippinensis (Warb.)] were both found to be suitable to the identified reforestation areas of PCW, signifying that they are able to potentially survive within the existing environmental conditions of the site. The generated spatial distribution maps of species-site suitability can serve as guides to the managers of the watershed in future reforestation activities.
REFERENCES
AKINCI H, OZALP AY, TURGUT B. 2013. Agricultural land use suitability analysis using GIS and AHP technique. Computers and Electronics in Agriculture 97: 71–82.
AL GARNI HZ, AWASTHI A. 2017. Solar PV power plant site selection using a GIS-AHP based approach with application in Saudi Arabia. Applied Energy 206: 1225–1240.
ALONSO JA, LAMATA MA. 2006. Consistency in the analytic hierarchy process: a new approach. International Journal of Uncertainty 14(4): 445–459.
ARIZAPA JL, COMBALICER EA, TIBURAN CL. 2015. Landslide susceptibility mapping of Pagsanjan-Lumban watershed using GIS and Analytical Hierarchy Process. Ecosystems and Development Journal 5(3): 23–32.
CARANDANG WM, LASCO RD. 1998. Successful reforestation in the Philippines: technical considerations. Mega Issues in Philippine Forestry: Key Policies and Programs. p. 49–59.
[ERDB] Ecosystems Research and Development Bureau. 2013. Compilation of selected forest tree species, Vol 25 No. 2 and 3. Research Information Series on Ecosystems (RISE). ERDB, College 4031, Laguna, Philippines.
[ESRI] Environmental Systems Research Institute. 1995–2017. ArcGIS Help Library, Berkeley, CA.
[FAO] Food and Agriculture Organization. 1976. A Framework for Land Evaluation. Rome: FAO.
GALANG MA. 2010. GIS-Aided Suitability Assessment of Mt. Makiling Forest Reserve (MFR), Philippines for Smooth Narra (Pterocarpus indicus Willd.). USRM R&D 18(1): 67–72.
HLÁSNY T, KOČICKÝ D, MARETTA M, SITKOVÁ Z, BARKA I, KONÔPKA M, HLAVATÁ H. 2015. Effect of deforestation on watershed water balance: hydrological modelling-based approach. Lesn Cas For J 61: 89–100.
JOHNSON MP, BEDELL T. 2002. Watershed function. Agriculture and Natural Resources 10(1): 1–4.
KARA C, DORATLI N. 2012. Application of GIS/AHP in siting sanitary landfill: a case study in Northern Cyprus. Waste Management and Research 30(9): 966–980.
KLISKEY AD, LOFROTH EC, THOMPSON WA, BROWN S, SCHREIER H. 1999. Simulating and evaluating alternative resource-use strategies using GIS-based habitat suitability indices. Landscape and Urban Planning 45(4): 163–175.
KOZLOWSKI TT, KRAMER PJ, PALLARD SG. 1991. The physiological ecology of woody plants. San Diego, CA: Academic Press, Inc.
LIU J, LI J, LIU J, CAO R. 2008. Integrated GIS/AHP-based flood risk assessment: a case study of Huaihe River Basin in China. Journal of Natural Disasters 17: 110–114.
[NRC] National Research Council. 1979. Tropical legumes: resources for the future. Washington, DC: The National Academies Press.
PALIJON AM. 2018. Foundation of silviculture. Lecture Manual: Silvics. College of Forestry and Natural Resources, University of the Philippines Los Baños.
PERAS RJJ, PULHIN JM, LASCO RD, CRUZ RVO, PULHIN FB. 2008. Climate variability and extremes in the Pantabangan-Carranglan watershed, Philippines: assessment of impacts and adaptation practices. Journal of Environmental Science and Management 11(2): 14–31.
[PhilRice] Philippine Rice Research Institute. 2014. Soil Series Information System. Muñoz, Philippines: Information Systems Division.
PULHIN JM, PERAS RJJ, CRUZ RVO, LASCO RD, PULHIN FB, TAPIA MA. 2006. Vulnerability of communities to climate variability and extremes: the Pantabangan-Carranglan watershed in the Philippines. Assessments of Impacts and Adaptations to Climate Change (44): 1–37.
SAATY TL. 1980. The analytic hierarchy process. New York: McGraw Hill.
SANDOVAL JA, TIBURAN CL. 2019. Identification of potential groundwater recharge sites in Mt. Makiling Forest Reserve, Philippines using GIS and Analytical Hierarchy Process. Applied Geography 105: 73–85.
SARMIENTO RT, CASAS JV. 2015. GIS-aided suitability assessment of Mt. Mayapay Watershed in Butuan City, Agusan del Norte. Annals of Studies in Science and Humanities 1(1): 46–60.
SHUKLA S. 2004. Watersheds: functions and management. Institute of Food and Agricultural Sciences Extension. p. 1–5.
In the previous post, I showed how to create a Java applet, embed it in the same HTML page that wraps a Flex application, and call a public method in the applet from Flex. In this post, I will demonstrate creating a signed Java applet that will help a Flex application interact with the native OS.
Step 1. Create the Java applet
Create the following Java source file. Name it Launcher.java:
NOTE: The “open” command only works on Mac OS X. For Windows, you’ll need to execute “start.exe” with some options. Since I don’t have a Windows machine to test this on, you’re, once again, on your own.
Compile the Java source:
The Explorer (eshan Awasthi) Mac Os 7
javac Launcher.java
which should create the file Launcher.class. Now, you’ll need to create a JAR archive of your class:
jar cf Launcher.jar Launcher.class
This should create Launcher.jar.
Step 2. Sign the Launcher JAR file
I’ll cover this process in a very cursory manner. There are a lot of tutorials available on self-signing Java applets.
You’ll need to create a public/private key pair using the keytool utility in the Java SDK:
keytool -genkey -keystore mykeystore -alias launcheralias
Next, create a self-signed certificate:
keytool -selfcert -keystore mykeystore -alias launcheralias
Finally, sign the jar file:
jarsigner -keystore mykeystore Launcher.jar launcheralias
Step 3. Create a Flex application
The Explorer (eshan Awasthi) Mac Os Catalina
In FlexBuilder create a new project called Launcher and replace the contents of Launcher.mxml with:
Replace [path to a text file] with an absolute path to some text file on your system.
Copy the Launcher.jar file created in Step 2 to the bin directory of the Flex project.
Step 4. Adjust the HTML wrapper
Add the following just before the closing </body> tag in the Flex applications’ HTML wrapper:
Step 5. There is no step 5
Just launch the application. If your applet is signed and installed correctly, you should be presented with a security confirmation dialog. Click “trust” then and click the “Launch” button in the Flex application. This should open your text file in whatever editor is associated with the .txt extension on your computer.
What? It doesn’t work? Of course not. Here’s the catch:
Even though the applet is signed, and therefore has privileged access to the OS, the thread executing methods called from JavaScript, and any threads it creates, do not share this privileged access.
If you look at the Java console, you should see a line something like this:
Exception calling Runtime.exec(…) access denied (java.io.FilePermission <> execute)
which makes clear why the operation failed.
We can get around this by making our applet considerably more complicated. We override the init() method, and spawn a new thread that is responsible for all operations that require privileged access. Public methods in our applet that are called from Javacript pass their work off to this thread, thus avoiding the problem with reduced privileges. Here’s the new applet:
Now, repeat Steps 1 through 4 with this new applet. This time, clicking on the “Launch” button should really open your file in the associated editor.
Some issues to consider
1. How to get method return values back to Flex? Shouldn’t be too hard — the thread can put the results into a member variable in the applet class. More thread synchronization to handle, though.
2. How can the applet call back into Flex? It might be nice to let the applet go off and do some asynchronous processing, calling back into the Flex application when it’s finished. It should be possible to do this if the applet can call a Javascript function. The Flex application can register a callback using ExternalInterface, which the applet can invoke.
3. How to deal with race conditions at startup? The Java applet may fail to load entirely, or may load some time after the Flex application loads. Or, the Flex application may finish loading after the applet is done. The applet and Flex application need some way of knowing when the other one is prepared to communicate.
4. How to (de)serialize Flex objects? The example I gave just passed a simple string into a Java method, but it’s easy to conceive of more complex examples when object serialization would be required. Maybe an open source implementation of the AMF protocol could be included in the applet. The Artemis project uses this technique.