相关疑难解决方法(0)

Proj.4 Java-将坐标从WGS84转换为EPSG4141吗?

我正在使用可以在此处找到的Proj.4 Java库, 而且我不确定如何在Proj.4JS中实现如下代码:

// include the library
<script src="lib/proj4js-combined.js"></script>  //adjust the path for your server
                                                 //or else use the compressed version
// creating source and destination Proj4js objects
// once initialized, these may be re-used as often as needed
var source = new Proj4js.Proj('EPSG:4326');    //source coordinates will be in Longitude/Latitude, WGS84
var dest = new Proj4js.Proj('EPSG:4141');     //destination coordinates in meters, global spherical mercators projection, see http://spatialreference.org/ref/epsg/3785/


// transforming point coordinates
var p = new Proj4js.Point(-76.0,45.0);   //any object will …
Run Code Online (Sandbox Code Playgroud)

java proj

2
推荐指数
1
解决办法
2494
查看次数

标签 统计

java ×1

proj ×1