public class CalculateProfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ResourceManager |
WPS_RESOURCE
wps resource manager
|
Constructor and Description |
---|
CalculateProfile() |
Modifier and Type | Method and Description |
---|---|
ProcessResult |
executeGML(SpatialAnalyst spatialAnalystImpl, Execute execute)
Get DEM profile, return GML format description
|
ProfileResult |
executeJSON(SpatialAnalyst spatialAnalystImpl, Execute execute)
Get DEM profile, return JSON format description
|
boolean |
executePNG(SpatialAnalyst spatialAnalystImpl, Execute execute, java.lang.String name)
Get DEM profile, return png image
|
java.lang.String |
getCalculateDataSet()
Get dataset
|
int |
getImageHeight()
Get image height
|
int |
getImageWidth()
Get image width
|
Geometry |
getLine()
Get the line to cut the profile
|
java.lang.String |
getOutputFormat()
Get image format
|
java.lang.Double |
getResampleTolerance()
Get tolerance
|
void |
setAnalystParameter(Execute execute)
Set parameters
|
void |
setCalculateDataSet(java.lang.String calculateDataSet)
Sets the dataset
|
void |
setImageHeight(int imageHeight)
Get image height
|
void |
setImageWidth(int imageWidth)
Set image width
|
void |
setLine(Geometry line)
Set the line to cut the profile
|
void |
setOutputFormat(java.lang.String outputFormat)
Set image format
|
void |
setResampleTolerance(java.lang.Double resampleTolerance)
Set tolerance
|
public int getImageWidth()
Get image width
public void setImageWidth(int imageWidth)
Set image width
imageWidth
-public int getImageHeight()
Get image height
public void setImageHeight(int imageHeight)
Get image height
imageHeight
-public java.lang.String getOutputFormat()
Get image format
public void setOutputFormat(java.lang.String outputFormat)
Set image format
outputFormat
-public Geometry getLine()
Get the line to cut the profile
public void setLine(Geometry line)
Set the line to cut the profile
line
-public java.lang.String getCalculateDataSet()
Get dataset
public void setCalculateDataSet(java.lang.String calculateDataSet)
Sets the dataset
calculateDataSet
-public java.lang.Double getResampleTolerance()
Get tolerance
public void setResampleTolerance(java.lang.Double resampleTolerance)
Set tolerance
resampleTolerance
-public void setAnalystParameter(Execute execute) throws OGCException
execute
-OGCException
public ProcessResult executeGML(SpatialAnalyst spatialAnalystImpl, Execute execute) throws OGCException
spatialAnalystImpl
- spatial analyst service componentexecute
- execution parametersjava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
OGCException
public ProfileResult executeJSON(SpatialAnalyst spatialAnalystImpl, Execute execute) throws OGCException
spatialAnalystImpl
- spatial analyst service componentexecute
- execution parametersjava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
OGCException
public boolean executePNG(SpatialAnalyst spatialAnalystImpl, Execute execute, java.lang.String name) throws OGCException
spatialAnalystImpl
-execute
-name
-OGCException