Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
minus34 committed May 7, 2015
1 parent 0f8c7a4 commit 4df72b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parallel-pgrouting/prep-nsw-bts-data-travel-zones.sql
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ COMMIT;
-- INSERT INTO tz_nsw_2011_origin_routes
-- SELECT * FROM tz_routes('SELECT * FROM tz_nsw_2011_vehicles LIMIT 600');

-- Create routes using parallel processing
-- Create routes using parallel processing (only support inserts)
SELECT parsel('tz_nsw_2011_vehicles' -- table to parallel process
,'gid' -- bdy id field (must be an integer)
,'gid' -- id field of table to parallel process (must be an integer)
,'SELECT * FROM tz_routes(''SELECT * FROM tz_nsw_2011_vehicles AS fred'')' -- the query to insert
,'tz_nsw_2011_origin_routes' -- table (and fields) to insert the results into
,'fred' -- table to parallel process aliasname
Expand Down

0 comments on commit 4df72b5

Please sign in to comment.