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
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 27, 2020 at 11:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 23, 2020 at 9:51 | comment | added | Sara | To correct one of my comments above, in Word the font actually remains a Chinese font even when you manually set it to an English font. I'll delete that comment. | |
Mar 23, 2020 at 9:41 | history | edited | Sara | CC BY-SA 4.0 |
added 18 characters in body
|
Mar 23, 2020 at 9:38 | answer | added | Sara | timeline score: 3 | |
Mar 23, 2020 at 8:31 | history | reopened | Ian Turton geoserver Users with the geoserver badge or a synonym can single-handedly close geoserver questions as duplicates and reopen them as needed. | ||
Mar 23, 2020 at 0:56 | comment | added | Sara | Can you reopen the question? I think the mistake I made are different (as in more) from the other post you referenced. | |
Mar 23, 2020 at 0:47 | comment | added | Sara |
By the way I've solve one of the problem. I found what is wrong with the underscore problem. I think it's because the column names in my data that have underscore exceeds 10 characters and Geoserver only excepts 10. So if I change postal_code to postal_cod , it works, and if I change school_name to school_nam , the layer shows, although the characters are still square because the data are Chinese characters.
|
|
Mar 23, 2020 at 0:37 | comment | added | Sara | No, I am using all the same properties as in the cookbook, so my font is Arial. | |
Mar 22, 2020 at 17:52 | comment | added | Ian Turton | Are you using a font with Chinese characters in it? | |
Mar 22, 2020 at 17:50 | review | Reopen votes | |||
Mar 23, 2020 at 2:22 | |||||
Mar 22, 2020 at 17:30 | history | edited | Sara | CC BY-SA 4.0 |
deleted 243 characters in body
|
Mar 22, 2020 at 17:30 | comment | added | Sara | I set the encoding of the data store (type Directory of spatial files) to UTF-8. Now it shows boxes instead of question marks, but still not the correct characters. Also, I've ensured to set the encoding of the shp to UTF-8 when exporting the file, re-added the data store to geoserver, and republished the layer. But still not working, as in 1. still not showing the correct chinese characters 2. if label is set to columns with underscore in its name, the entire layer doesn't show | |
Mar 22, 2020 at 10:23 | comment | added | Ian Turton | make sure you correctly set the character encoding when you imported the shapefile | |
Mar 22, 2020 at 10:22 | history | closed | Ian Turton geoserver Users with the geoserver badge or a synonym can single-handedly close geoserver questions as duplicates and reopen them as needed. | Duplicate of French accents in geoserver | |
Mar 22, 2020 at 10:07 | history | edited | Sara | CC BY-SA 4.0 |
added 230 characters in body
|
Mar 22, 2020 at 9:54 | history | asked | Sara | CC BY-SA 4.0 |