[GraphHopper] Error while Building a graph using pakistan-latest.osm
Peter K
peathal at yahoo.de
Mon Apr 22 09:20:50 UTC 2013
pushed a minor fix for it ...
https://github.com/graphhopper/graphhopper/commit/fef9f177ddd7c5a2f42e138ec98c3bf7923384ee
> Hi,
>
> as Jaak pointed out this problem could be related to the space in your
> JAVA path. Try the fix Jaak suggested and let us know!
>
> graphhopper itself should run on windows as I tried it some days ago ;)
> https://github.com/graphhopper/graphhopper/issues/33
>
> But I'm really interested if it works for win7+8 too!
>
> Peter.
>
>
>> 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 <mailto: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 <mailto: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 <mailto: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
>>>> <mailto:GraphHopper at openstreetmap.org>
>>>> http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>>
>>> _______________________________________________
>>> GraphHopper mailing list
>>> GraphHopper at openstreetmap.org
>>> <mailto:GraphHopper at openstreetmap.org>
>>> http://lists.openstreetmap.org/listinfo/graphhopper
>>>
>>>
>>>
>>> _______________________________________________
>>> GraphHopper mailing list
>>> GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>>> http://lists.openstreetmap.org/listinfo/graphhopper
>>
>>
>> _______________________________________________
>> GraphHopper mailing list
>> GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>> http://lists.openstreetmap.org/listinfo/graphhopper
>>
>>
>>
>>
>> _______________________________________________
>> GraphHopper mailing list
>> GraphHopper at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/graphhopper
>
>
> --
> GraphHopper.com Your way is our destination!
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
--
GraphHopper.com Your way is our destination!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130422/044e0117/attachment-0001.html>
More information about the GraphHopper
mailing list