CONVERTCOORDINATESDATUMTRANSFORM Datum transformation Performs the specified datum transformation for a set of coordinates Syntax: [lat2,lon2] = ConvertCoordinatesDatumTransform(lat1,lon1,OPT,datum_trans,STD) Input: lat1 = input latitude lon1 = input longitude OPT = structure with input and output coordinate system and tranformation information. datum_trans = string specifying if the transformation goes via WGS84: 'datum_trans' : direct transformation 'datum_trans_to_WGS84' : transformation to WGS84 'datum_trans_from_WGS84' : transformation from WGS84 STD = structure with all EPSG codes Output: lat2 = output latitude lon2 = output longitude See also CONVERTCOORDINATES -------------------------------------------------------------------- Copyright (C) 2009 Deltares for Building with Nature Thijs Damsma Thijs.Damsma@deltares.nl Deltares P.O. Box 177 2600 MH Delft The Netherlands This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this library. If not, see <http://www.gnu.org/licenses/>. --------------------------------------------------------------------