 
 /* Find nodes that are part of 2 roads, first and/or last items of both roads, and mode related deadends.
 */
+
+/* RKM: What does this add on top of the previous query?? */
 
 /* Joonas: This query is faulty, because the last WHERE expression is never true, because nofroads=nofmotorcar=nofbicycle=noffoot=nofrail (see subquery for the reason) */
 INSERT INTO poimplist

	The geometrical information is included in other tables too, even if there might be joins to the current table. The reason is that the visualization of a table requires the geometrical information being existed in one of its fields and not in a joined field of another table. This means that a query cannot be visualized directly.
*/
	



DROP TABLE IF EXISTS roadsnodesdata;


CREATE TABLE roadslist AS

/* RKM: How about selecting the ones, which have a name? Appears not to be present.
   	Trunk roads already added by Joonas elsewhere. */


	SELECT DISTINCT ON (osm_id)
