Hi,
the DBASE field name is restricted to ANSI characters, see [1]
(Attribute limitations), [2]
HTH
Frank
[1]
http://resources.esri.com/help/9.3/ArcGISDesktop/com/Gp_ToolRef/geoprocessing_tool_reference/geoprocessing_considerations_for_shapefile_output.htm
[2] https://msdn.microsoft.com/en
Le lundi 12 octobre 2015 11:12:37, Jhon Chin a écrit :
> Thks a lot!!! Even, so I should avoid using Field name that counts more
> than 10 bytes, and there is no workaround ?
Yes.
Do you really need shapefile though ? If not, you could use more modern formats
like GeoPackage or Spatialite that d
Jhon Chin,
> Hi, everybody:
>
> add one more question :
>
> the field name can be read 10 ascii characters, the last characters would
> be trimmed,
Not necessarily 10 ascii characters, but 10 bytes. The number of characters
that can fit on 10 bytes depends on the encoding. 1 ASCII character =
Hi, everybody:
add one more question :
the field name can be read 10 ascii characters, the last characters would
be
trimmed, is there anyone encounter this problem?
any help would be appreciated!
Jhon Chen
On Mon, Oct 12, 2015 at 3:43 PM, Jhon Chin wrote:
> Hi, everybody:
>
El Lunes 12. octubre 2015 15.43.58 Jhon Chin escribió:
> Hi, everybody:
>
> I'm now trying to write polygonized result into an esri shapefile, and I
> tried to add some field to the attribute table in the shapefile. But it
> corrupted when i was trying to create an *ogrfielddefn* instance.The cod
Hi, everybody:
I'm now trying to write polygonized result into an esri shapefile, and I
tried
to add some field to the attribute table in the shapefile. But it corrupted
when i was trying to create an *ogrfielddefn* instance.The code goes
like this:
OGRFieldDefn oField("归一化植被指数",OFTI