[GraphHopper] Error while Building a graph using pakistan-latest.osm

Awais Bin Asif 09bicsebasif at seecs.edu.pk
Sun Apr 21 06:58:46 UTC 2013


I have checked the JAVA path it is fine. No space there. i did'nt
understand error message

C:\Users\Awais\graphhopper\run.sh: line 124: C:\Program: No such file or
directory


On Sun, Apr 21, 2013 at 11:11 AM, Jaak Laineste (Nutiteq)
<jaak at nutiteq.com>wrote:

>
> Looking to the error message I think the problem is that your Java path
> has space in it. I dont have windows to test, but maybe changing of last
> line to this would help:
>
> "$JAVA" $JAVA_OPTS -cp $JAR $CLASS config=config.properties
> osmreader.graph-location=$GRAPH osmreader.osm=$OSM osmreader.size=$SIZE
> osmreader.algo=$ALGO
>
> Jaak
>
> On 21.04.2013, at 7:33, Awais Bin Asif wrote:
>
> And by the way i am using windows 8 and i have tried it in windows 7 as
> well. Is graphhopper works on Windows..
>
>
> On Sun, Apr 21, 2013 at 9:31 AM, Awais Bin Asif <09bicsebasif at seecs.edu.pk
> > wrote:
>
>> Yes the file "pakistan-latest.osm" exist in same directory and it is
>> unpacked. without unpacking i gives error : pakistan-latest.osm does not
>> exist.
>>
>>
>> On Sun, Apr 21, 2013 at 2:45 AM, Quinton Anderson <quintona at gmail.com>wrote:
>>
>>> Does the file "pakistan-latest.osm" exist in the same directory as
>>> where you are running the command from?
>>>
>>> You may need to unpack the file using bunzip2, then run the command.
>>>
>>> On 21 Apr 2013, at 1:23 AM, Awais Bin Asif wrote:
>>>
>>>
>>> i tried to build graph using pakistan-latest.osm downloaded from
>>> http://download.geofabrik.de/asia/pakistan-latest.osm.bz2 i have
>>> installed maven. but i got error
>>>
>>> C:\Users\Awais\graphhopper>run.sh pakistan-latest.osm ui
>>> Welcome to Git (version 1.8.1.2-preview20130201)
>>>
>>> Run 'git help git' to display the help index.
>>> Run 'git help ' to display help for specific commands.
>>> using java from C:\Program Files\Java\jdk1.7.0 using existing osm file
>>> pakistan-latest.osm existing jar found
>>> target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar now running
>>> com.graphhopper.ui.MiniGraphUI. algo=ui. JAVA_OPTS=-XX:PermSize=3
>>>
>>> 0m -XX:MaxPermSize=30m -Xmx1000m -Xms1000m
>>> C:\Users\Awais\graphhopper\run.sh: line 124: C:\Program: No such file or
>>> directo
>>> ry
>>>
>>> kindly help me how can i fix this.
>>> _______________________________________________
>>> GraphHopper mailing list
>>> GraphHopper at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>>
>>>
>>> _______________________________________________
>>> GraphHopper mailing list
>>> GraphHopper at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>>
>>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130421/02359121/attachment-0001.html>


More information about the GraphHopper mailing list