Shenzhen Tourism

Ask a Question

A Useful Links

Documentation

Find Technical Support

GIS地图

Java

Microsoft

Paper

Recommended Reading

US UK RU

Web

如何得到mapinfo地图中某点的经纬度?

现在有一个mapinfo地图,请问是不是可以直接得到其中某点的经纬度?
经纬度是不是已经存在地图信息中了?

 

不清楚MapInfo 给你一段我用的GIS的代码 看看有没参考价值
VectorLayer layer = DMapControl.Layers["旱情站点"] as VectorLayer;
            ShapeFile sf = layer.DataSource as ShapeFile;
            int stationCount = sf.GetFeatureCount();
            for (int i = 0; i < stationCount; i++)
            {
                Geometry geo = sf.GetGeometry(i);
                DMap.Geometries.Point p = geo as DMap.Geometries.Point;
p.x p.y 就是经纬度

posted on 2008-04-28 14:38 kaixin110 阅读(140) 评论(0)  编辑 收藏 所属分类: GPS,GIS,RS,WebGIS