Property | Type | Description | |
---|---|---|---|
serverType | string | ||
version | string |
Method | Description | |
---|---|---|
GetResponse ( |
Create response
|
|
WmsException ( WmsExceptionCode code, string Message, Stream responseOutputStream, string &responseContentType ) : void |
Writes an error message into specified stream in compliance to WMS standard.
|
|
WmtsException ( WmtsExceptionCode code, string Message, Stream responseOutputStream, string &responseContentType ) : void |
Writes an error message into specified stream in compliance to WMTS standard.
|
Method | Description | |
---|---|---|
CheckRequestParams ( |
Checks and tries to parse special request params for WMxS server WMS: BBOX, WIDTH, HEIGHT, SRS WMTS: TILEMATRIXSET, TILEMATRIX, TILEROW, TILECOL, SRS
|
|
GetCapabilities ( |
Запрос GetCapabilities
|
|
GetFeatureInfo ( |
Запрос GetFeatureInfo
|
|
GetImage ( int width, int height, Color backColor, LayerBase useLayers, BoundingRectangle bboxWithGutters ) : Image |
Gets image
|
|
GetImageFromChach ( LayerBase layer, byte &titleInfo, BoundingRectangle bboxWithGutters ) : Image |
Загрузка данных из кэша
|
|
GetJSONFromCache ( LayerBase layer, |
Gets a JSON object from a cache
|
|
GetVector ( int layerNumber, int width, int height, LayerBase useLayers, BoundingRectangle bboxWithGutters, |
Returns a vector of objects
|
|
GetVectorInfo ( |
Получение информации о карте в формате json.
|
|
MapServerBase ( string Version, string ServiceType, |
Конструктор.
|
|
OnBeforeRenderNewImage ( |
Вызвать событие BeforeRenderNewImage
|
|
OnFeaturesInfoNeeded ( |
Вызвать событие FeaturesInfoNeeded
|
|
OnPrepareRenderFeatureLayer ( |
Вызвать событие PrepareRenderFeatureLayer
|
|
OnUnknownRequest ( |
Вызвать событие UnknownRequest
|
|
ParseBbox ( string bboxStr ) : BoundingRectangle |
Чтение BBOX;
|
|
RequestAction ( |
Перенаправляет на обработчик запроса.
|
|
SetImageToChach ( LayerBase layer, Image image, byte titleInfo, BoundingRectangle bboxWithGutters ) : void |
Сохранения данных в кэш.
|
|
SetJSONToCache ( LayerBase layer, string jsonObject, NameValueCollection requestParams ) : void |
Sets a JSON object to a cache
|
|
TestCommonParams ( NameValueCollection requestParams, Stream responseOutputStream, string &responseContentType ) : bool |
Проверка общих параметров запроса.
|
|
TestEnvironment ( Stream responseOutputStream, string &responseContentType ) : bool |
Проверка настройки окружения.
|
|
WriteLayer ( JObject json, FeatureLayer layer, BoundingRectangle bboxWithGutters, BoundingRectangle mapViewBox, double scaleFactor, NameValueCollection requestParams ) : void |
Writes information about layers
|
Method | Description | |
---|---|---|
CopyImage ( Image bmpLayer, Image bmpWithGutters ) : void | ||
CopyImageClipped ( Image bmp, Image bmpWithGutters, int width, int height ) : void |
Копирования картинки с обрезанием.
|
|
GetImage ( BoundingRectangle bboxWithGutters, string key ) : Image | ||
MapServerBase ( ) : System | ||
SetImage ( BoundingRectangle bboxWithGutters, Image image, string key ) : void | ||
getEncoderInfo ( string mimeType ) : ImageCodecInfo | ||
getTileString ( BoundingRectangle bbox ) : string |
Получение текстового описания области видимости.
|
protected abstract CheckRequestParams ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
originalBbox | BoundingRectangle | |
width | int | |
height | int | |
return | void |
protected abstract GetCapabilities ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | void |
protected abstract GetFeatureInfo ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | void |
protected GetImage ( int width, int height, Color backColor, LayerBase useLayers, BoundingRectangle bboxWithGutters ) : Image | ||
width | int | |
height | int | |
backColor | Color | |
useLayers | LayerBase | |
bboxWithGutters | BoundingRectangle | |
return | Image |
protected GetImageFromChach ( LayerBase layer, byte &titleInfo, BoundingRectangle bboxWithGutters ) : Image | ||
layer | LayerBase | |
titleInfo | byte | |
bboxWithGutters | BoundingRectangle | |
return | Image |
protected GetJSONFromCache ( LayerBase layer, |
||
layer | LayerBase | |
requestParams | ||
return | string |
public GetResponse ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | void |
protected GetVector ( int layerNumber, int width, int height, LayerBase useLayers, BoundingRectangle bboxWithGutters, |
||
layerNumber | int | |
width | int | |
height | int | |
useLayers | LayerBase | |
bboxWithGutters | BoundingRectangle | |
requestParams | ||
return | string |
protected GetVectorInfo ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | void |
protected MapServerBase ( string Version, string ServiceType, |
||
Version | string | Версия. |
ServiceType | string | Тип сервиса. |
description | Описание сервиса | |
return | System |
protected OnBeforeRenderNewImage ( |
||
args | ||
return | void |
protected OnFeaturesInfoNeeded ( |
||
args | ||
return | void |
protected OnPrepareRenderFeatureLayer ( |
||
args | ||
return | void |
protected OnUnknownRequest ( |
||
args | ||
return | void |
protected static ParseBbox ( string bboxStr ) : BoundingRectangle | ||
bboxStr | string | |
return | BoundingRectangle |
protected RequestAction ( |
||
requestParams | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | bool |
protected SetImageToChach ( LayerBase layer, Image image, byte titleInfo, BoundingRectangle bboxWithGutters ) : void | ||
layer | LayerBase | |
image | Image | |
titleInfo | byte | |
bboxWithGutters | BoundingRectangle | |
return | void |
protected SetJSONToCache ( LayerBase layer, string jsonObject, NameValueCollection requestParams ) : void | ||
layer | LayerBase | |
jsonObject | string | |
requestParams | NameValueCollection | |
return | void |
protected TestCommonParams ( NameValueCollection requestParams, Stream responseOutputStream, string &responseContentType ) : bool | ||
requestParams | NameValueCollection | |
responseOutputStream | Stream | |
responseContentType | string | |
return | bool |
protected TestEnvironment ( Stream responseOutputStream, string &responseContentType ) : bool | ||
responseOutputStream | Stream | |
responseContentType | string | |
return | bool |
public static WmsException ( WmsExceptionCode code, string Message, Stream responseOutputStream, string &responseContentType ) : void | ||
code | WmsExceptionCode | The WMS error code |
Message | string | The error message |
responseOutputStream | Stream | The System.IO.Stream to write the error message |
responseContentType | string | String for mime-type of response |
return | void |
public static WmtsException ( WmtsExceptionCode code, string Message, Stream responseOutputStream, string &responseContentType ) : void | ||
code | WmtsExceptionCode | The WMTS error code |
Message | string | The error message |
responseOutputStream | Stream | The System.IO.Stream to write the error message |
responseContentType | string | String for mime-type of response |
return | void |
protected WriteLayer ( JObject json, FeatureLayer layer, BoundingRectangle bboxWithGutters, BoundingRectangle mapViewBox, double scaleFactor, NameValueCollection requestParams ) : void | ||
json | JObject | |
layer | FeatureLayer | |
bboxWithGutters | BoundingRectangle | |
mapViewBox | BoundingRectangle | |
scaleFactor | double | |
requestParams | NameValueCollection | |
return | void |