필터 지우기
필터 지우기

Transform data to another CRS with mapping toolbox functions

조회 수: 2 (최근 30일)
Jakub Snopl
Jakub Snopl 2022년 4월 15일
편집: Jakub Snopl 2022년 4월 16일
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개)

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by