pour le nord pas de calais,
voila le detail des intersections
51 GEOMETRYCOLLECTION 
14 LINESTRING 
63 MULTILINESTRING
410 MULTIPOINT  
868 POINT 

donc pour la représentation la condition serait plutot
typeintersection<>'POINT' pour indiquer qu'il a d'autres endroit avec
une intersection

et du coup

la requete :

SELECT
   id,
   st_astext(intersection) as locosmose,
   typeinter,
   count(*) as nbintersection
FROM
(
SELECT
   highway.id,
   highway.linestring,

ST_ClosestPoint(highway.linestring,ST_Intersection(admin.linestring,highway.linestring))
 AS intersection,
   GeometryType(ST_Intersection(admin.linestring,highway.linestring)) as
typeinter
....
group by 1,2,3
;





_______________________________________________
dev-fr mailing list
dev-fr@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev-fr

Répondre à