<br><font size=2 face="sans-serif">Jong, I was also just thinking that
if you use LRS to locate your point in the first place, can't you take
the attribute (i.e. parent road name) and store that with the point data.
 Then if you looking for all the points on that road you can use regular
tabular queries instead of spatial queries.   Does that make sense?</font>
<br>
<br><font size=2><tt>postgis-users-bounces@postgis.refractions.net wrote
on 02/20/2004 09:00:51 AM:<br>
<br>
> > I agree with you opinion. However, the bridge data (point shape
file) is<br>
> > created based on the highway data.  The highway data has
LRS (linear<br>
> > referencing system) to locate the point (or event) on the highway.
 The<br>
> > bridge data is created via LRS.  Therefore, it should be
exactly on the<br>
> > highway.  But, I am not sure. I can't trust ESRI product
100 %.  If I<br>
> > assume that ESRI product makes the right bridge data on the highway,<br>
> > the precision of the coordinates might be changed when I converted<br>
> > shapefile to PostGIS db table.  Still I suspect the ESRI
product, too.<br>
> <br>
> Just because you used an LRS to generate the points doesn't mean <br>
> that they will <br>
> necessarily be located exactly on the line, in a strict mathematicalsense.
It <br>
> may not be possible to describe the location on the line exactly <br>
> using a given  <br>
> number system (whether it's binary or decimal doesn't matter). For
example, <br>
> what if you want to describe the position that is 1/3 of the way <br>
> along the line <br>
> from 0,0 to 1,2 - you cannot describe this exactly with decimal <br>
> numbers, in any <br>
> given precision. So the point that you get will be at, say 0.333333,<br>
> 0.666667 - <br>
> which is not, in a strict mathematical sense, on the line. It is very
close, <br>
> and I suspect that Arcview is realizing that it is very close (as
close as <br>
> possible with the numerical precision available) and accepting it
as<br>
> exactly on <br>
> the line.  Whereas, I would expect GEOS to up and tell you that
no, it is not <br>
> on the line.<br>
> <br>
> I could be completely wrong here... but this is my suspicion. <br>
> Anyways, AFAIK it <br>
> is best to ensure that there is an actual node in your linestring
(highway) <br>
> located at the exact same location as the point feature (bridge) in
order to <br>
> ensure that they are and will reamin touching.<br>
> <br>
> Chris<br>
> <br>
> _______________________________________________<br>
> postgis-users mailing list<br>
> postgis-users@postgis.refractions.net<br>
> http://postgis.refractions.net/mailman/listinfo/postgis-users<br>
</tt></font>