--
To the world you're little, but to a person, maybe you're the world.
-- Original --
From: "wow"<27949...@qq.com>;
Date: Wed, Oct 28, 2009 04:51 PM
To: "gdal-dev";
Subject:
Hi ,
My user asked me to give him some description of the algorithm of gdal
contour generator as detailed as possible. I have poor theory about this
problem, anyone could tell me some workflow of this module to save time when i
browse the source code? Thanks.
Hi,
I want to generate contours with different intervals in sevaral elevation
ranges. For example, if the elevation range is (0,100), the contour interval is
10; if the range is [100, 500), the interval is 50; and if the range is [500,
2000), the interval is 200. Can all those contour genera
Hi, When i call OGRLayer::CreateField() to create a field with a Chinese
name[UNICODE], i got errors. The driver is ESRI shape. Does
OGRLayer::CreateField() suport UNICODE in ver1.4.1 ?
--
To the world you're little, but to a person you're the world.
uot;BRUSH(fc:#C0C0C0,id:\"swR0\")");
res = oStyleTable.SaveStyleTable(strTlbPath);
}
break;
default:
break;
}
if(poStyleMgr)
{
delete poStyleMgr;
poStyleMgr = NULL;
}
if(!res)
{
return false;
}
return true;
}
//END--
;re little, but to a person you're the world.
Chen Xuexia
-- Original --
From: "Frank Warmerdam"<[EMAIL PROTECTED]>;
Date: Mon, Aug 18, 2008 11:12 PM
To: "wow"<[EMAIL PRO
Hi,
When i tried to update my whole program from ver1.4.1 to 1.5.2, all worked
well except the OGRFeatureStyle module. The function OGRStyleMgr::AddStyle()
couldn't write the provided style name and style string right with ver1.5.2,
but could run smoothly with version 1.4.1.
My code :
--
From: "Mateusz Loskot"<[EMAIL PROTECTED]>;
Date: Fri, Aug 15, 2008 07:16 PM
To: "wow"<[EMAIL PROTECTED]>;
Cc: "gdal-dev";
Subject: Re: [gdal-dev] deleting feature exceptions
Mateusz Loskot wrote:
>> Attachment of this mail is the exa
the world.
Chen Xuexia
-- Original --
From: "Frank Warmerdam"<[EMAIL PROTECTED]>;
Date: Fri, Aug 15, 2008 10:06 AM
To: "wow"<[EMAIL PROTECTED]>;
Cc: "gdal-dev";
Hi,
i try to delete features from a set of shape file, sometimes get error. I
use this version of ogrshapelayer.cpp :
http://trac.osgeo.org/gdal/changeset/10969 . Delete feature in two ways would
get different result:
(1) for(iFeat=0;iFeatDeleteFeature(0);
if(cplE==CE_None)
Hi,
i try to delete features from a set of shape file, sometimes get error. I
use this version of ogrshapelayer.cpp :
http://trac.osgeo.org/gdal/changeset/10969 . Delete feature in two ways would
get different result:
(1) for(iFeat=0;iFeatDeleteFeature(0);
if(cplE==CE_None)
Hi,
To update shape files. i got two questions:
1. How could i delete a field from a shapelayer?
2. How to set a value to a specified field of all records? Could i use SQL
sentences like "set field_name='value'" on the datasource of shapelayer?
Thank you.
--
To the world
--
To the world you're little, but to a person you're the world.
Chen Xuexia
-- Original --
From: "wow"<[EMAIL PROTECTED]>;
Date: Fri, Aug 1, 2008 11:21 AM
To
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"
14 matches
Mail list logo