Program: MKLONLAT2XY

  mklonlat2xy.......transform lon/lat coordinates to x/y coordinates acc. to MAPOPT
 
  call: [x,y]=mklonlat2xy(lon,lat,mapopt,direction);
 
        lon: arbitrary matrix of longitude values [deg]
        lat: arbitrary matrix of latitude values [deg]
        mapopt: map options structure as returned by MKMAPOPT
        direction: projection direction:
                   'forward': transform lon/lat to x/y
                   'inverse': transform x/y to lon/lat
 
 
  result: x: matrix x coordinates
          y matrix of y coordinates
 
          X and Y have same size and shape as LON and LAT (values with equal index correspond)
          but are projected and scaled according to the settings in MAPOPT
 
  MKLONLAT2XY dispatches the data to the respective projection routines.
  Nothing is plotted here.
 
  Martin Knapmeyer, 01.07.2003, 13.09.2006, 26.11.2007

Read M-File Source Code


eof.