geoserver显示shapefile中汉字呈乱码问题的可选解决方案

版本:geoserver1.3a

找呀找呀,才发现是geotools的问题,其shapefile读取模块不能选择dbf文件的编码.

解决方案如下:
(1) 网上给的方案
shapefile optional parameters
DbaseFileReader vs non-ISO-8859-1 charsets

(2)用excel编辑dbf文件,把中文去掉,嘿嘿,比较损

(3)shp->postgis,把数据源换成postgresql/postgis
 
转载自:https://blog.csdn.net/heeeey/article/details/969413

You may also like...

退出移动版