Get Geometric Location and Other Information

版本 1.0.0.0 (83.0 KB) 作者: Semin Ibisevic
Tracks down your geometric coordinates and other information on the base of the IP address
1.0K 次下载
更新时间 2012/4/13

查看许可证

The function 'getGeoInformation' retrieves your geometric information (such as latitude and longitude), by automatically tracking down your computer's IP. Additionally you can input a different IP address.

For example

geo = getGeoInformation

returns:

IP: '151.58.40.49'
country: 'Italy'
region: 'Lazio'
city: 'Rome'
usZIPCode: []
usAreaCode: []
usMetroCode: []
lat: '41.9000'
long: '12.4833'
isp: 'IUnet'
organization: 'IUnet'

I included also some examples of functions that use geometric coordinates. For instance, you can determine the current weather (see Sagar Aiya) or the position of the sun (see Vincent Roy).

引用格式

Semin Ibisevic (2024). Get Geometric Location and Other Information (https://www.mathworks.com/matlabcentral/fileexchange/36173-get-geometric-location-and-other-information), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Coordinate Reference Systems 的更多信息

Community Treasure Hunt

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

Start Hunting!

MATLAB - Get Geometric Location and Other Information/

MATLAB - Get Geometric Location and Other Information/Functions that use Geo Location/

版本 已发布 发行说明
1.0.0.0