> De : "Art Penteur"
>> Le 11 déc. 2013 17:07, "Christian Quest"  a écrit :
>>> Le 11 décembre 2013 17:04, Art Penteur  a écrit :
>>>>Le 11 déc. 2013 16:59, "Christian Quest"  a écrit :

>>>> Ca semble ok sauf que j'ai des manques.

>>>> voici la tête de la requête si quelqu'un a une idée:

>>>> SELECT ST_Simplify(ST_LineMerge (st_intersection(p.way,p2.way)),10) as 
>>>> limite, 
concat(p.name ,' - ', p2.name) as nom from planet_osm_polygon p join 
planet_osm_polygon 
p2 on (st_touches(p.way,p2.way) and p2."ref:INSEE" is not null and 
p2.admin_level='8' and 
p2.boundary='administrative' and p2.osm_id>p.osm_id) where p.way && !bbox! and 
p."ref:INSEE" is not null and p.admin_level='8' and p.boundary='administrative';

Je n'arrive pas à voir quelle est l'unité du 2e paramètre de ST_Simplify(), la
"tolérance". Rien vu dans la doc PostGIS. As-tu les mêmes manques quand tu la 
passes à
0.0001 (soyons fous) ?
Sinon une question : ça marche comment, cette syntaxe !bbox! ? (jamais utilisé).

vincent

_______________________________________________
dev-fr mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev-fr

Répondre à