| Author |
Message |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/03/2007 16:59:49
|
htl
Joined: 08/03/2007 16:31:57
Messages: 2
Offline
|
when i query (reverse geocoding) for a lat /long
i get a record (xml) back, with a house number odd or even.
how can you be sure taht the click on the map was right side or left side of the street ?
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/03/2007 20:39:31
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
We find the nearest segment to the point you have clicked and then we figure out whether it is left or right. The dataset we are using gives us left and right streetnumbers for the start and end point of the segment. We will then interpolate the line number depending on left or right.
Would it help to have access to the information "left" or "right"?
Cheers
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/03/2007 22:02:53
|
htl
Joined: 08/03/2007 16:31:57
Messages: 2
Offline
|
thak you for your reply again,
i dont undestand how do you figure the left or right side,
the sentence : "We will then interpolate the line number depending on left or right"
is not clear,i need to know how the interpolation is done,for my app. i need to verify it form 2 different sources.
if possible please tell me how is it done.
thanx,
htl.
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 12/03/2007 22:28:46
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
A line has a beginning and an end. If you stand at the beginning and look towards the end then you have a left and a right side. The point you click is either left or right.
The interpolation is used to determine the house number since we only have the house numbers of the beginning and of the end of the line (four numbers, two on each end of the line)
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/04/2007 03:49:50
|
codemeit
Joined: 08/04/2007 03:42:44
Messages: 4
Offline
|
Greeting from NZ, Thanks Marc for that info.
Some completchain is like
-----------------/
/
So you find the closest section in that chain and then do interpolation or portion of the left/right address range?
And also If you could shed some light on how to determine
the point is left or right for a given straight line in pgSQL&PostGIS
?
Btw, do you cope with house number which contains Hyphen for avenue?
Thanks for the generous project. Best luck from me for your future development.
G. LU
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/04/2007 06:01:14
|
codemeit
Joined: 08/04/2007 03:42:44
Messages: 4
Offline
|
I've just found azimuth in PostGIS can help on determining location of the point against a line.
Correct me if I am wrong
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 08/04/2007 12:39:56
|
codemeit
Joined: 08/04/2007 03:42:44
Messages: 4
Offline
|
Ow, I forget long lat theirselves are degree. HAha
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 09/04/2007 09:44:40
|
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
|
Hi
We find the closest line segment with postgres and interpolate the address in this segment with java using the JTS Topology Suite for left/right.
Cheers
Marc
|
 |
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 09/04/2007 11:29:48
|
codemeit
Joined: 08/04/2007 03:42:44
Messages: 4
Offline
|
Marc, Thanks for the info!
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 20/09/2009 10:00:35
|
indu
Joined: 20/09/2009 09:50:21
Messages: 2
Offline
|
how to Compute the house number at that point by interpolation between the known house numbers at each end of the road segment.?
Please give the formula ot general steps to do that.
finding house numebr from road segment (left or right) from fromhouse numebr to tohouse number.
is linear interpolation helps?
|
|
|
 |
![[Post New]](/gforum/templates/default/images/icon_minipost_new.gif) 07/10/2009 16:46:12
|
Pradeep_dev
Joined: 07/10/2009 16:35:14
Messages: 1
Offline
|
Hi all..
CAn any one please tell me the procedure to find the unique house number from the given house numbers at each side end.
Thanks alot in advance,
Pradeep
|
|
|
 |
|
|