<div dir="ltr"><div><div></div>Hi,<br><br></div>Georgia, <br><br><span id="result_box" class="" lang="en"><span class="">Perhaps the</span> <span class="">problem is</span> <span class="">that there are several</span> <span class="">municipal codes</span><span>.</span> <span class="">Possibly</span> <span class="">the difference</span> <span class="">between 10 and</span> <span class="">11 digits</span> <span class="">is</span> <span class="">the</span> <span class=""></span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">municipal </span></span>5 digit</span><span class=""> code</span> <span class="">(</span><span class="">2</span> </span><span id="result_box" class="" lang="en"><span id="result_box" class="" lang="en"><span class="">provincial</span></span> <span class="">+</span> <span class="">3</span>  <span class="">municipality)</span> <span class="">and the municipal code</span> <span class="">of</span> <span class="">6 digits</span><span class="">.</span> <br><span class="">The</span> <span class="">6 digit</span> <span class="">code</span> <span class="">is equal to</span> <span class="">5 digits</span> <span class="">plus a</span> <span class="">check digit</span> <span class="">(</span><span></span></span><span id="result_box" class="" lang="en"><span><span id="result_box" class="" lang="en"><span class="">2 </span></span>province</span>  <span class="">+ 3</span> </span><span id="result_box" class="" lang="en"><span class="">municipality </span></span><span id="result_box" class="" lang="en"><span class="">+</span> <span class="">1</span> <span class="">control).</span> <br>   <br><span class="">In</span> <span class="">this link you can</span> <span class="">see</span> <span class="">a table</span> <span class="">with the relations of</span> <span class="">the various municipal</span> <span class="">codes</span> <span class="">of Catalonia</span></span><br><div><a href="https://docs.google.com/spreadsheet/ccc?key=0AkhHTgHyyvPBdDBYdm1lcGQwVFNFMl8wYTB2dDVuMXc&usp=sharing" target="_blank">https://docs.google.com/spreadsheet/ccc?key=0AkhHTgHyyvPBdDBYdm1lcGQwVFNFMl8wYTB2dDVuMXc&usp=sharing</a><br><br>-- <br>Saludos,<br><br>Bolo<br><a href="http://www.geoinquiets.cat" target="_blank">www.geoinquiets.cat</a><br><br><br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-08 21:22 GMT+02:00 Georgia Bullen <span dir="ltr"><<a href="mailto:georgia@opentechinstitute.org" target="_blank">georgia@opentechinstitute.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello All,<div><br></div><div>Apologies if this has been asked here before (and for asking in English, but my Spanish isn't very good!), but I'm trying to work with the Spanish Census data and the shapefiles I've found for the census areas.</div><div><br></div><div>Basically, I believe with the data from the Census, I need to create an ID that matches to the polygons in the shapefile to join. </div><div><br></div><div>In the census files, I have:</div><div>cpro (2)<span style="white-space:pre-wrap"> + </span>cmun (3)<span style="white-space:pre-wrap"> + </span>dist (3)<span style="white-space:pre-wrap"> + </span>secc (3) --> which concatenantes to a 10 digit number</div><div><br></div><div>In the shapefiles I have:</div><div>Municipi (6 digits) + Districte (2) + Seccio (3) --> which is an 11 digit number.<br></div><div><br></div><div>Has anyone encountered this before? Am I using the wrong fields from one of the data sets? Is there a better set to use?</div><div><br></div><div>Any help would be greatly appreciated! Thanks in advance!</div><span><font color="#888888"><div><br></div><div>-Georgia</div><div><div><br></div>-- <br><div dir="ltr">Georgia Bullen<div>Field Operations Technologist</div><div><a href="http://oti.newamerica.org/" target="_blank">Open Technology Institute</a> @ <a href="http://newamerica.org" target="_blank">New America</a></div><div><a href="http://twitter.com/georgiamoon" target="_blank">@georgiamoon</a></div></div>
</div></font></span></div>
<br>_______________________________________________<br>
Barcelona mailing list<br>
<a href="mailto:Barcelona@lists.osgeo.org" target="_blank">Barcelona@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/barcelona" target="_blank">http://lists.osgeo.org/mailman/listinfo/barcelona</a><br></blockquote></div><br><br clear="all"><br>-- <br>Saludos,<br><br>Bolo<br><a href="http://www.geoinquiets.cat" target="_blank">www.geoinquiets.cat</a><br>
</div></div></div>