Update phase_2_routing_prepare.sh
correction patch des tronçons routables concernés par un secteur de patch
This commit is contained in:
parent
6b6f1579fc
commit
8c1d0b3025
|
@ -66,7 +66,9 @@ PGPASSWORD=$DB_PASSWD $PSQL -h $DB_HOST -p $DB_PORT -U $DB_USER -d $DB_NAME -c \
|
||||||
NULL, NULL, NULL, NULL,
|
NULL, NULL, NULL, NULL,
|
||||||
a.the_geom
|
a.the_geom
|
||||||
FROM osm_roads_pgr_patch a, osm_roads_pgr_patch_mask m
|
FROM osm_roads_pgr_patch a, osm_roads_pgr_patch_mask m
|
||||||
WHERE ST_INTERSECTS(a.the_geom, m.the_geom);"
|
WHERE
|
||||||
|
m.secteur_id = $secteur_id
|
||||||
|
AND ST_INTERSECTS(a.the_geom, m.the_geom);"
|
||||||
echo " fait"
|
echo " fait"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue