C# Класс ArcStache.VectorCache

Наследование: System.EnterpriseServices.ServicedComponent, IServerObjectExtension, IObjectConstruct, IRESTRequestHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
Construct ( IPropertySet props ) : void
CreatePolygonFromEnvelope ( IEnvelope envelope ) : IPolygon

Create a polygon from a set of

GetGeographicToWebMercatorTransformation ( ) : IGeoTransformation
GetSchema ( ) : string
HandleRESTRequest ( string Capabilities, string resourceName, string operationName, string operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[]
Init ( IServerObjectHelper pSOH ) : void
ReleaseComObject ( object comObject ) : void

Releases the COM object.

Shutdown ( ) : void
VectorCache ( ) : System

Приватные методы

Метод Описание
ClipFeaturesToTile ( IFeatureCursor &featureCursor, IRecordSet &recordset, IEnvelope tileEnvelope ) : void

Clip features in the recordset to the tile envelope

CreateMapServiceCacheFolderName ( ) : string

Creates the name of the map service cache folder that matches the naming convention used by AGS as seen in the arcgisserver/arcgisoutput directory

CreateRestSchema ( ) : RestResource
CreateTilePath ( int layerId, int zoomLevel, int row ) : void

Build out the path to store the tiles following Esri tile caching structure

EmptyVectorTileHandler ( NameValueCollection boundVariables, JsonObject operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[]

Empty tile handler to support ArcGIS Flex API's TiledMapServiceLayer implementation which executes this call using a URL obtained from getTileUrl() method in the Flex layer implementation.

GeographicToWebMercatorPoint ( IPoint geographicPoint ) : IPoint
GeometryToXml ( IGeometry geometry ) : string
GetErrorResponse ( string message ) : JsonObject
GetGeometryTypeFromFields ( IFields fields ) : esriGeometryType
GetIdsOfContainedFeatureCentroids ( IRecordSet recordset, IPolygon tilePolygon ) : List
GetLayerGeometryType ( IMapLayerInfos layerInfos, int layerIndex ) : esriGeometryType
GetMapServiceUnits ( IMapServer3 mapServer ) : esriUnits
GetRecordsetFeatureCount ( IRecordSet recordset ) : int
GetSpatialReferenceFromMapService ( IMapServer3 mapServer ) : ISpatialReference
GetTableDescription ( IMapServer3 mapServer, int layerId, int zoomLevel ) : IMapTableDescription

Create a table description, which includes generalization options

ReadTileFile ( string tilePath ) : byte[]
RecordsetHasFeatures ( IRecordSet recordset ) : bool
RootResHandler ( NameValueCollection boundVariables, string outputFormat, string requestProperties, string &responseProperties ) : byte[]
SpatialReferenceToXml ( ISpatialReference sr ) : string
StrToByteArray ( string str ) : byte[]
ValidateMapServiceSpatialReference ( ) : void
VectorTileHandler ( NameValueCollection boundVariables, JsonObject operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[]

Creates and Serves vector tiles

WriteTileFile ( byte jsonContent, string tilePath, int layerId, int zoomLevel, int row ) : void
tracePolygon ( IPolygon polygon ) : void
tracePolygonContainsPoint ( IPolygon polygon, IPoint point, int objectId = -1 ) : void

Описание методов

Construct() публичный Метод

public Construct ( IPropertySet props ) : void
props IPropertySet
Результат void

CreatePolygonFromEnvelope() публичный Метод

Create a polygon from a set of
public CreatePolygonFromEnvelope ( IEnvelope envelope ) : IPolygon
envelope IEnvelope
Результат IPolygon

GetGeographicToWebMercatorTransformation() публичный статический Метод

public static GetGeographicToWebMercatorTransformation ( ) : IGeoTransformation
Результат IGeoTransformation

GetSchema() публичный Метод

public GetSchema ( ) : string
Результат string

HandleRESTRequest() публичный Метод

public HandleRESTRequest ( string Capabilities, string resourceName, string operationName, string operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[]
Capabilities string
resourceName string
operationName string
operationInput string
outputFormat string
requestProperties string
responseProperties string
Результат byte[]

Init() публичный Метод

public Init ( IServerObjectHelper pSOH ) : void
pSOH IServerObjectHelper
Результат void

ReleaseComObject() публичный Метод

Releases the COM object.
public ReleaseComObject ( object comObject ) : void
comObject object
Результат void

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void

VectorCache() публичный Метод

public VectorCache ( ) : System
Результат System