Skip to main content

Merge geoprocess change the string field original lenght

Anonymous (not verified)
Published on: 23/06/2011 Discussion Archived

Merge geoprocess output layer string type fields have an incorrect lenght. 1. Load whatever two shapefiles layers (same geometry type). 2. Open their attribute tables and pay attention to the string type fields lenght. 3. Open the geoprocess tool box and select merge geoprecess. Merge both layers. 4. After finish, open the output layer attribute table and check the string type fields lenght. 5. They are now 254 characters long instead the original lenght.



OperatingSystemNone
BuildNumbernormal
SubprojectBuildNumbernormal
ResolutionAwaiting response
SeverityNone
SubprojectNamegvSIG
ComponentgvSIG - Geoprocessing
VersiongvSIG - 1.11.0
SubprojectVersiongvSIG - 1.11.0
SubprojectResolveVersiongvSIG - 1.12.0
Has patchNone

Category

Bugs

Comments

Anonymous (not verified) Fri, 01/07/2011 - 12:29

I'm not sure what is the correct solution for this. In geoprocess when a new layer is created the lengths are set to some default values (254 for strings, 20 for decimal, ..) Should the new layer take the biggest length of the input layers? Maybe the approach of use 254 is not bad