Hello Nic. I try to install with the commands

sudo apt-get install libxml2-dev libgtk2.0-dev g + + make
libcurl4-subversion-dev gnutls-dev libgps
svn co http://svn.openstreetmap.org/applications/rendering/gosmore/
cd gosmore
. / Configure
make

# The result is
After this operation, 20.7MB of Additional disk space will be used.
Do you want to continue [Y / n]? and
Abort.
# Seems to install it, then trying to open in usr / bin / I get this message
gosmore

Can not read gosmore.pak
You can (re) build it from
e.g. the planet file bzip2-d planet-... osm.bz2 | / usr / bin / rebuild
gosmore

# I download a pak.file of http://dev.openstreetmap.de/gosmore/ and then
place it in / usr / share / gosmore and rename to NNNNNNNNNNNNNNNN.pak

which could be the error? or What can i do to run gosmore from usr / bin /
gosmore
If this form is used?
Thanks.

2010/8/19 Nic Roets <nro...@gmail.com>

> It is called from javascripts/yours.js The gosmore.php URL is currently
> hardcoded. Make sure you get all the references to
> nroets.dev.openstreetmap.org
>
>
> On Thu, Aug 19, 2010 at 10:37 PM, Leonardo Gaona <leoga...@gmail.com>wrote:
>
>> OK!!! just download and unzip the file 20100724.tgz demo. Thanks. Just
>> another question where gosmore.php used? the index does not call the
>> file, or only used to communicate with gosmore??
>>
>>
>> 2010/8/19 Nic Roets <nro...@gmail.com>
>>
>>> On Thu, Aug 19, 2010 at 9:19 PM, Leonardo Gaona <leoga...@gmail.com>wrote:
>>>
>>>>
>>>> # Gosmore.php believe is no longer in that direction. gosmore.php think
>>>> you mean this:
>>>>
>>>> http://trac.openstreetmap.org/browser/applications/routing/yours/trunk/www/api/1.0/gosmore.php
>>>>
>>>>
>>> That one is quite old. For example, it's JSON output is not IE
>>> compatible.
>>>
>>> The newer one is in demo20100724.tgz, but you will have to replace the
>>> references to /home/nroets with the paths on your system.
>>>
>>> # And how I use gosmore.php. would have to put in my index of my
>>>> application? or how it works. forgive the question I'm new at this.
>>>>
>>>> 2010/8/19 Nic Roets <nro...@gmail.com>
>>>>
>>>> Hello Leonardo,
>>>>>
>>>>> It would really help if you can copy & paste all the commands and
>>>>> output. I just successfully tested most of it with these commands:
>>>>>
>>>>> svn co http://svn.openstreetmap.org/applications/rendering/gosmore/
>>>>> cd gosmore
>>>>> ./configure
>>>>> make
>>>>> # It is better to run make CFLAGS='-O2
>>>>> -DRES_DIR=\"/usr/share/gosmore/\" -DHEADLESS -DONLY_ROUTING -DLD_CTRL'
>>>>> # make install is not necessary for a routing server
>>>>>
>>>>> mkdir -p america europe e relations
>>>>> # I already have a set of pak files, but you can build them after
>>>>> adapting dailyUpdate.sh
>>>>>
>>>>> # Test it:
>>>>> QUERY_STRING='flat=52.215676&flon=5.963946&tlat=52.2573&tlon=6.1799&fast=1'
>>>>> ./gosmore ~/gosmore/europe/gosmore.pak
>>>>>
>>>>> # Then get routing-instruction from svn.kde.org. I'm not sure how it
>>>>> works currently
>>>>> # because when I installed it when it was still called
>>>>> gosmore-instructions. Test it :
>>>>> QUERY_STRING='flat=52.215676&flon=5.963946&tlat=52.2573&tlon=6.1799&fast=1'
>>>>> ./gosmore ~/gosmore/europe/gosmore.pak |
>>>>> ~/gosmore-instructions/gosmore-instructions --dense
>>>>>
>>>>> # Alternatively you can remove gosmore-instructions from the server
>>>>> side glue. The server side glue is called gosmore.php
>>>>> # and is in the tgz files at nroets.dev.openstreetmap.org
>>>>>
>>>>> On Thu, Aug 19, 2010 at 7:26 PM, Leonardo Gaona <leoga...@gmail.com>wrote:
>>>>>
>>>>>> I am developing an application that requires routing and tried to
>>>>>> install Ubuntu and it gave me installation errors at the end and I can 
>>>>>> not
>>>>>> work.
>>>>>> He had tested with the method of installation of the probe
>>>>>> http://wiki.openstreetmap.org/wiki/Gosmore and also with synaptic.
>>>>>>
>>>>>> If someone could help me who had the same problem in the installation
>>>>>> of Gosmore, giving the installation steps and need to make it work I had
>>>>>> been told I need also 'server side glue code' in order to run Gosmore.
>>>>>>
>>>>>> I would appreciate your help ..
>>>>>> Leonardo
>>>>>>
>>>>>> _______________________________________________
>>>>>> Routing mailing list
>>>>>> Routing@openstreetmap.org
>>>>>> http://lists.openstreetmap.org/listinfo/routing
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Routing mailing list
>>>>> Routing@openstreetmap.org
>>>>> http://lists.openstreetmap.org/listinfo/routing
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Routing mailing list
>>>> Routing@openstreetmap.org
>>>> http://lists.openstreetmap.org/listinfo/routing
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Routing mailing list
>>> Routing@openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/routing
>>>
>>>
>>
>> _______________________________________________
>> Routing mailing list
>> Routing@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/routing
>>
>>
>
> _______________________________________________
> Routing mailing list
> Routing@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/routing
>
>
_______________________________________________
Routing mailing list
Routing@openstreetmap.org
http://lists.openstreetmap.org/listinfo/routing

Reply via email to