[Gvsig_usuarios] Network analysis problem

Francisco José Peñarrubia fpenarru en gmail.com
Mie Jun 9 16:48:46 CEST 2010


Hola Hugo.

El problema viene por la cartografía. Los shapes que te descargas no 
tienen una buena topología, y no se puede arreglar solo con el 
geoproceso de gvSIG "clean Layer". Tendrás que asegurarte que la 
conectividad es perfecta antes de trabajar con esos shapes.

Otra opción sería preparar la cartografía para pgRouting, y luego 
exportarla a shape.

Saludos.

Fran.

Hugo escribió:
> Hola,
>
> Soy português pero mi espagnol es muy raro. Por esto, coloco mi 
> pergunta en inglês. Las respuestas pueden venir en espagnol.
>
> I'm trying to make network analysis using openstreetmap data. I've 
> downloaded shapefile from CloudMade and processed it in order to 
> compute time costs and to normalize road type configuration according 
> to my needs. I've made a "clean layer topology first" and after 
> generated a network topology with some fuzzy tolerance. After that i 
> was able to calculate a simple route between two stops without problem.
>
> Picture 1.png
>
>
> After that i want to calculate another route between two stops that 
> will not cross the previous route. Obviously i had to add barriers.
>
> Picture 3.png
>
>
> The thing is, that the network is not giving me the shortest path. At 
> least i think, the shortest path would be something like (i+m sure 
> that all roads that fall within the blue line are connected):
>
> Picture.png
>
>
> When i add several more barriers to control this situation, bigger 
> paths are calculated. If i keep adding barriers to avoid these routes 
> then i come to a situation where gvSig says it is impossible to 
> calculate the route.
>
> Picture 5.png
>
> How can i fix this? Do you have any suggestions??
> Thanks in advance!
> Cheers,
> Hugo
>
>
> -- 
> Hugo Martins
> FMV-UTL
> CIISA-Epidemiologia e Saúde Pública Veterinária
> Av. da Universidade Técnica
> 1300-477 Lisboa
> N 38°42'49.54", W 9°11'43.42"
> ------------------------------------------------------------------------
>
> _______________________________________________
> gvSIG_usuarios mailing list
> gvSIG_usuarios en listserv.gva.es
>
> Para ver histórico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente dirección:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios
>   



Más información sobre la lista de distribución gvSIG_usuarios