Hello,

It doesn't find a route because the start point and the end point of your query are somewhere in Europe.

flat and flon are the latitude and longitude of the start point.
tlat and tlon are the latitude and longitude of the end point.

Try these values. They should be somewhere in Bandung
flat=-6.91469526290894&flon=107.634368896484&tlat=-6.91350746154785tlon=107.643768310547&

---
m.v.g.,
Cartinus

On 12/26/2011 03:25 AM, Anwar Azulfa wrote:
I have configure and make this source, but when i try to execute :

*QUERY_STRING="flat=52.396545&flon=4.915714&tlat=52.373075&tlon=4.901638&fast=0&v=motorcar"
./gosmore*
*
*
[this is output]
maple@maple:~/src/gosmore$
QUERY_STRING="flat=52.396545&flon=4.915714&tlat=52.373075&tlon=4.901638&fast=0&v=motorcar"
./gosmore
Content-Type: text/plain

*No route found*


this is log when i configure, make and make install :
http://pastebin.com/qQPj1C0f

note:
I only rebuild Indonesia.osm.bz2 use gosmore,


Help me,please


2011/12/24 Nic Roets <[email protected] <mailto:[email protected]>>



    On Thu, Dec 22, 2011 at 5:36 PM, Anwar Azulfa <[email protected]
    <mailto:[email protected]>> wrote:

        i have checkout from
        
http://svn.openstreetmap.org/applications/routing/yours/branches/version-1.0-via

        now, map is appear. but when i try to make routing, i get error
        again


        this is step which i did :

        1. i following reference from
        http://wiki.openstreetmap.org/wiki/YOURS and checkout from
        http://svn.openstreetmap.org/applicatio … on-1.0-via
        
<http://svn.openstreetmap.org/applications/routing/yours/branches/version-1.0-via>

        2. i checkout gosmore source from
        http://svn.openstreetmap.org/applicatio … ng/gosmore
        <http://svn.openstreetmap.org/applications/rendering/gosmore>

        3.download file .pak and rename to gosmore.pak.i put this file
        inside gosmore folder

        4. i put YOURS/* to /var/www so i can acces it via browser with
        http://localhost
        now i can access map, but when i make a route from one location
        to another location and click find route, error message :Status:
        An unexpected error occured in Gosmore: appear

        i check on /var/log/apache2/error.log and i get this error message :

        *[Thu Dec 22 22:29:48 2011] [error] [client 127.0.0.1] PHP
        Notice:  Undefined index: format in
        /home/maple/yours/api/1.0/gosmore.php on line 105, referer:
        http://localhost/*

        *nice: ./gosmore: No such file or directory*

        *
        *

        What should i do to solve this ?


    Inside the gosmore folder, you should run

      ./configure
      make

    Currently, gosmore will not compile with HEADLESS. I suggest you
    compile with gtk+2 includes and libraries installed. Or you can
    check out a version what is more than 3 months old.

    It is also a good idea to test routing from the command line before
    you test YOURS e.g.
    
QUERY_STRING="flat=52.396545&flon=4.915714&tlat=52.373075&tlon=4.901638&fast=0&v=motorcar"
    ./gosmore

    Regards,
    Nic

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to