| 1 | [[PageOutline]] |
| 2 | |
| 3 | This page is one of the !MapGuide Community CodeSamples. Visit the CodeSamples page to view more! |
| 4 | |
| 5 | == pgRouting example == |
| 6 | |
| 7 | This code sample demonstrates how to integrate pgRouting with MapGuide using a simple shortest path calculation on a road network. |
| 8 | |
| 9 | The code uses the [http://geobase.ca/geobase/en/data/nrn/index.html GeoBase "National Road Network" dataset for British Columbia] |
| 10 | |
| 11 | Unzip the code into <your mapguide install directory>\<web extensions dir>\www (eg. C:\Program Files\OSGeo\MapGuide\Web\www) |
| 12 | |
| 13 | Follow the setup instructions in the attached readme.txt file |