Transform data to another CRS with mapping toolbox functions
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, I tried to transform data to another CRS using functions projinv and projfwd. These two CRS, I'am working with are defined on two different ellipsoids (Bessel and WGS84) and this is the problem. Lat and Lon (probably on Bessel ellps.) I've unprojected from first CRS are used to project data to second CRS. There should be used transformation between ellipsoids, but i think it was not. Does anyone know how these functions work with ellipsoids? My code is attached below.
s = shaperead('stat.shp'); info = shapeinfo('stat.shp'); x1 = s.X; y1 = s.Y; p1 = info.CoordinateReferenceSystem; % from p2 = projcrs(32633); % to % unproject data [lat,lon] = projinv(p1,x1,y1); % project data [x2,y2] = projfwd(p2,lat,lon);
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!