Dear Maria,<br><br>Thank you for your reply. I already have  PostgreSQL + PostGIS database running which contains all of my information. The data is not a live system, it is data from March 2010. I am doing some research on the data. I have discovere that as I am using PostgreSQL 9.0 I cannot use pgRouting unfortunately. So I now have two questions please?<br>

<br>1) If I uninstall PostgreSQL 9.0, and then install PostgreSQL 8.3 (so I can use pgRouting), will my databases still be intact? Or will I lose all of my tables and data?<br><br>2) Maybe an easier solution would be for me to create an OS GEO bootable USB drive, and then do the work in Ubuntu? If I did this, will my existing PostgreSQL databases be accesible through the Ubuntu version of PostgreSQL? <a href="http://live.osgeo.org/en/quickstart/usb_quickstart.html">http://live.osgeo.org/en/quickstart/usb_quickstart.html</a><br>

<br>Thank you for your help<br><br>James<br><br><br><br><div class="gmail_quote">On 4 July 2011 07:49, Maria Arias de Reyna <span dir="ltr"><<a href="mailto:marias@emergya.es">marias@emergya.es</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">El Domingo 03 Julio 2011, James David Smith escribió:<br>
<div class="im">> Dear all,<br>
><br>
> I have a table of GPS points which are the locations of vehicles every<br>
> 15 seconds. Each journey that a car makes has an ID. For example a<br>
> taxi is on 'job 1' and has 50 points while it does this job, and then<br>
> another 50 or 60 when it is on 'job 2' etc. What I would like to do<br>
> however is investigate whether the car took the most effecient route<br>
> between the two points. To this end I think that I can use the<br>
> PGROUTING extension of PostGIS...?  Does this sound possible?<br>
<br>
</div>You can calculate the shortest path with pgRouting and then compare it with<br>
the length of the linestring formed with this GPS points. Probably you will<br>
have a longer path with the GPS points (because the GPS is never exact) but if<br>
you add a percent of error to the shortest path calculated by pgRouting you<br>
will know if the vehicle did a good or a bad path.<br>
<div class="im"><br>
> I have<br>
> found the PGROUTING website, and download the ZIP file for Windows<br>
> installation, however I am not sure how to install it. Could somebody<br>
> please tell me how or provide a link to a good place to read about how<br>
> to install and use PGROUTING?<br>
<br>
</div>Why are you using Windows (for any serious work)? There is a PPA for Ubuntu[1]<br>
which has a direct install while pgRouting binaries for Windows are old and<br>
strongly dependent of a postgresql version. And remember that you must install<br>
postgis first.<br>
<br>
Anyway, if you are thinking of having a real-time server with several vehicles<br>
sending positions every 15 seconds, forget Windows. It will be insane. If it<br>
is insane if you do it on a non-strongly-optimized database on Linux I don't<br>
want to know how hard it will be on Windows. Believe me, I have made a few of<br>
this real-time systems.<br>
<br>
<br>
[1]<a href="https://launchpad.net/%7Egeorepublic/+archive/pgrouting" target="_blank">https://launchpad.net/~georepublic/+archive/pgrouting</a><br>
--<br>
María Arias de Reyna Domínguez<br>
Área de Operaciones<br>
<br>
Emergya Consultoría<br>
Tfno: +34 954 51 75 77 / +34 607 43 74 27<br>
Fax: +34 954 51 64 73<br>
<a href="http://www.emergya.es" target="_blank">www.emergya.es</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>