Preview
Hi, Visitor  | 

Get feature data with the ShapeServer REST API

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Use the following URL templates to retrieve feature data from a shapefile.

Supported HTTP Methods

GET

URL Templates

Get feature data from a shapefile
http://api.shapeserver.com/REST/v1/shapefiles/{file}?fid=fid&noCache=noCache&format=format&key=ShapeServerKey
Export and transform feature data from a shapefile
http://api.shapeserver.com/REST/v1/shapefiles/{file}?fid=fid&ot=ot&noCache=noCache&format=format&key=ShapeServerKey

Template Parameters

Note
Parameter names and values are not case-sensitive.
Parameter Description Values
file Required The name of the shapefile that contains the feature(s) you wish to retrieve. A string with the shapefile name.
Example: file=RiverSample
fid Required Specifies the ids of the feature(s) to retrieve.
Note
To retrieve a child feature from a multi-part feature (MultiPoint, MultiPolyLine and MultiPolygon shapes), use the parent.child format notation.
Example: fid=5.2 refers to child feature 2 of multi-part parent feature 5.
A comma-separated string with feature ids.
Example: fid=1,2,5.2,11
ot Optional The output type of the specified feature(s). Use this parameter to export a feature into a different format. One of the following values:
  • WKT: export as Well-Known Text
  • WKB: export as Well-Known Binary
  • SqlWKT: convert into SQL Server Well-Known Text
  • SqlWKB: convert into SQL Server Well-Known Binary
  • GeoRSS: transform into a GeoRSS XML feed
Example: ot=georss
noCache Optional Indicates whether to cache the specified features. Use this option to improve performance when selecting the same set of features multiple times from a large shapefile. A string that contains an integer value of 0 or 1. The default value is 0 (use cache).
Example: noCache=1
format Optional The output format for the response. One of the following values:
  • xml [default]
  • json
Example: format=json
key Required Specifies the ShapeServer key to use for this request. A valid ShapeServer key.
Example: key=abc1234def56789

Input

When you create the HTTP request, you must set the content type in the request to the following value:
  • XML (application/xml)

Response

A Response resource is returned when you make a request. The response supports the following response formats:
  • XML (application/xml)
  • JSON (application/json)

Examples

Get feature data from a shapefile
The following example queries ShapeServer to return features 4 and 8 from shapefile 'rivers'.
http://api.shapeserver.com/REST/v1/shapefiles/rivers?fid=4,8&key=ShapeServerKey

