# GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_Components_Map_Data_ESRI_EsriDataDecoder_DecodeSpatial_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial*">DecodeSpatial Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_Map_Data_ESRI_EsriDataDecoder_DecodeSpatial_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Map_Data_ESRI_EsriDataDecoder_DecodeSpatial_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial(System.IO.Stream)">DecodeSpatial(Stream)</h4>
<div class="markdown level1 summary"><p>Decodes spatial data represented in ESRI shapefile format into geospatial object model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEnumerable&lt;GeoShape&gt; DecodeSpatial(Stream stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The geospatial data at raw ESRI shapefile representation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.Map.GeoData.GeoShape.html">GeoShape</a>&gt;</td>
      <td><p>Decoded geospatial object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Rendering_Components_Map_Data_ESRI_EsriDataDecoder_DecodeSpatial_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Map_Data_ESRI_EsriDataDecoder_DecodeSpatial_System_Byte___" data-uid="GrapeCity.ActiveReports.Rendering.Components.Map.Data.ESRI.EsriDataDecoder.DecodeSpatial(System.Byte[])">DecodeSpatial(byte[])</h4>
<div class="markdown level1 summary"><p>Decodes spatial data represented in ESRI shapefile format into geospatial object model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEnumerable&lt;GeoShape&gt; DecodeSpatial(byte[] data)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">data</span></td>
      <td><p>The geospatial data at raw ESRI shapefile representation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.Components.Map.GeoData.GeoShape.html">GeoShape</a>&gt;</td>
      <td><p>Decoded geospatial object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
