No need for a buffer.  The paths follow the street segments exactly.
I will try to adopt your suggestion.
Dick

Richard Block
Department of Sociology
Loyola University
6525 N Sheridan Rd.
Chicago IL 60626

Telephone 773 508 3454
FAX 773 508 7099
email [EMAIL PROTECTED]

>>> "Uffe Kousgaard" <[EMAIL PROTECTED]> 01/16/04 10:42AM >>>
If your paths follow the street map close enough, you should create a
small buffer around each street segment and count the number of paths
crossing through the buffer.

Something along these lines should do (un-tested):

Select streettable.ID, count(*)
from streettable, pathtable
where pathtable.obj partly within Buffer(streettable.obj, 20, 0.02,
"mi")
group by streettable.ID


Kind regards

Uffe Kousgaard
www.routeware.dk 


----- Original Message ----- 
From: "Richard Block" <[EMAIL PROTECTED]>
To: ">" < <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 5:29 PM
Subject: MI-L Travel Paths


I am working on the new journey to crime module in Crimestat.  I would
like to count the number of offenders that travel along each street line
segment from home to incident.  I have the base Chicago street map and a
layer of travel paths.  The paths goes from node to node along the
street grid and  includes frequency of trips, but each street segment is
not identified along the path.  Each path is an object.   I would like
to sum the trips for each street segment.
I tried several within or contains query.  None seemed to work.

Any ideas?

Thanks




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Message number: 9956


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
Message number: 9958



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9959

Reply via email to