GET RestService/QueryByFeature?Layername={Layername}&WKT={WKT}&isAttr={isAttr}&SRID={SRID}&isWKB={isWKB}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Layername

string

Required

WKT

string

Required

isAttr

boolean

Default value is True

SRID

string

Default value is

isWKB

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of GeoJsonData
NameDescriptionTypeAdditional information
Shapeindex

integer

None.

GeoType

GeoType

None.

GeoData

string

None.

ShowString

string

None.

StyleKey

string

None.

properties

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Shapeindex": 1,
    "GeoType": 0,
    "GeoData": "sample string 2",
    "ShowString": "sample string 3",
    "StyleKey": "sample string 4",
    "properties": {
      "sample string 1": {},
      "sample string 3": {}
    }
  },
  {
    "Shapeindex": 1,
    "GeoType": 0,
    "GeoData": "sample string 2",
    "ShowString": "sample string 3",
    "StyleKey": "sample string 4",
    "properties": {
      "sample string 1": {},
      "sample string 3": {}
    }
  }
]

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ([{"Shapeindex":1,"GeoType":0,"GeoData":"sample string 2","ShowString":"sample string 3","StyleKey":"sample string 4","properties":{"sample string 1":{},"sample string 3":{}}},{"Shapeindex":1,"GeoType":0,"GeoData":"sample string 2","ShowString":"sample string 3","StyleKey":"sample string 4","properties":{"sample string 1":{},"sample string 3":{}}}]);