If you have data as SHP files you can import the data with shp2psql or so.
I’m not sure if your TeleAtlas data already contains “source” and “target” attribute. If not, then take a look at the workshop how to create a routing topology: http://workshop.pgrouting.org/chapters/topology.html
In the end you should at least have the following attributes
gid
source
target
cost
the_geom
Depending on the shortest path algorithm you need more or less attributes. But this is also explained in the workshop.
You can rename columns if they have another name, or you can create a “VIEW” or use “ALIAS” to get the column names right.
I'm using a Geoserver + OpenLayers solution with own TeleAtlas shape-files.
I have license for using the NW layer in routing mode, and I'm trying to
find tutorial to know how to build a network in PGRouting.
Can someone help-me finding information on that.
I'm now using RWNet and I have all the "recipe" to create the network
information based on a Multinet shapefile, but I want to try the PGRouting.
The recipe for any data set is roughly the same as the tutorial[1][2]:
1. load you road network into postGIS as a table
2. create a network topology using assign_vertex_id() or if you have zlevels then you might need to find a copy or modify assign_vertex_id() to handle zlevels.
3. update your cost and reverse cost columns based on one-way streets
4. you should be good to go to test the basic system
5. if you want to use turn restrictions read the docs and ask on the list. This is a lot harder at the moment to use.