Boas Parece que ja esta tudo ok, o grafico tinha alguns problemas que foram resolvidos com o v.clean em GRASS. Isto e' o que da fazer coisas a unha !!! Afinal o v.net.path estava a fazer os calculos correctos
Jorge On 19/08/11 10:22, Jorge de Jesus wrote: > Ola > > Bem parece que o exemplo com o v.net.path > (http://rsg.pml.ac.uk/wps/example/index.html) nao e' o mais correcto :) > se meterem o carro em madrid e a bandeira abaixo de Santa Maria, a rota > mais curta vai por Vigo !!! > > ScreenShot: http://derp.co.uk/6de36 > > Parece que o v.net.path escolhe o tramo inicial mais curto apesar da > rota total ser a mais longa. > > Eu mandei uma pergunta para o mailing list to GRASS, provavelmente estou > a fazer algum erro obvio !!! Ou entao a TomTom andou a sabotar o > algoritmo v.net.path para evitar concorrencia ^_^ > > Jorge > > > On 19/08/11 10:12, Giovanni Manghi wrote: >>> -------- Messaggio originale -------- >>> Oggetto: [Pywps-devel] WPS + OpenLayers example >>> Data: Thu, 18 Aug 2011 14:06:27 +0100 >>> Mittente: Jorge de Jesus <[email protected]> >>> A: <[email protected]> >>> >>> >>> >>> Hi to all :) >>> >>> I've made an example using PyWPS+OpenLayers+WPS-GRASS-Bridge, basically >>> openlayers uses the PyWPS plugin and calls a WPS that serves the GRASS >>> module v.net.path. >>> >>> http://rsg.pml.ac.uk/wps/example/index.html >>> >>> >>> The WPS will output the shortest path between 2 points in a graph, and >>> the result gets integrated into openlayers. My object was to have a >>> complete example on how to work with WPS, javascript code is not minifed >>> and it's full of comments. >>> >>> Unfortunately the production virtual machine is extremely slow :( >>> (beggers can't be choosers...), it takes more or less 5 seconds to get a >>> result back >>> >>> Jorge >>> >>> >>> -------------------------------------------------------------------------------- >>> Plymouth Marine Laboratory >>> >>> Registered Office: >>> Prospect Place >>> The Hoe >>> Plymouth PL1 3DH >>> >>> Website: www.pml.ac.uk >>> Click here for PML Annual Review >>> Registered Charity No. 1091222 >>> PML is a company limited by guarantee >>> registered in England & Wales >>> company number 4178503 >>> >>> Please think before you print >>> >>> -------------------------------------------------------------------------------- >>> This e-mail, its content and any file attachments are confidential. >>> >>> If you have received this e-mail in error please do not copy, disclose it >>> to any >>> third party or use the contents or attachments in any way. Please notify >>> the sender >>> by replying to this e-mail or e-mail [email protected] and then delete the >>> email >>> without making any copies or using it in any other way. >>> >>> The content of this message may contain personal views which are not the >>> views of >>> Plymouth Marine Laboratory unless specifically stated. >>> >>> You are reminded that e-mail communications are not secure and may contain >>> viruses. >>> Plymouth Marine Laboratory accepts no liability for any loss or damage >>> which may be >>> caused by viruses. >>> -------------------------------------------------------------------------------- >>> _______________________________________________ >>> Pywps-devel mailing list >>> [email protected] >>> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel >> _______________________________________________ >> Portugal mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/portugal > > -------------------------------------------------------------------------------- > Plymouth Marine Laboratory > > Registered Office: > Prospect Place > The Hoe > Plymouth PL1 3DH > > Website: www.pml.ac.uk > Click here for PML Annual Review > Registered Charity No. 1091222 > PML is a company limited by guarantee > registered in England & Wales > company number 4178503 > > Please think before you print > > -------------------------------------------------------------------------------- > This e-mail, its content and any file attachments are confidential. > > If you have received this e-mail in error please do not copy, disclose it to > any third party or use the contents or attachments in any way. Please notify > the sender by replying to this e-mail or e-mail [email protected] and then > delete the email without making any copies or using it in any other way. > > The content of this message may contain personal views which are not the > views of Plymouth Marine Laboratory unless specifically stated. > > You are reminded that e-mail communications are not secure and may contain > viruses. Plymouth Marine Laboratory accepts no liability for any loss or > damage which may be caused by viruses. > -------------------------------------------------------------------------------- > _______________________________________________ > Portugal mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/portugal -------------------------------------------------------------------------------- Plymouth Marine Laboratory Registered Office: Prospect Place The Hoe Plymouth PL1 3DH Website: www.pml.ac.uk Click here for PML Annual Review Registered Charity No. 1091222 PML is a company limited by guarantee registered in England & Wales company number 4178503 Please think before you print -------------------------------------------------------------------------------- This e-mail, its content and any file attachments are confidential. If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail [email protected] and then delete the email without making any copies or using it in any other way. The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated. You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses. -------------------------------------------------------------------------------- _______________________________________________ Portugal mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/portugal
