Message posté par : Theos2000
----------------------------------------
Bonjour je me permet de relancer le sujet si par hasard quelqu'un avait un élément de
réponse suite au passage de la version 2.6 de pG routing à la version 3.0. la requete
initiale était
-----------------
Code :
with e1 as
(
SELECT et.edge_id ,
st_buffer(et. geom,10, 'endcap=square join=round') as geom
, 1 as factor
FROM
(SELECT id1,cost from pgr_drivingdistance(
'SELECT edge_id as id,start_node as source , end_node as target, tps_voiture as cost
FROM routing.edge_data',
159082,0.20,false,false)
) firstPath
CROSS JOIN
(SELECT id1,cost from pgr_drivingDistance(
'SELECT edge_id as id,start_node as source , end_node as target,tps_voiture as cost
FROM routing.edge_data',
159082,0.20,false,false)
) secondPath
INNER JOIN routing.edge_data et
ON firstPath.id1 = et.start_node
AND secondPath.id1 = et.end_node
)
SELECT
serial::integer ,a.geom
FROM
(select ST_MakePolygon(ST_ExteriorRing(ST_GeometryN(st_union(geom),1))) as geom from e1)
as a
left join (select * from donnee_initiale.gare_routing_2154 where serial = 159082) as b on
st_intersects (a.geom,b.geom)
group by serial,a.geom
-----------------
Mais cela renvoit
-----------------
Code :
ERROR: ERREUR: la fonction pgr_drivingdistance(unknown, integer, numeric, boolean,
boolean) n'existe pas
LINE 7: (SELECT id1,cost from pgr_drivingdistance(
-----------------
Alors que cela fonctionne avec la version de PG routing installé sur la 11
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=346855#p346855
Pour y répondre : geobd(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net