XML Response

                    
<Response xmlns="http://schemas.shapeserver.com/rest/v1"
		  xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Copyright>Copyright © 2011-2012 BartelsOnline. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from BartelsOnline.</Copyright>
  <StatusCode>200</StatusCode>
  <StatusDescription>OK</StatusDescription>
  <ErrorDetails/>
  <TraceId>A194389081078C7D09BEBEABD04A01E877624938/26da3192-2947-4bcd-954d-0a279c23a94b/-978077550</TraceId>
  <Resource i:type="ShapefileFeatureCollection">
    <ItemId>1</ItemId>
    <Shapefile>rivers</Shapefile>
    <ShapefileFeatures>
      <ShapefileFeature>
        <ItemId>1</ItemId>
        <Feature i:type="PolyLine">
          <FeatureId>4</FeatureId>
          <IsEmpty>false</IsEmpty>
          <BoundingBox>
            <Value>Lower Left: (93,20, 51,56) Upper Right: (110,18, 58,98)</Value>
            ...
          </BoundingBox>
          <CoordinateSystem i:nil="true"/>
          <WKB>AQIAAAA6AAAAAAAAoARFWkAAAACg ...</WKB>
          <WKT>LINESTRING (105.078407287598 51.9305305480957, 103.929588317871 51.7790107727051, ...)</WKT>
          <DBFData>
            <xs:schema id="NewDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
              <xs:element name="DBFData">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="FeatureId" type="xs:int" minOccurs="0"/>
                    <xs:element name="OID" type="xs:unsignedInt" minOccurs="0"/>
                    <xs:element name="NAME" type="xs:string" minOccurs="0"/>
                    <xs:element name="SYSTEM" type="xs:string" minOccurs="0"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="DBFData" msdata:UseCurrentLocale="true">
                <xs:complexType>
                  <xs:choice minOccurs="0" maxOccurs="unbounded">
                    <xs:element ref="DBFData"/>
                  </xs:choice>
                </xs:complexType>
              </xs:element>
            </xs:schema>
            <diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
              <DocumentElement xmlns="">
                <DBFData diffgr:id="DBFData1" msdata:rowOrder="0" diffgr:hasChanges="inserted">
                  <FeatureId>4</FeatureId>
                  <OID>4</OID>
                  <NAME>Angara</NAME>
                  <SYSTEM/>
                </DBFData>
              </DocumentElement>
            </diffgr:diffgram>
          </DBFData>
          <NumPoints>58</NumPoints>
          <Points>
            <Point>
              <FeatureId>4</FeatureId>
              <IsEmpty>false</IsEmpty>
              <BoundingBox>
                ...
              </BoundingBox>
              <CoordinateSystem i:nil="true"/>
              <WKB>AQEAAAAAAACgBEVaQAAAAKAb90lA</WKB>
              <WKT>POINT (105.078407287598 51.9305305480957)</WKT>
              <DBFData i:nil="true"/>
              <X>105.07840728759766</X>
              <Y>51.9305305480957</Y>
              <Z>0</Z>
              <M>0</M>
              <Ordinal>0</Ordinal>
            </Point>
            <Point>
              <FeatureId>4</FeatureId>
              <IsEmpty>false</IsEmpty>
              <BoundingBox>
                ...
              </BoundingBox>
              <CoordinateSystem i:nil="true"/>
              <WKB>AQEAAAAAAABgfvtZQAAAAKC240lA</WKB>
              <WKT>POINT (103.929588317871 51.7790107727051)</WKT>
              <DBFData i:nil="true"/>
              <X>103.92958831787109</X>
              <Y>51.779010772705078</Y>
              <Z>0</Z>
              <M>0</M>
              <Ordinal>1</Ordinal>
            </Point>
            ...
          </Points>
          <Ordinal>0</Ordinal>
        </Feature>
      </ShapefileFeature>
      <ShapefileFeature>
        <ItemId>2</ItemId>
        <Feature i:type="MultiPolyLine">
          <FeatureId>8</FeatureId>
          <IsEmpty>false</IsEmpty>
          <BoundingBox>
            <Value>Lower Left: (32,70, 9,91) Upper Right: (38,64, 15,69)</Value>
            ...
          </BoundingBox>
          <CoordinateSystem i:nil="true"/>
          <WKB>AQUAAAADAAAAAQIAAAADAAAAAAAAYK+6 ...</WKB>
          <WKT>MULTILINESTRING ((37.4584770202637 11.051197052002, 37.1856956481934 11.2953643798828, ...))</WKT>
          <DBFData>
            <xs:schema id="NewDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
              <xs:element name="DBFData">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="FeatureId" type="xs:int" minOccurs="0"/>
                    <xs:element name="OID" type="xs:unsignedInt" minOccurs="0"/>
                    <xs:element name="NAME" type="xs:string" minOccurs="0"/>
                    <xs:element name="SYSTEM" type="xs:string" minOccurs="0"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="DBFData" msdata:UseCurrentLocale="true">
                <xs:complexType>
                  <xs:choice minOccurs="0" maxOccurs="unbounded">
                    <xs:element ref="DBFData"/>
                  </xs:choice>
                </xs:complexType>
              </xs:element>
            </xs:schema>
            <diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
              <DocumentElement xmlns="">
                <DBFData diffgr:id="DBFData1" msdata:rowOrder="0" diffgr:hasChanges="inserted">
                  <FeatureId>8</FeatureId>
                  <OID>8</OID>
                  <NAME>Blue Nile</NAME>
                  <SYSTEM>Nile</SYSTEM>
                </DBFData>
              </DocumentElement>
            </diffgr:diffgram>
          </DBFData>
          <NumPolyLines>3</NumPolyLines>
          <PolyLines>
            <PolyLine>
              <FeatureId>8</FeatureId>
              <IsEmpty>false</IsEmpty>
              <BoundingBox>
                <Value>Lower Left: (37,19, 11,05) Upper Right: (37,46, 11,92)</Value>
                ...
              </BoundingBox>
              <CoordinateSystem i:nil="true"/>
              <WKB>AQIAAAADAAAAAAAAYK+6QkAAAACANhomQAAAAODEl0JAAAAAADqXJkAAAACAsKlCQAAAACD81SdA</WKB>
              <WKT>LINESTRING (37.4584770202637 11.051197052002, 37.1856956481934 11.2953643798828, 37.3256988525391 11.9179391860962)</WKT>
              <DBFData>
                ...
              </DBFData>
              <NumPoints>3</NumPoints>
              <Points>
                <Point>
                  <FeatureId>8</FeatureId>
                  <IsEmpty>false</IsEmpty>
                  <BoundingBox>
                    ...
                  </BoundingBox>
                  <CoordinateSystem i:nil="true"/>
                  <WKB>AQEAAAAAAABgr7pCQAAAAIA2GiZA</WKB>
                  <WKT>POINT (37.4584770202637 11.051197052002)</WKT>
                  <DBFData i:nil="true"/>
                  <X>37.458477020263672</X>
                  <Y>11.051197052001953</Y>
                  <Z>0</Z>
                  <M>0</M>
                  <Ordinal>0</Ordinal>
                </Point>
                <Point>
                  <FeatureId>8</FeatureId>
                  <IsEmpty>false</IsEmpty>
                  <BoundingBox>
                    ...
                  </BoundingBox>
                  <CoordinateSystem i:nil="true"/>
                  <WKB>AQEAAAAAAADgxJdCQAAAAAA6lyZA</WKB>
                  <WKT>POINT (37.1856956481934 11.2953643798828)</WKT>
                  <DBFData i:nil="true"/>
                  <X>37.185695648193359</X>
                  <Y>11.295364379882813</Y>
                  <Z>0</Z>
                  <M>0</M>
                  <Ordinal>1</Ordinal>
                </Point>
                <Point>
                  <FeatureId>8</FeatureId>
                  <IsEmpty>false</IsEmpty>
                  <BoundingBox>
                    ...
                  </BoundingBox>
                  <CoordinateSystem i:nil="true"/>
                  <WKB>AQEAAAAAAACAsKlCQAAAACD81SdA</WKB>
                  <WKT>POINT (37.3256988525391 11.9179391860962)</WKT>
                  <DBFData i:nil="true"/>
                  <X>37.325698852539063</X>
                  <Y>11.917939186096191</Y>
                  <Z>0</Z>
                  <M>0</M>
                  <Ordinal>2</Ordinal>
                </Point>
              </Points>
              <Ordinal>0</Ordinal>
            </PolyLine>
            ...
          </PolyLines>
        </Feature>
      </ShapefileFeature>
    </ShapefileFeatures>
  </Resource>
</Response>
                

JSON Response

                    
{
   "Copyright":"Copyright © 2011-2012 BartelsOnline. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from BartelsOnline.",
   "StatusCode":200,
   "StatusDescription":"OK",
   "ErrorDetails":"",
   "TraceId":"C194389081078C7D09BEBEABD04A01E877624938\/55f2a8e0-6f06-47b8-9e77-92a4b6410b2c\/327323743",
   "Resource":
   {
      "__type":"ShapefileFeatureCollection:http:\/\/schemas.shapeserver.com\/rest\/v1",
      "ItemId":1,
      "Shapefile":"rivers",
      "ShapefileFeatures":
	  [
         {
            "ItemId":1,
            "Feature":
			{
               "__type":"PolyLine:http:\/\/schemas.shapeserver.com\/rest\/v1",
               "FeatureId":"4",
               "IsEmpty":false,
               "BoundingBox":{
                  "Value":"Lower Left: (93,20, 51,56) Upper Right: (110,18, 58,98)", ...
               },
               "CoordinateSystem":null,
               "WKB":[1,2,0,0,0,58, ...],
               "WKT":"LINESTRING (105.078407287598 51.9305305480957, 103.929588317871 51.7790107727051, ...)",
               "DBFData":"<DataTable xmlns=\"http:\/\/schemas.datacontract.org\/2004\/07\/System.Data\">
			   <xs:schema id=\"NewDataSet\" xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns=\"\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\">
				 <xs:element name=\"DBFData\">
					<xs:complexType>
						<xs:sequence>
							<xs:element name=\"FeatureId\" type=\"xs:int\" minOccurs=\"0\"\/>
							<xs:element name=\"OID\" type=\"xs:unsignedInt\" minOccurs=\"0\"\/>
							<xs:element name=\"NAME\" type=\"xs:string\" minOccurs=\"0\"\/>
							<xs:element name=\"SYSTEM\" type=\"xs:string\" minOccurs=\"0\"\/>
						<\/xs:sequence>
					<\/xs:complexType>
				 <\/xs:element>
				 <xs:element name=\"NewDataSet\" msdata:IsDataSet=\"true\" msdata:MainDataTable=\"DBFData\" msdata:UseCurrentLocale=\"true\">
					<xs:complexType>
						<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">
							<xs:element ref=\"DBFData\"\/>
						<\/xs:choice>
					<\/xs:complexType>
				 <\/xs:element>
				<\/xs:schema>
				<diffgr:diffgram xmlns:diffgr=\"urn:schemas-microsoft-com:xml-diffgram-v1\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\">
					<DocumentElement xmlns=\"\">
						<DBFData diffgr:id=\"DBFData1\" msdata:rowOrder=\"0\" diffgr:hasChanges=\"inserted\">
							<FeatureId>4<\/FeatureId>
							<OID>4<\/OID>
							<NAME>Angara<\/NAME>
							<SYSTEM\/>
						<\/DBFData>
					<\/DocumentElement>
				<\/diffgr:diffgram>
			   <\/DataTable>",
               "NumPoints":58,
               "Points":
			   [
                  {
                     "FeatureId":"4",
                     "IsEmpty":false,
                     "BoundingBox":{
                        "Value":"Lower Left: (105,08, 51,93) Upper Right: (105,08, 51,93)", ...
                     },
                     "CoordinateSystem":null,
                     "WKB":[1,1,0,0,0,0,0,0,160,4,69,90,64,0,0,0,160,27,247,73,64],
                     "WKT":"POINT (105.078407287598 51.9305305480957)",
                     "DBFData":null,
                     "X":105.07840728759766,
                     "Y":51.9305305480957,
                     "Z":0,
                     "M":0,
                     "Ordinal":0
                  },
                  {
                     "FeatureId":"4",
                     "IsEmpty":false,
                     "BoundingBox":{
                        "Value":"Lower Left: (103,93, 51,78) Upper Right: (103,93, 51,78)", ...
                     },
                     "CoordinateSystem":null,
                     "WKB":[1,1,0,0,0,0,0,0,96,126,251,89,64,0,0,0,160,182,227,73,64],
                     "WKT":"POINT (103.929588317871 51.7790107727051)",
                     "DBFData":null,
                     "X":103.92958831787109,
                     "Y":51.779010772705078,
                     "Z":0,
                     "M":0,
                     "Ordinal":1
                  }, 
				  ...                 
               ],
               "Ordinal":0
            }
         },
         {
            "ItemId":2,
            "Feature":
			{
               "__type":"MultiPolyLine:http:\/\/schemas.shapeserver.com\/rest\/v1",
               "FeatureId":"8",
               "IsEmpty":false,
               "BoundingBox":{
                  "Value":"Lower Left: (32,70, 9,91) Upper Right: (38,64, 15,69)",  ...
               },
               "CoordinateSystem":null,
               "WKB":[1,5,0,0,0,3, ...],
               "WKT":"MULTILINESTRING ((37.4584770202637 11.051197052002, 37.1856956481934 11.2953643798828, ...))",
               "DBFData":"<DataTable xmlns=\"http:\/\/schemas.datacontract.org\/2004\/07\/System.Data\">
			   <xs:schema id=\"NewDataSet\" xmlns:xs=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns=\"\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\">
				<xs:element name=\"DBFData\">
					<xs:complexType>
						<xs:sequence>
							<xs:element name=\"FeatureId\" type=\"xs:int\" minOccurs=\"0\"\/>
							<xs:element name=\"OID\" type=\"xs:unsignedInt\" minOccurs=\"0\"\/>
							<xs:element name=\"NAME\" type=\"xs:string\" minOccurs=\"0\"\/>
							<xs:element name=\"SYSTEM\" type=\"xs:string\" minOccurs=\"0\"\/>
						<\/xs:sequence>
					<\/xs:complexType>
				<\/xs:element>
				<xs:element name=\"NewDataSet\" msdata:IsDataSet=\"true\" msdata:MainDataTable=\"DBFData\" msdata:UseCurrentLocale=\"true\">
					<xs:complexType>
						<xs:choice minOccurs=\"0\" maxOccurs=\"unbounded\">
							<xs:element ref=\"DBFData\"\/><\/xs:choice>
						<\/xs:complexType>
					<\/xs:element>
				<\/xs:schema>
				<diffgr:diffgram xmlns:diffgr=\"urn:schemas-microsoft-com:xml-diffgram-v1\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\">
					<DocumentElement xmlns=\"\">
						<DBFData diffgr:id=\"DBFData1\" msdata:rowOrder=\"0\" diffgr:hasChanges=\"inserted\">
							<FeatureId>8<\/FeatureId>
							<OID>8<\/OID>
							<NAME>Blue Nile<\/NAME>
							<SYSTEM>Nile<\/SYSTEM>
						<\/DBFData>
					<\/DocumentElement>
				<\/diffgr:diffgram>
			   <\/DataTable>",
               "NumPolyLines":3,
               "PolyLines":
			   [
                  {
                     "FeatureId":"8",
                     "IsEmpty":false,
                     "BoundingBox":{
                        "Value":"Lower Left: (37,19, 11,05) Upper Right: (37,46, 11,92)", ...
                     },
                     "CoordinateSystem":null,
                     "WKB":[1,2,0,0,0,3, ...],
                     "WKT":"LINESTRING (37.4584770202637 11.051197052002, 37.1856956481934 11.2953643798828, 37.3256988525391 11.9179391860962)",
                     "DBFData":"...",
                     "NumPoints":3,
                     "Points":[
                        {
                           "FeatureId":"8",
                           "IsEmpty":false,
                           "BoundingBox":{
                              "Value":"Lower Left: (37,46, 11,05) Upper Right: (37,46, 11,05)", ...
                              },                              
                           },
                           "CoordinateSystem":null,
                           "WKB":[1,1,0,0,0,0,0,0,96,175,186,66,64,0,0,0,128,54,26,38,64],
                           "WKT":"POINT (37.4584770202637 11.051197052002)",
                           "DBFData":null,
                           "X":37.458477020263672,
                           "Y":11.051197052001953,
                           "Z":0,
                           "M":0,
                           "Ordinal":0
                        },
                        {
                           "FeatureId":"8",
                           "IsEmpty":false,
                           "BoundingBox":{
                              "Value":"Lower Left: (37,19, 11,30) Upper Right: (37,19, 11,30)", ...                              
                           },
                           "CoordinateSystem":null,
                           "WKB":[1,1,0,0,0,0,0,0,224,196,151,66,64,0,0,0,0,58,151,38,64],
                           "WKT":"POINT (37.1856956481934 11.2953643798828)",
                           "DBFData":null,
                           "X":37.185695648193359,
                           "Y":11.295364379882813,
                           "Z":0,
                           "M":0,
                           "Ordinal":1
                        },
                        {
                           "FeatureId":"8",
                           "IsEmpty":false,
                           "BoundingBox":{
                              "Value":"Lower Left: (37,33, 11,92) Upper Right: (37,33, 11,92)", ...
                           },
                           "CoordinateSystem":null,
                           "WKB":[1,1,0,0,0,0,0,0,128,176,169,66,64,0,0,0,32,252,213,39,64],
                           "WKT":"POINT (37.3256988525391 11.9179391860962)",
                           "DBFData":null,
                           "X":37.325698852539063,
                           "Y":11.917939186096191,
                           "Z":0,
                           "M":0,
                           "Ordinal":2
                        }
                     ],
                     "Ordinal":0
                  },
				  ...                  
               ]
            }
         }
      ]
   }
}
                
