Hot answers tagged

6

There is a JavaScript from Convert between Latitude/Longitude & OS National Grid References which converts between easting/northings to lon/lat, which could be helpful. It is also available in GitHub


5

To get the coordinates of the points you can use these equations: Delta Y = Distance * Cos (Azimuth) Delta X = Distance * Sin (Azimuth) New Y = Y + Delta Y New X = X + Delta X First you'll have to get the coordinates of B using these equations then go from there to C.


4

I'd recommend using something like the proj4 library, which has wrappers in several languages, including JavaScript - Proj4JS. For C#, there's proj4net It has the advantage you can translate between all sorts of projections, not just OSGB. I'm not a great JS developer, but something like this should do the trick to convert OSGB back to WGS84 EDIT oops.. ...


4

Looks like you're trying to add data to the insert cursor one column at a time. Cursors think about the world one row at time. I recommend the following code. A few other notes... Python code runs in order, so make sure you declare your outpath variable before you set your env.workspace to outpath. Also, this code is going to create a shapefile with the ...


3

Your assumption of linear conversion is wrong. In Transverse Mercator, only the central meridian is straight northward, all others are bended. So 11.5 vs 12 degrees makes a difference. Besides Gabon 2010, there is a Gabon 2011 coordinate system, with this proj.4 parameter string: +proj=tmerc +lat_0=0 +lon_0=11.5 +k=0.9996 +x_0=1500000 +y_0=5500000 ...


2

Try with other zone it has no problem, I guess GDAL cannot wrap it outside. gdalwarp -t_srs '+proj=utm +zone=12 +datum=WGS84 +units=m +no_defs' test.tif test_utm1.tif


1

Here is the answer I got back from NOAA. It's in the form of java code, and the order of parameters has to be inferred, but in case it proves useful to someone else here it is: public static final HTDP NAD83 = new HTDP(0.9910, -1.9072, -0.5129, 0, 0, 0, 1.25033e-7, 0.46785e-7, 0.56529e-7, 0.00258e-7, -0.03599e-7, -0.00153e-7, 0, 0, 1997); public static ...



Only top voted, non community-wiki answers of a minimum length are eligible