Hi friends, i writte from Argentina.<div><br></div><div>I&#39;d like read attributes from a shapefile but i get &quot;nothing&quot;, however i can read very good the geometries.</div><div>My code:</div><div><div><br></div>
<div>$shpFile = ms_newShapeFileObj( $_SERVER[&quot;DOCUMENT_ROOT&quot;].&quot;/zonas&quot;, -1); //my shapefile in disc</div><div>echo $shpFile-&gt;numshapes; //8 -&gt; it&#39;s right!!</div><div><br></div><div>$oShape = $shpFile-&gt;getShape(0); //get first object</div>
<div><br></div><div>//..but....:</div><div>echo $oShape-&gt;numvalues; //0, however it has 2 values: &quot;CODIGO&quot; and &quot;NOMBRE&quot;</div><div>echo $oShape-&gt;values[&quot;CODIGO&quot;]; //Here get empty (value is 4)</div>
<div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> Thanks in advance!!!!.</span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Pedro.</span></font></div><div><br></div></div>