Tag Info

Hot answers tagged

2

I cannot help you explain why the extra digits are truncated. Instead I suggest they do not matter; a decimal co-ordinate with 6 digits is accurate to <0.1m. See this answer: http://gis.stackexchange.com/a/8674/24270 or the wikipedia article: http://en.wikipedia.org/wiki/Decimal_degrees


2

You can use the Feature Vertices to Points tool with BOTH_ENDs option checked, on your lines, that will give you start/end points of the lines. Then Add XY Coordinates to populate the resultant points with Lat / Long values. Another way to go about your workflow.


2

Did you take a look at any those lines to see what might be going on? Their start and end points may actually be in the same place, if they were drawn incorrectly. Select one of them and zoom to it. If it shows up as a point, that's why the XY coordinates of the start and end points are the same. Depending on the coordinate system you're using, it's also ...


1

I will calculate the intersection of two paths, one starting at Point A using the bearing from Point A to Point B, and the other path starting at 89.99999N, 179.99999E bearing 180 degrees. That will give me the approximate point on the 180.


1

Of course you can. You must translate your string to an array of coordinates readable by your map. Something like that: var polyCoords = []; var coords = "95.61,38.60 95.22,37.98 95.60,37.66 94.97,37.65".split(' '); for (var i in coords) { var c = coords[i].split(','); polyCoords.push(ol.proj.transform([parseFloat(c[0]), parseFloat(c[1])], ...



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