MapFish Sample Help Request

View: New views
3 Messages — Rating Filter:   Alert me  

MapFish Sample Help Request

by D Sledge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OS: Ubuntu 8.04.1
PostgreSQL: 8.3
PostGIS: 1.3.3-1

I followed the instructions for installing the MapFish sample (http://trac.mapfish.org/trac/mapfish/wiki/HowToInstallMapFishSample), but when I run

    $ ./create_database.bash -p

part way through the execution, I get the following error:

    ./import_epfl.bash: line 41: /usr/share/postgresql/8.3/contrib/dijkstra.sql: No such file or directory

So I installed the package "postgresql-contrib-8.3" thinking it might be there, but it doesn't contain the file in question.  I ran "find" to see if the file was in a different directory, but it's nowhere to be found.  Where can I get this file?

Thanks,

D



     
_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Parent Message unknown Re: MapFish Sample Help Request

by D Sledge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks for pointing out pgRouting (http://pgrouting.postlbs.org/).  I installed it, in the file import_epfl.bash, I commented out the lines

    psql -d ${dbname} < "/usr/share/postgresql/${pg_version}/contrib/dijkstra.sql"
    psql -d ${dbname} < "/usr/share/postgresql/${pg_version}/contrib/dijkstra_postgis.sql"

in their place I added the lines

    psql -d ${dbname} < "/usr/share/postlbs/routing_core.sql"
    psql -d ${dbname} < "/usr/share/postlbs/routing_core_wrappers.sql"
    psql -d ${dbname} < "/usr/share/postlbs/routing_topology.sql"

and that seemed to do the trick.

However, in the samples, none of the demos worked, both of the MapFish tests failed (but the MapFishSample tests all passed), and the print example doesn't work even though it worked (still works) when I simply copied the files over to Apache's web directory.

All in all, though, I'm making progress.

Thanks,

D

----- Original Message ----
From: Tim Welch <tim.j.welch@...>
To: D Sledge <david.sledge@...>
Sent: Tuesday, October 7, 2008 9:20:01 AM
Subject: Re: [MapFish-Users] MapFish Sample Help Request

the pgrouting extension uses the dijkstra shortest-path algorithm and afaik there's a mapfish sample that uses pgrouting.  Might be worth looking in that direction.

Tim

On Mon, Oct 6, 2008 at 2:48 PM, D Sledge <david.sledge@...> wrote:
OS: Ubuntu 8.04.1
PostgreSQL: 8.3
PostGIS: 1.3.3-1

I followed the instructions for installing the MapFish sample (http://trac.mapfish.org/trac/mapfish/wiki/HowToInstallMapFishSample), but when I run

   $ ./create_database.bash -p

part way through the execution, I get the following error:

   ./import_epfl.bash: line 41: /usr/share/postgresql/8.3/contrib/dijkstra.sql: No such file or directory

So I installed the package "postgresql-contrib-8.3" thinking it might be there, but it doesn't contain the file in question.  I ran "find" to see if the file was in a different directory, but it's nowhere to be found.  Where can I get this file?

Thanks,

D




_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Re: MapFish Sample Help Request

by Eric Lemoine-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 7, 2008 at 10:12 PM, D Sledge <david.sledge@...> wrote:

> Thanks for pointing out pgRouting (http://pgrouting.postlbs.org/).  I
> installed it, in the file import_epfl.bash, I commented out the lines
>
>     psql -d ${dbname} <
> "/usr/share/postgresql/${pg_version}/contrib/dijkstra.sql"
>     psql -d ${dbname} <
> "/usr/share/postgresql/${pg_version}/contrib/dijkstra_postgis.sql"
>
> in their place I added the lines
>
>     psql -d ${dbname} < "/usr/share/postlbs/routing_core.sql"
>     psql -d ${dbname} < "/usr/share/postlbs/routing_core_wrappers.sql"
>     psql -d ${dbname} < "/usr/share/postlbs/routing_topology.sql"
>
> and that seemed to do the trick.
>
> However, in the samples, none of the demos worked, both of the MapFish tests
> failed (but the MapFishSample tests all passed), and the print example
> doesn't work even though it worked (still works) when I simply copied the
> files over to Apache's web directory.
>
> All in all, though, I'm making progress.

Tell us if the errors you get if you want to get support from us.

Thanks,

--
Eric
_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users
LightInTheBox - Buy quality products at wholesale price!