[GraphHopper] R: Re: Problem with config-properties

marcosi66 at virgilio.it marcosi66 at virgilio.it
Wed Feb 12 09:59:26 UTC 2014


Thank you everybody,
 I have solved,  I changed  the config proprierties and deleted the previous graph and rebuild all, then there isn't the problem.
Thank you everybody




----Messaggio originale----

Da: ratrun at gmx.at

Data: 12-feb-2014 9.15

A: "GraphHopper Java routing engine"<graphhopper at openstreetmap.org>

Ogg: Re: [GraphHopper] Problem with config-properties




  
  
    Hi,

    

    I assume you are using version 0.2. This problem should be already
    fixed in version 0.3-SNAPSHOT on git.

    

    regards,

    

    ratrun

    

    

    Am 11.02.2014 20:22, schrieb Peter K:

    
    
      
      You either need to append
        vehicle=foot to the URL (if the query had the wrong vehicle) or
        recreate the graph (if the import was done only via car).

        

        If it is the first problem I think we should fix this (although
        I though it was already fixed) - please open an issue for it.
        Just a small tweak somewhere in the javascript.

        

        Regards,

        Peter.

        

      
       Hello everybody, I download the grapphopper project
        on my Ubuntu pc at this link: 

        download graphhopper

        

        I follow the  wiki page but on the point 5
        I do this command on my shell (I am already in the grapphopper
        directory): 

        

        ./graphhopper.sh web europe_italy.pbf 

        

        And then i go to the my
          local host, until this point I have no problem, I can see
        the map and calculate route but if I modify the config example properties osmreader.acceptWay=CAR

        to osmreader.acceptWat=FOOT on my local host there is an error:
        

        

        HTTP ERROR: 503 

          

          Problem accessing /. Reason: 

          

              Service Unavailable 

          

          Powered by Jetty://

        

        

        If I change
        graphhopper/web/src/main/java/com/graphhopper/http/GraphHopperServlet.java

        

        String vehicleStr = getParam(req, "vehicle",
          "CAR").toUpperCase();    to String vehicleStr = getParam(req,
          "vehicle", "FOOT").toUpperCase(); too, on the local host i
        don't see anything a part of the buttom, if I only change the String


          vehicleStr = getParam(req, "vehicle", "CAR").toUpperCase();  
           to String vehicleStr = getParam(req, "vehicle",
          "FOOT").toUpperCase(); and not the config example
        (otherwise I don't change osmreader.acceptWay=CAR), and I go to
        localhost I can see the map but if I want to calculate route
        there is an error : 

        

        Vehicle not supported: FOOT

        

        Why? What I have to do to modify this accept Way? 

        

        

        

        

        
        

        _______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
https://lists.openstreetmap.org/listinfo/graphhopper

      
      

      

      
      

      _______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
https://lists.openstreetmap.org/listinfo/graphhopper

    
    

  





   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140212/10145002/attachment.html>


More information about the GraphHopper mailing list