Is there a recommended way to calculate the new position of a point in a map when "moving" the point for example 10 kilometers to south ?  Example:  Point = {     lat : 'LATITUDE VALUE',     lng : 'LONGITUDE VALUE' }   Now we want to get the new Position of the Point when the Point is moving like this:  Point_2 = movePoint(Point, 10, 'kilometers', 'south'); // returns lat,lng   Now I am looking for a recommended way to calculate something like this or maybe with a framework like turfjs (I think turfjs is not providing this ?)
22083
I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude.  This appears to be the opposite of this question ().  I have already looked into the haversine formula and think it's approximation of the world is probably close enough.  I am assuming that I need to solve the haversine formula for my unknown lat/long, is this correct? Are there any good websites that talk about this sort of thing? It seems like it would be common, but my googling has only turned up questions similar to the one above.  What I am really looking for is just a formula for this. I'd like to give it a starting lat/lng, a bearing, and a distance (miles or kilometers) and I would like to get out of it a lat/lng pair that represent where one would have ended up had they traveled along that route.
95652
I must make a website with geo-referenced content. And I would like to add POI and the possibility to download this POI for GPX, KML\KMZ (Google Earth), etc.  Any tips or ideas to implement this somehow?  PS: if the above is not clear enough, have a look at  or  (the idea is building a website with such contents).
99045
Here's the problem: A player starts the game in the 0 coordinate (x=0,y=0). When the user clicks on the screen, it returns the coordinates of the destination. Now the player has to move from its current position A(0.0) to B(x,y). Take into account that B is in the first Quadrant so x>0 and y>0.  How will the player move? I know that I will have to use this: atan2(positionY-destinationY, positionX-destinationX) to get the angle.  Now what? How will the player move with a fixed velocity (which by the way will be a variable, so a player may move faster while using some "items")?  Whose answer is better? What is more accurate? Trigonometry or Linear Algebra?
108634
Using PostGIS, I have a table of data with geographic points defined as last_known_coordinates GEOGRAPHY(POINT,4326). I want to find all of these within a geographic bounding box with given top left and bottom right geographic coordinates, and be sure that the calculations are geographic, not geometric, e.g. that the results account for the curvature of the earth. The query I'm using contains the fragment: last_known_coordinates &amp;&amp; ST_MakeEnvelope(?, ?, ?, ?, 4326)::geography As you can tell I'm a bit new to this, and I know what I want, but not necessarily how to do it correctly. Other answers hint that this is correct, but I'd like to know for sure: Will this point data and SQL fragment take into account the curvature of the Earth in the bounding box?
111305
I'm fairly new at calculating distances with precision, but I wanted to know what is the best formula for calculating short distances in UTM coordinates.  The distances that I'am calculating are all less than 30 km and all coordinates lie at Central America.   For instance, the pythagorean distance could cause too much bias?   If not, would it still be a respectable choice either way?   If possible, base your answer on some sort manual or academic paper (and make a reference to it).
110755
I need to transform the example coordinates to a different projection in Openlayers3, the EPSG:32628 to EPSG:3857. I made a function to do it but the result is exactly the same numbers.  function plsHelp(){     var pt = [459123.1209, 3108334.7701];     var scr = new ol.proj.Projection('EPSG:32628');     var dest = new ol.proj.Projection('EPSG:3857');     var test= ol.proj.transform(pt,scr,dest);     console.log(test); }   What is wrong with the function that is preventing the tranformation of the coordinates from EPSG:32628 to EPSG:3857 in Openlayers 3?
3141
This is probably a fairly basic question but I have a long list of latitude and longitude values that represent telemetry points that will be the start point of the line.  Before I convert them to line, I need to add a column for the ending latitude and longitude values of the line.  This will be equal to the lat longs of the next point.  Each point is represented by a column "uniqueID"  This is one example of what I need done but there are several other instances in the database.  The example is shown in excel and is easily calculable with an "=B2" expression in excel but I need a formula for it in ModelBuilder.
18814
I have latitude and longitude as 19.0649070739746 and 73.1308670043945 respectively.   In this case both coordinates are 13 decimal places long, but sometimes I also get coordinates which are 6 decimal places long.   Do fewer decimal points affect accuracy, and what does every digit after the decimal place signify?
63341
I have a point layer that has Lat/long coordinates. How to find the center of a given point layer. For more understanding, I attached a drawing. How is it possible to do this?  I tried to use the tools &quot;Mean center&quot;, &quot;FeatureToPoint&quot;, but they give false results and find exactly not the center, can there be other tools or can you somehow find it using python, I have an attribute table that contains only the lat/long coordinates (-180 :180) (-90: 90). Maybe you can use some formulas?
37255
I have a point layer in ArcGIS that has a field named "Population" that stores an integer value for every point in the layer.  I want to create N points in the exact place of the feature that has N as value in the population "field". I mean, if a point has in the population field 16, I need to create 15 more points in that exact lat long (1+15 so that there are 16 in total) of that point.
82003
Is it possible to 'fly to location' in Leaflet in the same way as  example?
121319
I have coordinates in decimal degrees e.g: point A:Lat,Lng(5.317101667,-2.023303333) and point B:lat,lng(5.317093333,-2.023318333). The altitude in Meters at Point A is 11m and the altitude and Point B is 33m, How can i accurately calculate the distance between these points? Note I know about Haversine, howeve,r these points are close to each other and I want an accurate way to calculate the distance between these two, would finding the distance between the points with d=sqrt(x2-x1)^2+(y2-y1)^2+(Z2-Z1)^2, be accurate? if so what units would the answer be in? I am looking to get the answer in metres.
119294
I'm looking at the coordinate differences between Google Maps and OSM. I'm a noob in the technicality behind GIS.   Having read:       I'm not sure whether is it because of #1 or #2 that causes the difference for the same coordinate that appear few hundred meters on the projected map.   And the differences between the data stored and the projected map when using lat/long.  Thanks!  EDIT  This may be more specific to China and the infamous offset issue.  Looking at the following coordinates: 31.230548,121.470965 for the  Shanghai Art Museum on Google Maps and ditu.   Having entered the same set of coordinate in OSM, it gives me the  is about 400M away in the NW direction.   I don't understand why a physical point in space is different on the projected maps? Is this specific to China?
98580
I am looking for an accurate algorithm or a service to calculate surface area on earth where points are calculated on the basis of GPS Coordinates.  I am using Google Map Api version 3 and are drawing polygons based on recorded coordinates but I don't think the standard ways of calculating area of the polygon will take into account of slopes(hills). Do I need to work on contours for such thing?  Are there any third party services may be ArcGis or some other that takes into account of slopes as well
4201
How do I generate $1000$ points $\left(x, y, z\right)$ and make sure they land on a sphere whose center is $\left(0, 0, 0\right)$ and its diameter is $20$&nbsp;?.  Simply, how do I manipulate a point's coordinates so that the point lies on the sphere's "surface"&nbsp;?.
33662
I've got a random number generator that yields values between 0 and 1, and I'd like to use it to select a random point on the surface of a sphere where all points on the sphere are equally likely.  Selecting the longitude is easy as all lines of longitude are of equal length. x × 360&deg;.  Latitude, on the other hand, requires that 0&deg; (the equator) is twice as likely to be selected than 60&deg;. 90&deg; would have an almost zero chance of being selected.
73375
Using ArcMap 10.1, I edited the coordinates within a shapefile.   They are long/lat but the point will not move to that new coordinate on the map.   I've tried clicking on the Longitude column in the attribute table and 'calculating geometry' but still nothing occurs.