[GraphHopper] GraphHopper Digest, Vol 34, Issue 2

Андрей Иванов dron0013 at mail.ru
Sat Jun 15 14:24:51 UTC 2013


 Thank you for advice about maven -o mode. Problem is that when I run graphhopper first time, it download files from repository and when I start graphhopper offline on other machine, it trys to download them. So I need the way when I copy project on other machine and it will works without internet.  


Пятница, 31 мая 2013, 13:40 UTC от graphhopper-request at openstreetmap.org:
>Send GraphHopper mailing list submissions to
>graphhopper at openstreetmap.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.openstreetmap.org/listinfo/graphhopper
>or, via email, send a message with subject or body 'help' to
>graphhopper-request at openstreetmap.org
>
>You can reach the person managing the list at
>graphhopper-owner at openstreetmap.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of GraphHopper digest..."
>
>
>Today's Topics:
>
>   1. Re: Offline model of Graphhopper (Peter K)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 31 May 2013 15:40:01 +0200
>From: Peter K < peathal at yahoo.de >
>To: GraphHopper Java routing engine < graphhopper at openstreetmap.org >
>Subject: Re: [GraphHopper] Offline model of Graphhopper
>Message-ID: < 51A8A831.4090105 at yahoo.de >
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi Andrey,
>
>the routing service is available offline but you still need the online
>map! For Android we've mapsforge which produces offline maps. And for
>the desktop we could use an old version of mapsforge (or in some months
>0.4 of it) but I cannot do this due to lack of time at the moment (your
>contributions is welcome via pull request though :)) !
>
>Regarding your issue: after one successful build with maven (with
>internet) you can try to put "-o" on the command line (offline mode) and
>the disconnect the internet + restart.
>See  http://stackoverflow.com/q/7233328/194609
>
>Regards,
>Peter.
>
>> In my project I want to use web server without internet. So I've got :
>> 1 Virtual machine with internet and one without internet.  On first VM
>> I run GH-web server one time with internet and after that it starts
>> without net. I copy GH-web server project from first machine(it works
>> in offline) and starting in offline on second machine. And it try's to
>> download files. What files should I download from first machine or
>> previously download from internet to start web server without internet
>> at all. 
>>
>>
>>
>> andrey at ubuntu:~/graphhopper-master$ ./graphhopper.sh web pskov.osm
>> ## using java 1.7.0_21 (64bit) from /usr/lib/jvm/jdk1.7.0_21
>> ## using existing osm file pskov.osm
>> ## existing jar found
>> core/target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar
>> ## now web. JAVA_OPTS=-XX:PermSize=300m -XX:MaxPermSize=300m
>> -XX:-UseGCOverheadLimit -Xmx1500m -Xms1500m
>> *********************ALL MUST WORK*******************
>> [INFO] Scanning for projects...
>> Downloading:
>>  http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR] The project com.graphhopper:graphhopper-web:0.1-SNAPSHOT
>> (/home/andrey/graphhopper-master/./web/pom.xml) has 1 error
>> [ERROR] Non-resolvable parent POM for
>> com.graphhopper:graphhopper-parent:0.1-SNAPSHOT: Could not transfer
>> artifact org.sonatype.oss:oss-parent:pom:7 from/to central
>> ( http://repo.maven.apache.org/maven2 ): repo.maven.apache.org: Name or
>> service not known and 'parent.relativePath' points at wrong local POM
>> @ com.graphhopper:graphhopper-parent:0.1-SNAPSHOT,
>> /home/andrey/graphhopper-master/pom.xml, line 16, column 13: Unknown
>> host repo.maven.apache.org: Name or service not known -> [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>>  http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>>  http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>
>> 
>>
>>
>> _______________________________________________
>> 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/20130531/4aa80814/attachment.html >
>
>------------------------------
>
>_______________________________________________
>GraphHopper mailing list
>GraphHopper at openstreetmap.org
>http://lists.openstreetmap.org/listinfo/graphhopper
>
>
>End of GraphHopper Digest, Vol 34, Issue 2
>******************************************


-- 
Андрей Иванов
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130615/33558650/attachment.html>


More information about the GraphHopper mailing list