SELECT 	lignes_electriques_merged.id ,
	libelle,
	(round((ST_distance(lignes_electriques_merged.geom, sites_emprise.geom))::numeric,0 ) || ', ' || libelle) AS torange,
	round((ST_distance(lignes_electriques_merged.geom, sites_emprise.geom))::numeric,0 ) AS distance_m
FROM spatial.lignes_electriques_merged, spatial.sites_emprise
WHERE sites_emprise.codsit='18014A'
AND st_DWithin(lignes_electriques_merged.geom, sites_emprise.geom, 1000)
ORDER BY distance_m
LIMIT 5;