Export feature data from a shapefile
The following example queries ShapeServer to export features 2 and 3 from shapefile 'rivers' in GeoRSS format.
http://api.shapeserver.com/REST/v1/shapefiles/rivers?fid=2,3&ot=GeoRSS&key=ShapeServerKey

XML Response

                    
<Response xmlns="http://schemas.shapeserver.com/rest/v1"
          xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Copyright>Copyright © 2011-2012 BartelsOnline. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from BartelsOnline.</Copyright>
  <StatusCode>200</StatusCode>
  <StatusDescription>OK</StatusDescription>
  <ErrorDetails/>
  <TraceId>A194389081078C7D09BEBEABD04A01E877624938/58da160a-e910-49db-90fc-a7c5c6208007/82358574</TraceId>
  <Resource i:type="ShapefileExportCollection">
    <ItemId>1</ItemId>
    <Shapefile>rivers</Shapefile>
    <ShapefileExports>
      <ShapefileExport>
        <ItemId>1</ItemId>
        <Export i:type="GeoRSSExport">
          <ItemId>1</ItemId>
          <FeatureId>2</FeatureId>
          <Type>georss:line</Type>
          <GeoData>37.4995155334473 73.9881820678711 37.5284080505371 73.5259475708008 ...</GeoData>
        </Export>
      </ShapefileExport>
      <ShapefileExport>
        <ItemId>2</ItemId>
        <Export i:type="GeoRSSExport">
          <ItemId>2</ItemId>
          <FeatureId>3</FeatureId>
          <Type>georss:line</Type>
          <GeoData>49.9972953796387 122.639556884766 49.2545127868652 120.478736877441 ...</GeoData>
        </Export>
      </ShapefileExport>
    </ShapefileExports>
  </Resource>
