PANDORE Version 6 | GREYC-IMAGE |
prg2gr builds a graph from a region map, where two neighbour regions in the region map reg_in leads to two linked nodes in the output graph gr_out. The node is located at centre of mass of the related region. Therefore, the node is not necessarily located into the region.
Each links is built with the default weight 1.0.
Returns SUCCESSS or FAILURE.
Builds the graph g.pan with the region map r.pan
prg2gr r.pan g.pan
Création d'un graphe d'un voisinage à partir d'une carte de régions.
Author: François Angot