| 
														
															@@ -135,7 +135,7 @@ public class PostGisUtilTest { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 List<Map<String,Object>> list = ShapeReader.getShapeFileLeizhou(shp); 
														 | 
														
														 | 
														
															                 List<Map<String,Object>> list = ShapeReader.getShapeFileLeizhou(shp); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 System.out.println("数据准备:"); 
														 | 
														
														 | 
														
															                 System.out.println("数据准备:"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 System.out.println(list.size()); 
														 | 
														
														 | 
														
															                 System.out.println(list.size()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                getInsertSqlsLeizhou(fileWriter, "leizhou_parcel_out0209", list); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                getInsertSqlsLeizhou(fileWriter, "leizhou_parcel_out0210", list); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.flush(); 
														 | 
														
														 | 
														
															             fileWriter.flush(); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -151,7 +151,7 @@ public class PostGisUtilTest { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         int c = 100; 
														 | 
														
														 | 
														
															         int c = 100; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         while(i < list.size()) { 
														 | 
														
														 | 
														
															         while(i < list.size()) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             if(i % c == 0) { 
														 | 
														
														 | 
														
															             if(i % c == 0) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                fileWriter.append("insert into " + typeName + "(inpoly_f_1,area,simpgnflag,toc,quxian,shengdao,hupo,gdp_pop,slope,aspect,name,id_card,crop_type,area_ha,value,majority,geom) values"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                fileWriter.append("insert into " + typeName + "(id,area,simpgnflag,toc,quxian,shengdao,hupo,gdp_pop,slope,aspect,name,id_card,crop_type,area_ha,value,majority,parceltype,geom) values"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             Map<String, Object> map = list.get(i); 
														 | 
														
														 | 
														
															             Map<String, Object> map = list.get(i); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append(" ('"+map.get("inpoly_f_1")+"',"); 
														 | 
														
														 | 
														
															             fileWriter.append(" ('"+map.get("inpoly_f_1")+"',"); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -170,6 +170,7 @@ public class PostGisUtilTest { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append("'"+map.get("area_ha")+"',"); 
														 | 
														
														 | 
														
															             fileWriter.append("'"+map.get("area_ha")+"',"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append("'"+map.get("value")+"',"); 
														 | 
														
														 | 
														
															             fileWriter.append("'"+map.get("value")+"',"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append("'"+map.get("majority")+"',"); 
														 | 
														
														 | 
														
															             fileWriter.append("'"+map.get("majority")+"',"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            fileWriter.append("'"+map.get("parceltype")+"',"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append("st_geomfromtext('"); 
														 | 
														
														 | 
														
															             fileWriter.append("st_geomfromtext('"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append(map.get("geom").toString()); 
														 | 
														
														 | 
														
															             fileWriter.append(map.get("geom").toString()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             fileWriter.append("',4326))"); 
														 | 
														
														 | 
														
															             fileWriter.append("',4326))"); 
														 |