</Response>
                

JSON Response

                    
{
	"Copyright":"Copyright © 2011-2012 BartelsOnline. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from BartelsOnline.",
	"StatusCode":200,
	"StatusDescription":"OK",
	"ErrorDetails":"",
	"TraceId":"A194389081078C7D09BEBEABD04A01E877624938\/09000642-fd4f-47e1-94ca-8ef9cc6af234\/-1479870495",
	"Resource":
	{
		"__type":"ShapefileExportCollection:http:\/\/schemas.shapeserver.com\/rest\/v1",
		"ItemId":1,
		"Shapefile":"rivers",
		"ShapefileExports":
		[
			{
				"ItemId":1,
				"Export":
				{
					"__type":"GeoRSSExport:http:\/\/schemas.shapeserver.com\/rest\/v1",
					"ItemId":1,
					"FeatureId":2,
					"Type":"georss:line",
					"GeoData":"37.4995155334473 73.9881820678711 37.5284080505371 73.5259475708008 ..."
				}
			},
			{
				"ItemId":2,
				"Export":
				{
					"__type":"GeoRSSExport:http:\/\/schemas.shapeserver.com\/rest\/v1",
					"ItemId":2,
					"FeatureId":3,
					"Type":"georss:line",
					"GeoData":"49.9972953796387 122.639556884766 49.2545127868652 120.478736877441 ..."
				}
			}
		]
	}
}
                
Note
Not all features and their associated data are shown in the responses above. When data has been omitted three dots (...) mark the location of the omitted data.

HTTP Status Codes

When the request is successful, the following HTTP status code is returned.
  • 200
When the request is not successful, the response returns one of the following errors.
  • 400
  • 401
  • 404
  • 500
  • 503

See Also