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.
OperatingSystem | None |
BuildNumber | normal |
SubprojectBuildNumber | normal |
Resolution | Awaiting response |
Severity | None |
SubprojectName | gvSIG |
Component | gvSIG - Geoprocessing |
Version | gvSIG - 1.11.0 |
SubprojectVersion | gvSIG - 1.11.0 |
SubprojectResolveVersion | gvSIG - 1.12.0 |
Has patch | None |
Category
Bugs
Login or create an account to comment.
Comments
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