String function ( String arg0 , String arg1 ) { int loc0 = Integer . parseInt ( arg1 ) ; String [ ] loc1 = arg0 . trim ( ) . split ( "srini_string" , 2 ) ; if ( loc1 . length != 2 ) { return "srini_string" ; } String loc2 = parseCoordinate ( loc1 [ 0 ] , loc0 , NF ) , loc3 = parseCoordinate ( loc1 [ 1 ] , loc0 , NF ) ; return "srini_string" + loc2 + "srini_string" + loc3 + "srini_string" ; }
parses a gml : pos element and outputs a geojson string . concode_field_sep NumberFormat NF concode_field_sep String gmlPosListToString concode_elem_sep String gmlCoordinatesToString concode_elem_sep String parseCoordinate