Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on get street numbers of crossing lines within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I want to draw a line or polyline within a map and figure out the street numbers where this line ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| get street numbers of crossing lines |
| |||
|
Hi, Looks easy. You know starting point and end point. Find addrss restults every 10 meter on the line. Streets are normlly wider so this resolution must go.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| linestep
... every 10 meter on the line... thank you for suggestion, - something like this was on my mind, but it failed by this point. I've got the start and end as geographical coordinates and don't know how to go along this line... regards martin |
| |||
|
Hi, See following drawing: Code: B
/ |
/ |
/ |
/ |
c / | a
/ |
/ |
/ |
/_________________|
A b C
Code: c := Sqrt(Power(a, 2) + Power(b, 2)); Code: A := ArcSin(a / c); Code: a := Sin(A) * c_step; b := Cos(A) * c_step; Note that this is from the top of my head and I could mistake here and there. I also did not check these (Delphi) functions for degree or radians because you could have it idfferent in your programming language. I also think we have to correct longitude for the latitude because this only count on the equator. Someone has a better view on this ? When I have some spare time I want to check, but difficult at the moment. I hope this let you in the right direction
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Thank you very much, - of course it's a simple math function. I was thinking about formulas for eliptical bodys an so and had forgotten that I can neglect that for the short of the distance. Sometimes there are knots in my head. regards martin |
| |||
|
Hi, Sometime a solution is very simple. Ofthen we think too complicatied I'm glad it helped.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| crossing, lines, numbers, street |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Positions of House Numbers | Winwaed | MapPoint 2006/2009 Discussion | 1 | 05-12-2005 12:42 PM |
| Highway numbers | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-23-2004 10:09 PM |
| How to find the next crossing street on a route | dzhong | MapPoint 2006/2009 Discussion | 1 | 03-05-2003 05:20 PM |
| Address Numbers | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-31-2003 10:44 AM |
| hi, i want to be able to put numbers in the plott.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-27-2002 08:45 AM |
Majorca Holiday
Enjoy a Majorca holiday at a good price when you check out the offers on UlookUbook for this popular destination!