function convertldb(ldbFrom,ldbTo,CS1code,CS2code)

ldb = readldb(ldbFrom);

[x,y,log] = convertCoordinates(ldb.x,ldb.y,'CS1.code',CS1code,'CS2.code',CS2code);

% landboundary('write',ldbTo,XY)
landboundary('write',ldbTo,x,y);

end