|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKmlConversion
Provides access to stateless methods that convert Maps or Layers into KMZ files or streams.
Method Summary | |
---|---|
IArray |
getLayerIDListFromMap(IMap pMap)
Get array of numerical layer IDs in hierarchical order from Map. |
IArray |
getLayerIDListFromMapServer(IMapServer pMapServer)
Get array of numerical layer IDs in hierarchical order from MapServer. |
byte[] |
layerToArray(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters)
Converts a layer to KML and outputs a KMZ stream. |
void |
layerToFile(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String filename)
Converts a layer to KML and outputs a KMZ file. |
byte[] |
mapServerMapToArray(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
Converts MapServer Map in server environment to KML and outputs a KMZ stream. |
void |
mapServerMapToFile(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
Converts MapServer Map in server environment to KML and outputs a KMZ file. |
byte[] |
mapToArray(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
Converts Map to KML and outputs a KMZ stream. |
void |
mapToFile(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
Converts Map to KML and outputs a KMZ file. |
Method Detail |
---|
void layerToFile(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, String filename) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)filename
- The filename (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] layerToArray(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void mapToFile(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, String[] pLayerIDs, String filename) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs
- The pLayerIDs (in)filename
- The filename (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] mapToArray(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, String[] pLayerIDs) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs
- The pLayerIDs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void mapServerMapToFile(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, String[] pLayerIDs, String filename) throws IOException, AutomationException
pMapServer
- A reference to a com.esri.arcgis.carto.IMapServer (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs
- The pLayerIDs (in)filename
- The filename (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] mapServerMapToArray(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, String[] pLayerIDs) throws IOException, AutomationException
pMapServer
- A reference to a com.esri.arcgis.carto.IMapServer (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters
- A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs
- The pLayerIDs (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLayerIDListFromMap(IMap pMap) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getLayerIDListFromMapServer(IMapServer pMapServer) throws IOException, AutomationException
pMapServer
- A reference to a com.esri.arcgis.carto.IMapServer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |