[pgrouting-users] pgrouting installation

Daniel Kastl daniel at georepublic.de
Tue Sep 13 15:04:42 EDT 2011


On Tue, Sep 13, 2011 at 8:41 AM, Ali Taha <ali.taha at ritaj.ps> wrote:

> Hi Carles ****
>
> ** **
>
> Well I guess I am in trouble now J, It seems the data is not ready for
> routing. ****
>
> The paths are not continues because the lines are not breaked at each
> intersection.
>

Hi Ali,

If your roads would not be connected at intersections, assign_vertex_id
function can help you to snap them.
But there is no function in pgRouting to split them.

You might be able to use PostGIS functions for doing this, but it might
happen that you split lines, where it shouldn't be.

Daniel





> ****
>
> ** **
>
> Is there a tool (or plugin for QGIS) to clean the data by splitting lines
> at each intersection?****
>
> ** **
>
> ** **
>
> Thanks****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* pgrouting-users-bounces at lists.osgeo.org [mailto:
> pgrouting-users-bounces at lists.osgeo.org] *On Behalf Of *Charles Galpin
> *Sent:* Tuesday, September 13, 2011 5:15 PM
>
> *To:* pgRouting users mailing list
> *Subject:* Re: [pgrouting-users] pgrouting installation****
>
> ** **
>
> Without seeing the headers it's hard to tell is this is ok. I guess it
> confirms the start/end points are there anyway.****
>
> ** **
>
> I can only suggest you manually find a few links that you know are
> connected and try route that and see what happens. So start with your link
> with source 24154 and get the next link with a source that matches the
> first link target and so on for a few links and then choose the last target
> as the end point. Does that work?****
>
> ** **
>
> charles****
>
> ** **
>
> On Sep 13, 2011, at 9:10 AM, Ali Taha wrote:****
>
>
>
> ****
>
> Hi Charles,****
>
> I got the following result (note that I am using my own ways data):****
>
> ** **
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
>


-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20110913/3bbaaa85/attachment.html


More information about the Pgrouting-users mailing list