epsg

Converting coordinates from EPSG 3857 to 4326 DotSpatial

末鹿安然 提交于 2019-12-10 10:05:08
问题 I have in my DB a list of coordinates in EPSG 3857 format. I need to convert them in EPSG 4326 I'm trying to use DotSpatial but my code always retun a double array of Infinity. public double[] ConvertCoodinates() { double[] xy = new double[2]; xy[0] = 5085240.8300000000; xy[1] = 1530088.9600000000; //An array for the z coordinate double[] z = new double[1]; z[0] = 0; ProjectionInfo pStart = KnownCoordinateSystems.Geographic.World.WGS1984; pStart.AuthorityCode = 3857; ProjectionInfo pEnd =

Reproject Raster Image from equirectagular to latlon using R

血红的双手。 提交于 2019-12-08 08:17:23
问题 Hi i been trying to reproject a raster image from Equirectangular to EPSG:4326 (Latlon), the issue is that every time i run my code on R, i get the wrong coordinates on the new image; i don´t know where is the error in the code, also i do the same process with Qgis, and i got the same result, it´s strange, i got the opportunity to do the same reprojection process in ENVI, and the result was succesful, help please!!! a <- raster("C:/Users/<username>/Documents/imageexample.tif") > a class :

OSM: convert ties from projected coordinates in spherical mercator “EPSG:900913” to “EPSG:4326” coordinates

萝らか妹 提交于 2019-12-06 06:56:12
问题 I'm using a map with a layer (from the example): var lonLat = new OpenLayers.LonLat(40.4088576, -86.8576718) .transform( new OpenLayers.Projection("EPSG:4326"), // transform from WGS 1984 map.getProjectionObject() // to Spherical Mercator Projection ); on moveend i'm get center coordinates: map.getCenter(); map.getZoom(); and zoom level: 4925535.4503328, -9668990.0134335, 12 Using algorithm from documentation public PointF TileToWorldPos(double tile_x, double tile_y, int zoom) { PointF p =

OSM: convert ties from projected coordinates in spherical mercator “EPSG:900913” to “EPSG:4326” coordinates

本秂侑毒 提交于 2019-12-04 15:05:05
I'm using a map with a layer (from the example): var lonLat = new OpenLayers.LonLat(40.4088576, -86.8576718) .transform( new OpenLayers.Projection("EPSG:4326"), // transform from WGS 1984 map.getProjectionObject() // to Spherical Mercator Projection ); on moveend i'm get center coordinates: map.getCenter(); map.getZoom(); and zoom level: 4925535.4503328, -9668990.0134335, 12 Using algorithm from documentation public PointF TileToWorldPos(double tile_x, double tile_y, int zoom) { PointF p = new Point(); double n = Math.PI - ((2.0 * Math.PI * tile_y) / Math.Pow(2.0, zoom)); p.X = (float)((tile_x

Proj4Leaflet transform from 4326 to 3857 in Leaflet

被刻印的时光 ゝ 提交于 2019-12-02 14:05:00
问题 I am working on Leaflet from last week and this issue is killing me. The database returns coordinates to create a Leaflet marker (working with default Map.CRS EPSG3857), so I decide to transform the dataBase coordinates 4326 to 3857 with proj4js: var iarCoordinate = [-76.495207812, 3.429960207], obSource = new proj4.Proj('EPSG:4326'), obDest = new proj4.Proj('EPSG:3857'), obResult = new proj4.Point(iarCoordinate); proj4.transform(obSource, obDest, obResult); //obResult = [-8515407.581757482,