pgsql2shp和postsql命令行乱码
1、命令行乱码
设置环境变量PGCLIENTENCODING为GBK,退出PostgreSQL后重新登陆。

2、pgsql2shp命令
pgsql2shp -f D:/yhmap/nyc_streets.shp -h 172.23.1.5 -u postgres -P qsxwdc -p 8862 yh_map "SELECT tt.id,tt.name from yh_map_meterbox tt where tt.display='水表箱' ";
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号