|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.conversiontools.KMLToLayer
public class KMLToLayer
This tool converts a KML or KMZ file into a feature class along with a layer file dervived from the source render information inside the KML/KMZ. The KML To Layer tool is contained in the Conversion Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
KMLToLayer()
Creates the KML To Layer tool with defaults. |
|
KMLToLayer(Object inKmlFile,
Object outputFolder)
Creates the KML To Layer tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInKmlFile()
Returns the Input KML File parameter of this tool . |
Object |
getOutGeodatabase()
Returns the Output Geodatabase parameter of this tool (Read only). |
String |
getOutputData()
Returns the Output Data Name parameter of this tool . |
Object |
getOutputFolder()
Returns the Output Location parameter of this tool . |
Object |
getOutputLayer()
Returns the Output Layer parameter of this tool (Read only). |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setInKmlFile(Object inKmlFile)
Sets the Input KML File parameter of this tool . |
void |
setOutputData(String outputData)
Sets the Output Data Name parameter of this tool . |
void |
setOutputFolder(Object outputFolder)
Sets the Output Location parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KMLToLayer()
Initializes the array of tool parameters with the default values specified when the tool was created.
public KMLToLayer(Object inKmlFile, Object outputFolder)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inKmlFile
- the path to the KML or KMZ file to be translated.outputFolder
- the destination folder for the File Geodatabase and layer (.lyr) file.Method Detail |
---|
public Object getInKmlFile()
public void setInKmlFile(Object inKmlFile)
inKmlFile
- the path to the KML or KMZ file to be translated.public Object getOutputFolder()
public void setOutputFolder(Object outputFolder)
outputFolder
- the destination folder for the File Geodatabase and layer (.lyr) file.public String getOutputData()
public void setOutputData(String outputData)
outputData
- the name of the output File Geodatabase and layer file (.lyr). Defaults to the name of the input KML file.public Object getOutputLayer()
public Object getOutGeodatabase()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |