Timeline for GeoServer layer preview doesn't work for chinese columns or columns that has underscore in name
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 27, 2020 at 11:20 | comment | added | nmtoken |
See gdal.org/drivers/vector/shapefile.html#creation-issues ~ Attribute names can only be up to 10 characters long. Starting with version 1.7, the OGR Shapefile driver tries to generate unique field names. Successive duplicate field names, including those created by truncation to 10 characters, will be truncated to 8 characters and appended with a serial number from 1 to 99
|
|
Mar 23, 2020 at 10:22 | history | edited | Sara | CC BY-SA 4.0 |
added 195 characters in body
|
Mar 23, 2020 at 10:15 | comment | added | Sara | Ahh, I see what you mean. I've just checked. The layer created from the csv had the correct attribute names. BUT after exporting to shp they were truncated. I unconsciously assumed the two layers would be the same, which lead me to think it was GeoServer that truncated the name. I'll edit my answer. | |
Mar 23, 2020 at 10:07 | comment | added | Ian Turton | Actually, it is shapefiles that truncate your field names to 10 chars - apparently it is a feature! | |
Mar 23, 2020 at 9:45 | history | edited | Sara | CC BY-SA 4.0 |
added 83 characters in body
|
Mar 23, 2020 at 9:38 | history | answered | Sara | CC BY-SA 4.0 |