...
Code Block | ||
---|---|---|
| ||
@Override protected void handleFeature( IProgressMonitor monitor ) throws ScriptExecutionException{ resultMap.put( "soiltype", isSoftSoil() ); } private int isSoftSoil() { Random rand = new Random(); return rand.nextInt( 1 ); } |
Analysis Result Type
The next step is to create a result type schema to specify the new fields created by our analysis. This tutorial will not go into detail about the schema file since it is behind the scope of this tutorial.
...