Timeline for Get the LatLon of middle points of a road segment?
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 20, 2014 at 23:38 | history | edited | whuber |
edited tags
|
|
Jun 5, 2012 at 22:30 | answer | added | Mike T | timeline score: 1 | |
Jun 5, 2012 at 17:09 | comment | added | whuber | @Boyle, did you notice that the question specifies "the two endpoints" as well as the distance? In other words, given a simple (nonbranching) polyline (with a starting point marked) and a distance, return the point arrived at by moving that distance along the polyline starting at its marked endpoint. | |
Jun 5, 2012 at 15:41 | comment | added | Boyle300 | I am pretty certain that you need more than the distance to an endpoint and its coordinates. You need to know both endpoints in order to calculate a point between them or a distance and direction. | |
Jun 5, 2012 at 14:58 | history | edited | whuber |
edited tags
|
|
Jun 5, 2012 at 14:57 | comment | added | whuber | There are many algorithms: some will be good for certain uses and others for other uses. In some sense all are splines or interpolating functions, as @Kirk hints. | |
Jun 5, 2012 at 14:48 | comment | added | sma | @whuber I wonder if there is a general algorithm for this sort of calculation if parameterize the factions you mention | |
Jun 4, 2012 at 21:26 | comment | added | Kirk Kuykendall | Would interpolate be more descriptive than find middle points? | |
Jun 4, 2012 at 20:56 | comment | added | whuber | Because you want to implement this yourself, you need to be more specific about the use cases. Is this a one-off calculation, or do you anticipate re-using the same segment for many such calculations? How far apart might the endpoints be (just a few kilometers or potentially thousands of kilometers)? How accurate does the solution need to be? How do you intend to specify the input (designating the relevant segment endpoint is slightly problematic for many GISes)? What is the relevance (if any) of having the "small number of middle points" available? | |
Jun 4, 2012 at 19:09 | answer | added | artwork21 | timeline score: 1 | |
Jun 4, 2012 at 13:56 | comment | added | sma | i am not using any. i ask this question because I want to implement this function by myself. | |
Jun 4, 2012 at 11:27 | comment | added | artwork21 | What GIS software product are you using? | |
Jun 4, 2012 at 6:29 | history | edited | urcm | CC BY-SA 3.0 |
improved formatting
|
Jun 3, 2012 at 20:16 | answer | added | BBG_GIS | timeline score: 0 | |
Jun 3, 2012 at 20:14 | history | tweeted | twitter.com/#!/StackGIS/status/209377658272874496 | ||
Jun 3, 2012 at 14:18 | history | asked | sma | CC BY-SA 3.0 |