Free Support Forum - aspose.com

Corrupt ShapeFile Attribute Names


#1

The ShapeFile specification allows for attribute names of up to 10 characters.

The current version of Aspose.GIS (19.1) is corrupting the 10th attribute name character when creating a ShapeFile (seems to be changing it to a random number).

My test code is based off this sample code..

For example an attribute named Mapped_Dat becomes Mapped_Da6.


#2

@DavidB,

Thank you for contacting Aspose Support.

We were able to reproduce the issue reported by you and have logged a ticket in our issue tracking system as GISNET-284 to investigate it further. We will update you here as soon as additional information is available.


#3

@DavidB,

The issue reported by you has been fixed with the release of Aspose.GIS for .NET 19.2.

Please note that Aspose.GIS used to replace the tenth character of the attribute name with the index of the attribute to avoid name collisions. This behavior has been modified with the latest release so that the ten character attributes names are never changed.