function node_function(node)
	-- Test both variants of the OsmType function
	local osm_type_method = node:osm_type()
	local osm_type_global = OsmType()
	
	-- Both should return the same value
	if osm_type_method == osm_type_global and osm_type_method == "node" then
		-- Add to layer if both methods work
		Layer("test_osm_type")
		Attribute("osm_type", osm_type_method)
	end
end
