<p>Maybe I misunderstood what are you trying to do, just be aware that manually modifying FID or OID in a shapefile or geoDb feature class is likely to corrupt them.</p>
<p>Cheers,</p>
<p>Stefano</p>
<div class="gmail_quote">Il giorno 26/mar/2013 18:40, "Christian Röttger" <<a href="mailto:chris.roettger@web.de">chris.roettger@web.de</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
no, i want to do it the other way arround. the problem is that i want to change the FID value, which is generated by arcgis or qgis automatically (the grey numbers in the first column). i have already a column with id values. i want to assign the FID/OID with their values.<br>

<br>
Am 26.03.2013 17:07, schrieb José Pedro Santos:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Christian,<br>
<br>
Why you don't create a new column with the ID values that you want? If<br>
you want to edit some columns or rows you can use the Field Calculator.<br>
<br>
Best Regards,<br>
José Santos<br>
<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
Date: Tue, 26 Mar 2013 16:59:08 +0100<br>
From: <a href="mailto:chris.roettger@web.de" target="_blank">chris.roettger@web.de</a><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: [Qgis-user] manually change FID/OID<br>
<br>
Hi,<br>
<br>
i have the following problem: If i export a postgis db with qgis it<br>
mixes up the rows. On the first position in the attribute table is a<br>
value with id 2400 but should be 0 or 1<br>
e.g.<br>
       id      objectname<br>
0 | 2400 | name 2400  ...<br>
1 | 828   | name 828   ...<br>
<br>
When i inspect the database, everything seems to be ok, as the line with<br>
id =1 shows up on the top position and id is set as primary key.<br>
Has anybody an idea how i can get my table back in the right order or<br>
how to manually update the FID/OID with my id values?<br>
<br>
I need that for an geotools importer which reads the FID and i cant<br>
change the import parameters.<br>
<br>
Thanks christian<br>
<br>
______________________________<u></u>_________________ Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-user</a><br>

</blockquote>
<br>
______________________________<u></u>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-user</a><br>
</blockquote></div>