SP_PROJ

版本 1.1.0.0 (6.8 KB) 作者: Andrew Stevens
Convert to and from US state plane coordinates
1.8K 次下载
更新时间 2010/1/21

查看许可证

SP_PROJ converts between geographic (latitude and longitude) and US state plane coordinates. SP_PROJ can perform both forward (from geographic to state plane) and inverse transformations (from state plane to geographic). All US state plane zones are included except for Alaska. Calculations assume the NAD83 datum and GRS1980 spheriod.

Mapping toolbox is required. SP_PROJ creates the map structure for the specified US state plane zone and passes it to either PROJFWD and PROJINV to perform the coordinate transformations.

EXAMPLE

%geographic data
lat = 37.45569;
lon = -122.17009;

% Calculate the x,y, coordinates in survey feet
% in the 'California 1' state plane zone.

[xsp,ysp] = sp_proj('california 1','forward',lon,lat,'sf')

% Re-calculate the geographic coordinates
% also output the map structure as optional 3rd output

[lon1,lat1,mstruct] = sp_proj('california 1','inverse',xsp,ysp,'sf')

引用格式

Andrew Stevens (2024). SP_PROJ (https://www.mathworks.com/matlabcentral/fileexchange/26413-sp_proj), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Analysis 的更多信息
致谢

参考作品: deg2utm

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

fixed output order for inverse calculation

1.0.0.0