[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Newbie - Help with PGRouting
From:       Joshua Chamberlain <josh () zephyri ! co>
Date:       2017-05-21 23:53:23
Message-ID: CAFBoRzchHOB7q-5i4pEwi=KqkKnrMa=DuayA99=yaaqAdjz92g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sun, May 21, 2017 at 1:30 PM, Benjamin Orpilla <
Benjamin.Orpilla@downer.co.nz> wrote:

> Hi all,
>
>
>
> I am new at using PostGreSQL/PostGIS. I am wanting to run a routing
> analysis and found the documentation at the PGRouting site with links to
> downloads here. However, I am overwhelmed by the number of build and what
> to actually download and install on my machine. Any guidance would be much
> appreciated.
>
>
>
> Cheers,
>
>
>
> Benjie
>

Are you familiar with Docker? In my opinion, that's the easiest way to get
started with PostGIS and pgRouting. Using the starefossen/pgrouting image,
start Postgres like so:

$ docker run --name pg -e POSTGRES_PASSWORD=mysecretpassword -d
starefossen/pgrouting

That will run in the background, at which point you can connect using psql
like this:

$ docker exec -it pg psql -U postgres

You won't have any data in your database, but PostGIS+pgRouting are
otherwise ready to go. Do you have a dataset you want to use?

(Of course if you don't already know Docker, this might just make the
rabbit hole deeper.)


Regards,
Joshua Chamberlain

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, May 21, 2017 \
at 1:30 PM, Benjamin Orpilla <span dir="ltr">&lt;<a \
href="mailto:Benjamin.Orpilla@downer.co.nz" \
target="_blank">Benjamin.Orpilla@downer.co.nz</a><wbr>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-NZ">
<div class="gmail-m_3275349430567889264m_4460947166690268208WordSection1">
<p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black">Hi \
all,<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u>  \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black">I am new at using \
PostGreSQL/PostGIS. I am wanting to run a routing analysis and found the \
documentation at the PGRouting site with links to downloads here. However,  I am \
overwhelmed by the number of build and what to actually download and install on my \
machine. Any guidance would be much appreciated.<u></u><u></u></span></p> <p \
class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u>  \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black">Cheers,<u></u><u></u></span></p>
 <p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black"><u></u>  \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:10pt;font-family:Arial,sans-serif;color:black">Benjie</span></p></div></div></blockquote><div><br></div><div>Are \
you familiar with Docker? In my opinion, that&#39;s the easiest way to get started \
with PostGIS and pgRouting. Using the starefossen/pgrouting image, start Postgres \
like so:</div><div><br></div><div>$ docker run --name pg  -e \
POSTGRES_PASSWORD=mysecretpassword  -d \
starefossen/pgrouting</div><div><br></div><div>That will run in the background, at \
which point you can connect using psql like this:</div><div><br></div><div>$ docker \
exec -it pg psql -U postgres</div><div><br></div><div>You won&#39;t have any data in \
your database, but PostGIS+pgRouting are otherwise ready to go. Do you have a dataset \
you want to use?</div><div><br></div><div>(Of course if you don&#39;t already know \
Docker, this might just make the rabbit hole \
deeper.)</div><div><br></div><div><br></div><div>Regards,</div><div>Joshua \
Chamberlain</div></div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic