Changes between Version 1 and Version 2 of UsersWikiExamplesInterpolateWithOffset
- Timestamp:
- 10/26/09 17:38:32 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiExamplesInterpolateWithOffset
v1 v2 6 6 select 7 7 st_line_interpolate_point(te.the_geom, 8 ((12 710- fromhn::float) / (tohn::float - fromhn::float)),8 ((12345 - fromhn::float) / (tohn::float - fromhn::float)), 9 9 case when side = 'R' then .0001 else -.0001 end 10 10 ), 11 ' 12710 3rd St, 92399'11 'A house' 12 12 from tl_edges te 13 13 join tl_addr ta on te.tlid = ta.tlid 14 where fullname = ' 3rd St' and 12710 between fromhn::int and tohn::int and zip = '92399'15 and (12 710% 2) = (fromhn::int % 2)14 where fullname = 'Main St' and 12345 between fromhn::int and tohn::int and zip = '92333' 15 and (12345 % 2) = (fromhn::int % 2) 16 16 and fromhn::int < tohn::int; 17 17 }}}