pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

yancho private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Yancho on Mon 26 Nov 16:52
report spam | download | new post

  1. ASTAR_SP_DELTA
  2.   SELECT gid, AsText(the_geom)
  3.         FROM astar_sp_delta(
  4.              'streets',
  5.              (SELECT give_source('POINT(640905 225230)',1000,200)),
  6.              (SELECT give_target('POINT(640982 225439)',1000,200)),
  7.              3000
  8.              );
  9.  
  10. First Row of Result :
  11. 40617;"MULTILINESTRING((640920.707155369 225441.381903503,640919.710413482 225419.024734874,640904.400352 225231.230885577))"
  12.  
  13.  
  14.  
  15.  SHOOTINGSTAR_SP
  16. SELECT gid, AsText(the_geom)
  17.         FROM shootingstar_sp
  18.         ('streets',
  19.         (SELECT give_source('POINT(640905 225230)',1000,200)),
  20.         (SELECT give_target('POINT(640982 225439)',1000,200)),
  21.         5000,
  22.         'length',
  23.         true,
  24.         true
  25.         );
  26.  
  27. First Row of Result :
  28. 791;"MULTILINESTRING((629357.137492173 222486.61416491,629357.137492172 222526.524103276))"

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me