[pgrouting-users] shortest_path_shooting_star() causing pgsql segmentation fault

William Kyngesburye woklist at kyngchaos.com
Fri Apr 23 10:37:21 EDT 2010


I started looking at this last August, but got stalled on the pgrouting demo not having a shooting star example.  I tried to get the FOSS4G 2007 examples running with no luck (some browser error with vector drawing).  Then I got distracted by other things.

But, maybe the pgrouting demo data could still work for this?  I don't fully understand the details of the various routing functions, but I don't really need an html file to load, just some SQL I can run.

On Apr 22, 2010, at 10:06 PM, Anton Patrushev wrote:

> Hi Ben,
> 
> Sorry, i don't know much about how it was compliled for Mac OS X, and
> we don't have any Mac here to test.
> But there is one thing I can see - you are using vertex ids in
> Shooting* function where you should use edge ids instead.
> 
> According to your data it should look something like
> select * from shortest_path_shooting_star('SELECT gid as id, source,
> target, length as cost, x1,y1,x2,y2, rule, to_cost from road',198290,
> 198279,false,false);
> 
> Of course it shouldn't crash even in this case. I hope KyngChaos can
> help us here.
> 
> Cheers,
> Anton.
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.postlbs.org
> http://lists.postlbs.org/mailman/listinfo/pgrouting-users

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.





More information about the Pgrouting-users mailing list