postgresql - SELECT pgr_nodeNetwork query fails -
i working on windows, , have enabled extension postgis, pgrouting on database. have postgresql 9.4 installed , using data boundless workshop (http://workshops.boundlessgeo.com/tutorial-routing/).
select pgr_nodenetwork('edges',0.001,'geom','gid','noded')
when run query, runs 1minute , after time results in fail
. how can solve issue? pgr_createtopology query has been run.
notice: processing: notice: pgr_nodenetwork('edges',0.001,'geom','gid','noded') notice: performing checks, pelase wait ..... notice: processing, pelase wait ..... error: line_locate_point: 1st arg isnt line context: sql statement "create temp table inter_loc on commit drop ( select * ( (select l1id, l2id, st_linelocatepoint(line,source) locus intergeom) union (select l1id, l2id, st_linelocatepoint(line,target) locus intergeom)) foo locus<>0 , locus<>1)" pl/pgsql function pgr_nodenetwork(text,double precision,text,text,text) line 184 @ execute statement ********** error ********** error: line_locate_point: 1st arg isnt line sql state: xx000 context: sql statement "create temp table inter_loc on commit drop ( select * ( (select l1id, l2id, st_linelocatepoint(line,source) locus intergeom) union (select l1id, l2id, st_linelocatepoint(line,target) locus intergeom)) foo locus<>0 , locus<>1)" pl/pgsql function pgr_nodenetwork(text,double precision,text,text,text) line 184 @ execute statement
Comments
Post a Comment