public static void convert(String input, String output) throws Exception{
//load shp file
ShapeFileReader reader = null;
reader = new ShapeFileReader(new File(input));
reader.open();
//get all geometries and invert LAT,LNG coordinates
Geometry[] geometries = reader.readAll();
for(int i = 0 ; i < geometries.length ; i++ ){