Frank Warmerdam wrote:
Mateusz Loskot wrote:
Frank Warmerdam wrote:
wow wrote:
Hi,
I wanna set new field value to an existing shape file which has been
opened with update access, but it doesn't work, my code like this:
OGRFeature* pFeature = pLayer->GetFeature(2); int nIdx =
pFeature-
Mateusz Loskot wrote:
Frank Warmerdam wrote:
wow wrote:
Hi,
I wanna set new field value to an existing shape file which has been
opened with update access, but it doesn't work, my code like this:
OGRFeature* pFeature = pLayer->GetFeature(2); int nIdx =
pFeature->GetFieldIndex("Name");
Frank Warmerdam wrote:
> wow wrote:
>> Hi,
>> I wanna set new field value to an existing shape file which has been
>> opened with update access, but it doesn't work, my code like this:
>>
>> OGRFeature* pFeature = pLayer->GetFeature(2); int nIdx =
>> pFeature->GetFieldIndex("Name");
>> pFe
wow wrote:
Hi,
I wanna set new field value to an existing shape file which has been
opened with update access, but it doesn't work, my code like this:
OGRFeature* pFeature = pLayer->GetFeature(2);
int nIdx = pFeature->GetFieldIndex("Name");
pFeature->UnsetField(nIdx);
pFeature->SetFi
wow wrote:
> Hi,
> I wanna set new field value to an existing shape file which has been
> opened with update access, but it doesn't work, my code like this:
>
> OGRFeature* pFeature = pLayer->GetFeature(2);
> int nIdx = pFeature->GetFieldIndex("Name");
> pFeature->UnsetField(nIdx);
> pFe
: "gdal-dev";
Subject: [gdal-dev] Update existing shape file
Hi,
I wanna set new field value to an existing shape file which has been opened
with update access, but it doesn't work, my code like this:
OGRFeature* pFeature = pLayer->GetFeature(2);
int nIdx
Hi,
I wanna set new field value to an existing shape file which has been opened
with update access, but it doesn't work, my code like this:
OGRFeature* pFeature = pLayer->GetFeature(2);
int nIdx = pFeature->GetFieldIndex("Name");
pFeature->UnsetField(nIdx);
pFeature->SetField( "Name"