| 
					
				 | 
			
			
				@@ -103,9 +103,9 @@ public class ShapeReader { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             SimpleFeature feature = itertor.next(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Map<String, Object> map = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            addValue(map, feature, "InPoly_F_1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            addValue(map, feature, "InPoly_FID"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             System.out.println(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            System.out.println(map.get("inpoly_f_1")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            System.out.println(map.get("inpoly_fid")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "Area"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "SimPgnFlag"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "TOC"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,12 +120,15 @@ public class ShapeReader { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "crop_type"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "area_ha"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "value"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            addValue(map, feature, "intensity"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "MAJORITY"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             addValue(map, feature, "ParcelType"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Geometry geometry = (Geometry)feature.getDefaultGeometry(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//            for(Coordinate[] coordinate : geometry.getCoordinates()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//                GeoCastUtil.mactorToLonlat() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for(Coordinate coordinate : geometry.getCoordinates()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                Double[] res = GeoCastUtil.mactorToLonlat(new Double[]{coordinate.getX(), coordinate.getY()}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                coordinate.setX(res[0]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                coordinate.setY(res[1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             map.put("geom",GeoCastUtil.geomToWkt(geometry)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             list.add(map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -134,9 +137,6 @@ public class ShapeReader { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public static void addValue(Map<String,Object> map, SimpleFeature feature, String key){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Object val = feature.getAttribute(key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(val == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            val = feature.getProperty(key); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put(key.toLowerCase(), val); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |