[Xastir-dev] first cut at geocoder
Owen DeLong
owen at delong.com
Thu Apr 1 17:01:33 EST 2004
Presumably there is an address-range associated with the two lat-long
values,
and, some indication of which side of the street is odd vs. even. We should
probably do something like:
d=dist(lat/long pair)
x=delta(address pair)/2
f=d/x
a=delta(target address - base address)/2
r=fa
Then, point is a point offset to the correct side of the street from a point
along the street r distance from the base-address point towards the end
address point.
(In other words, plot the best guess of the address along the line and
offset
to the correct side of the street).
Owen
--On Wednesday, March 31, 2004 22:37 -0800 Curt Mills <archer at eskimo.com>
wrote:
>
> I seem to remember seeing that the geocoder routine returned a pair
> of lat/long values, for each end of the road segment I assume.
>
> Which one are we using? Should we snag both, average them, and put
> an 'X' in the middle?
>
> Should we draw a wide highlight line between the two points like
> I've seen some software do?
--
If this message was not signed with gpg key 0FE2AA3D, it's probably
a forgery.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://xastir.org/pipermail/xastir-dev/attachments/20040401/19ca9cac/attachment.sig>
More information about the Xastir-dev
mailing list