Version 3 (modified by 12 years ago) ( diff ) | ,
---|
This page is one of the MapGuide Community CodeSamples. Visit the CodeSamples page to view more!
pgRouting example
This code sample demonstrates how to integrate pgRouting with MapGuide using a simple shortest path calculation on a road network.
The code uses the GeoBase "National Road Network" dataset for British Columbia
Unzip the code into <your mapguide install directory>\<web extensions dir>\www (eg. C:\Program Files\OSGeo\MapGuide\Web\www)
Follow the setup instructions in the attached readme.txt file
More information about this code sample can be found here
NOTE: You will most likely need to edit the PostgreSQL credentials in Library://pg_routing/Data/postgis.FeatureSource before you can run the sample
Attachments (3)
-
pgrouting_example.mgp
(15.3 KB
) - added by 12 years ago.
Sample MapGuide package
-
pgrouting_sample.zip
(6.6 KB
) - added by 12 years ago.
pgRouting sample application
-
pgrouting_mapguide_example.txt
(1.8 KB
) - added by 12 years ago.
instructions
Download all attachments as: .zip